Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/vivid/
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 …]
Dvivid-vid-out.c35 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p]; in vid_out_queue_setup()
322 (stride * mp->height) / fmt->vdownsampling[p]; in vivid_g_fmt_vid_out()
394 fmt->vdownsampling[p]; in vivid_try_fmt_vid_out()
400 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_out()
401 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_out()
Dvivid-vid-cap.c32 .vdownsampling = { 1 },
39 .vdownsampling = { 1 },
46 .vdownsampling = { 1 },
616 fmt->vdownsampling[p] + fmt->data_offset[p]; in vivid_try_fmt_vid_cap()
622 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_cap()
623 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_cap()
Dvivid-core.h73 u8 vdownsampling[TPG_MAX_PLANES]; member
Dvivid-kthread-cap.c231 vbuf += bpl[i] * h / tpg->vdownsampling[i]; in plane_vaddr()
241 unsigned vdiv = dev->fmt_out->vdownsampling[p]; in vivid_copy_buffer()
/Linux-v4.19/include/media/tpg/
Dv4l2-tpg.h189 u8 vdownsampling[TPG_MAX_PLANES]; member
488 w += plane_w / tpg->vdownsampling[p]; in tpg_g_line_width()
505 w += plane_w / tpg->vdownsampling[p]; in tpg_calc_line_width()
516 tpg->vdownsampling[plane]; in tpg_calc_plane_size()
/Linux-v4.19/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c186 tpg->vdownsampling[0] = 1; in tpg_s_fourcc()
206 tpg->vdownsampling[1] = 1; in tpg_s_fourcc()
252 tpg->vdownsampling[1] = 2; in tpg_s_fourcc()
253 tpg->vdownsampling[2] = 2; in tpg_s_fourcc()
264 tpg->vdownsampling[1] = 1; in tpg_s_fourcc()
265 tpg->vdownsampling[2] = 1; in tpg_s_fourcc()
277 tpg->vdownsampling[1] = 1; in tpg_s_fourcc()
289 tpg->vdownsampling[1] = 2; in tpg_s_fourcc()
299 tpg->vdownsampling[1] = 1; in tpg_s_fourcc()
300 tpg->vdownsampling[2] = 1; in tpg_s_fourcc()
[all …]