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->vdownsampling[p] + in vid_out_queue_setup()
68 vfmt->data_offset[p]) in vid_out_queue_setup()
74 vfmt->vdownsampling[p] + in vid_out_queue_setup()
75 vfmt->data_offset[p] : size; in vid_out_queue_setup()
104 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_buf_prepare() local
105 unsigned int planes = vfmt->buffers; in vid_out_buf_prepare()
110 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_buf_prepare()
111 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p]; in vid_out_buf_prepare()
129 size = dev->bytesperline_out[p] * h / vfmt->vdownsampling[p]; in vid_out_buf_prepare()