Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c225 unsigned img_width = tpg_hdiv(tpg, p, dev->compose_cap.width); in vivid_copy_buffer()
244 unsigned vid_cap_left = tpg_hdiv(tpg, p, dev->loop_vid_cap.left); in vivid_copy_buffer()
263 voutbuf += tpg_hdiv(tpg, p, dev->loop_vid_out.left) + in vivid_copy_buffer()
265 vcapbuf += tpg_hdiv(tpg, p, dev->compose_cap.left) + in vivid_copy_buffer()
289 vid_cap_right = tpg_hdiv(tpg, p, dev->loop_vid_cap.left + dev->loop_vid_cap.width); in vivid_copy_buffer()
321 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
326 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
331 tpg_hdiv(tpg, p, dev->loop_vid_out.width), in vivid_copy_buffer()
332 tpg_hdiv(tpg, p, dev->loop_vid_cap.width), in vivid_copy_buffer()
361 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
/linux-6.12.1/include/media/tpg/
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()
/linux-6.12.1/drivers/media/common/v4l2-tpg/
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()