Lines Matching refs:fmt
29 struct video_format fmt; member
61 struct video_format *fmt) in video_sw_generator_set_fmt() argument
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()
83 data->fmt = *fmt; in video_sw_generator_set_fmt()
89 struct video_format *fmt) in video_sw_generator_get_fmt() argument
97 *fmt = data->fmt; in video_sw_generator_get_fmt()
128 int bw = data->fmt.width / 8; in __fill_buffer_colorbar()
131 for (h = 0; h < data->fmt.height; h++) { in __fill_buffer_colorbar()
132 for (w = 0; w < data->fmt.width; w++) { in __fill_buffer_colorbar()
134 if (data->fmt.pixelformat == VIDEO_PIX_FMT_RGB565) { in __fill_buffer_colorbar()
138 } else if (data->fmt.pixelformat == VIDEO_PIX_FMT_XRGB32) { in __fill_buffer_colorbar()
359 .fmt.width = 320,
360 .fmt.height = 160,
361 .fmt.pitch = 320 * 2,
362 .fmt.pixelformat = VIDEO_PIX_FMT_RGB565,