Lines Matching refs:mt9v111_frame_sizes
193 static struct v4l2_rect mt9v111_frame_sizes[] = { variable
843 for (i = 0; i < ARRAY_SIZE(mt9v111_frame_sizes); i++) in mt9v111_enum_frame_interval()
844 if (fie->width == mt9v111_frame_sizes[i].width && in mt9v111_enum_frame_interval()
845 fie->height == mt9v111_frame_sizes[i].height) in mt9v111_enum_frame_interval()
848 if (i == ARRAY_SIZE(mt9v111_frame_sizes)) in mt9v111_enum_frame_interval()
861 if (fse->pad || fse->index >= ARRAY_SIZE(mt9v111_frame_sizes)) in mt9v111_enum_frame_size()
864 fse->min_width = mt9v111_frame_sizes[fse->index].width; in mt9v111_enum_frame_size()
865 fse->max_width = mt9v111_frame_sizes[fse->index].width; in mt9v111_enum_frame_size()
866 fse->min_height = mt9v111_frame_sizes[fse->index].height; in mt9v111_enum_frame_size()
867 fse->max_height = mt9v111_frame_sizes[fse->index].height; in mt9v111_enum_frame_size()
922 for (i = 0; i < ARRAY_SIZE(mt9v111_frame_sizes); i++) { in mt9v111_set_format()
923 unsigned int fit = abs(mt9v111_frame_sizes[i].width - in mt9v111_set_format()
925 abs(mt9v111_frame_sizes[i].height - in mt9v111_set_format()
935 new_fmt.width = mt9v111_frame_sizes[idx].width; in mt9v111_set_format()
936 new_fmt.height = mt9v111_frame_sizes[idx].height; in mt9v111_set_format()