Home
last modified time | relevance | path

Searched refs:ov2640_supported_win_sizes (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/media/video/
Dov2640.c569 static const struct ov2640_win_size ov2640_supported_win_sizes[] = { variable
829 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 …]