Home
last modified time | relevance | path

Searched refs:vdownsampling (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-vid-common.c37 .vdownsampling = { 1 },
46 .vdownsampling = { 1 },
54 .vdownsampling = { 1 },
62 .vdownsampling = { 1 },
70 .vdownsampling = { 1, 1, 1 },
78 .vdownsampling = { 1, 2, 2 },
86 .vdownsampling = { 1, 2, 2 },
94 .vdownsampling = { 1, 2 },
102 .vdownsampling = { 1, 2 },
110 .vdownsampling = { 1, 1 },
[all …]
H A Dvivid-vid-out.c35 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p] + in vid_out_queue_setup()
67 vfmt->vdownsampling[p] + in vid_out_queue_setup()
74 vfmt->vdownsampling[p] + in vid_out_queue_setup()
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()
340 fmt->vdownsampling[p] + fmt->data_offset[p]; in vivid_g_fmt_vid_out()
346 (stride * mp->height) / fmt->vdownsampling[p]; in vivid_g_fmt_vid_out()
418 fmt->vdownsampling[p] + fmt->data_offset[p]; in vivid_try_fmt_vid_out()
424 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_out()
425 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_out()
H A Dvivid-vid-cap.c110 dev->fmt_cap->vdownsampling[p] + in vid_cap_queue_setup()
117 dev->fmt_cap->vdownsampling[p] + in vid_cap_queue_setup()
156 dev->fmt_cap->vdownsampling[p] + in vid_cap_buf_prepare()
550 dev->fmt_cap->vdownsampling[p] + in vivid_g_fmt_vid_cap()
632 fmt->vdownsampling[p] + fmt->data_offset[p]; in vivid_try_fmt_vid_cap()
638 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_cap()
639 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_cap()
H A Dvivid-core.h61 u8 vdownsampling[TPG_MAX_PLANES]; member
H A Dvivid-kthread-cap.c212 vbuf += bpl[i] * h / tpg->vdownsampling[i]; in plane_vaddr()
222 unsigned vdiv = dev->fmt_out->vdownsampling[p]; in vivid_copy_buffer()
/openbmc/linux/include/media/tpg/
H A Dv4l2-tpg.h189 u8 vdownsampling[TPG_MAX_PLANES]; member
491 w += plane_w / tpg->vdownsampling[p]; in tpg_g_line_width()
508 w += plane_w / tpg->vdownsampling[p]; in tpg_calc_line_width()
519 tpg->vdownsampling[plane]; in tpg_calc_plane_size()
/openbmc/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c218 tpg->vdownsampling[0] = 1; in tpg_s_fourcc()
242 tpg->vdownsampling[1] = 1; in tpg_s_fourcc()
311 tpg->vdownsampling[1] = 2; in tpg_s_fourcc()
312 tpg->vdownsampling[2] = 2; in tpg_s_fourcc()
323 tpg->vdownsampling[1] = 1; in tpg_s_fourcc()
324 tpg->vdownsampling[2] = 1; in tpg_s_fourcc()
336 tpg->vdownsampling[1] = 1; in tpg_s_fourcc()
348 tpg->vdownsampling[1] = 2; in tpg_s_fourcc()
358 tpg->vdownsampling[1] = 1; in tpg_s_fourcc()
359 tpg->vdownsampling[2] = 1; in tpg_s_fourcc()
[all …]
/openbmc/linux/drivers/media/test-drivers/visl/
H A Dvisl-dec.c32 vbuf += bpl[i] * h / tpg->vdownsampling[i]; in plane_vaddr()