Searched refs:ov2640_supported_win_sizes (Results 1 – 1 of 1) sorted by relevance
569 static const struct ov2640_win_size ov2640_supported_win_sizes[] = { variable829 int i, default_size = ARRAY_SIZE(ov2640_supported_win_sizes) - 1; in ov2640_select_win()831 for (i = 0; i < ARRAY_SIZE(ov2640_supported_win_sizes); i++) { in ov2640_select_win()832 if (ov2640_supported_win_sizes[i].width >= *width && in ov2640_select_win()833 ov2640_supported_win_sizes[i].height >= *height) { in ov2640_select_win()834 *width = ov2640_supported_win_sizes[i].width; in ov2640_select_win()835 *height = ov2640_supported_win_sizes[i].height; in ov2640_select_win()836 return &ov2640_supported_win_sizes[i]; in ov2640_select_win()840 *width = ov2640_supported_win_sizes[default_size].width; in ov2640_select_win()841 *height = ov2640_supported_win_sizes[default_size].height; in ov2640_select_win()[all …]