Lines Matching refs:fmts
41 static const struct video_format_cap fmts[] = {{ variable
70 for (i = 0; i < ARRAY_SIZE(fmts); ++i) { in video_sw_generator_set_fmt()
71 if (fmt->pixelformat == fmts[i].pixelformat && fmt->width >= fmts[i].width_min && in video_sw_generator_set_fmt()
72 fmt->width <= fmts[i].width_max && fmt->height >= fmts[i].height_min && in video_sw_generator_set_fmt()
73 fmt->height <= fmts[i].height_max) { in video_sw_generator_set_fmt()
78 if (i == ARRAY_SIZE(fmts)) { in video_sw_generator_set_fmt()
233 caps->format_caps = fmts; in video_sw_generator_get_caps()
312 while (fmts[i].pixelformat && (fmts[i].pixelformat != fie->format->pixelformat)) { in video_sw_generator_enum_frmival()
316 if ((i == ARRAY_SIZE(fmts)) || (fie->format->width > fmts[i].width_max) || in video_sw_generator_enum_frmival()
317 (fie->format->width < fmts[i].width_min) || in video_sw_generator_enum_frmival()
318 (fie->format->height > fmts[i].height_max) || in video_sw_generator_enum_frmival()
319 (fie->format->height < fmts[i].height_min)) { in video_sw_generator_enum_frmival()