Lines Matching refs:fmt
26 struct video_format fmt; member
85 struct video_format *fmt) in emul_rx_set_fmt() argument
97 ret = video_set_format(cfg->source_dev, VIDEO_EP_OUT, fmt); in emul_rx_set_fmt()
100 fmt->pixelformat, fmt->width, fmt->height); in emul_rx_set_fmt()
105 data->fmt = *fmt; in emul_rx_set_fmt()
110 struct video_format *fmt) in emul_rx_get_fmt() argument
118 *fmt = data->fmt; in emul_rx_get_fmt()
155 struct video_format *fmt = &data->fmt; in emul_rx_worker() local
158 LOG_DBG("Queueing a frame of %u bytes in format %x %ux%u", fmt->pitch * fmt->height, in emul_rx_worker()
159 fmt->pixelformat, fmt->width, fmt->height); in emul_rx_worker()
162 vbuf->bytesused = fmt->pitch * fmt->height; in emul_rx_worker()
181 struct video_format *fmt = &data->fmt; in emul_rx_enqueue() local
188 if (vbuf->size < fmt->pitch * fmt->height) { in emul_rx_enqueue()
285 ret = video_get_format(cfg->source_dev, VIDEO_EP_OUT, &data->fmt); in emul_rx_init()