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()
107 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_buf_prepare() local
108 unsigned int planes = vfmt->buffers; in vid_out_buf_prepare()
113 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_buf_prepare()
114 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p]; in vid_out_buf_prepare()
132 size = dev->bytesperline_out[p] * h / vfmt->vdownsampling[p]; in vid_out_buf_prepare()