Lines Matching refs:vfmt
28 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_queue_setup() local
29 unsigned planes = vfmt->buffers; in vid_out_queue_setup()
31 unsigned int size = dev->bytesperline_out[0] * h + vfmt->data_offset[0]; in vid_out_queue_setup()
34 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_queue_setup()
35 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p] + in vid_out_queue_setup()
36 vfmt->data_offset[p]; in vid_out_queue_setup()
67 vfmt->data_offset[p]) in vid_out_queue_setup()
73 vfmt->data_offset[p] : size; in vid_out_queue_setup()
105 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_buf_prepare() local
106 unsigned int planes = vfmt->buffers; in vid_out_buf_prepare()
111 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_buf_prepare()
112 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p]; in vid_out_buf_prepare()