Home
last modified time | relevance | path

Searched refs:tpg_hdiv (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-cap.c224 unsigned img_width = tpg_hdiv(tpg, p, dev->compose_cap.width); in vivid_copy_buffer()
243 unsigned vid_cap_left = tpg_hdiv(tpg, p, dev->loop_vid_cap.left); in vivid_copy_buffer()
262 voutbuf += tpg_hdiv(tpg, p, dev->loop_vid_out.left) + in vivid_copy_buffer()
264 vcapbuf += tpg_hdiv(tpg, p, dev->compose_cap.left) + in vivid_copy_buffer()
288 vid_cap_right = tpg_hdiv(tpg, p, dev->loop_vid_cap.left + dev->loop_vid_cap.width); in vivid_copy_buffer()
320 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
325 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
330 tpg_hdiv(tpg, p, dev->loop_vid_out.width), in vivid_copy_buffer()
331 tpg_hdiv(tpg, p, dev->loop_vid_cap.width), in vivid_copy_buffer()
360 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
/openbmc/linux/include/media/tpg/
H A Dv4l2-tpg.h439 static inline unsigned tpg_hdiv(const struct tpg_data *tpg, in tpg_hdiv() function
454 return tpg_hdiv(tpg, plane, tpg_hscale(tpg, x)); in tpg_hscale_div()
/openbmc/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1850 u8 *pos = tpg->lines[pat][p] + tpg_hdiv(tpg, p, x); in tpg_precalculate_line()
1864 unsigned w = tpg_hdiv(tpg, p, tpg->scaled_width * 2); in tpg_precalculate_line()
2417 unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width / 3); in tpg_fill_plane_extras()
2432 unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width * 2 / 3); in tpg_fill_plane_extras()
2647 params.img_width = tpg_hdiv(tpg, p, tpg->compose.width); in tpg_fill_plane_buffer()
2654 vbuf += tpg_hdiv(tpg, p, tpg->compose.left); in tpg_fill_plane_buffer()