Home
last modified time | relevance | path

Searched refs:hdownsampling (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/include/media/tpg/
Dv4l2-tpg.h190 u8 hdownsampling[TPG_MAX_PLANES]; member
439 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
471 tpg->bytesperline[p] = plane_w / tpg->hdownsampling[p]; in tpg_s_bytesperline()
504 plane_w /= tpg->hdownsampling[p]; in tpg_calc_line_width()
/Linux-v4.19/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c187 tpg->hdownsampling[0] = 1; in tpg_s_fourcc()
207 tpg->hdownsampling[1] = 1; in tpg_s_fourcc()
254 tpg->hdownsampling[1] = 2; in tpg_s_fourcc()
255 tpg->hdownsampling[2] = 2; in tpg_s_fourcc()
266 tpg->hdownsampling[1] = 2; in tpg_s_fourcc()
267 tpg->hdownsampling[2] = 2; in tpg_s_fourcc()
278 tpg->hdownsampling[1] = 1; in tpg_s_fourcc()
290 tpg->hdownsampling[1] = 1; in tpg_s_fourcc()
301 tpg->hdownsampling[1] = 1; in tpg_s_fourcc()
302 tpg->hdownsampling[2] = 1; in tpg_s_fourcc()
[all …]