Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c245 unsigned img_width = tpg_hdiv(tpg, p, dev->compose_cap.width); in vivid_copy_buffer()
264 unsigned vid_cap_left = tpg_hdiv(tpg, p, dev->loop_vid_cap.left); in vivid_copy_buffer()
283 voutbuf += tpg_hdiv(tpg, p, dev->loop_vid_out.left) + in vivid_copy_buffer()
285 vcapbuf += tpg_hdiv(tpg, p, dev->compose_cap.left) + in vivid_copy_buffer()
309 vid_cap_right = tpg_hdiv(tpg, p, dev->loop_vid_cap.left + dev->loop_vid_cap.width); in vivid_copy_buffer()
341 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
346 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
351 tpg_hdiv(tpg, p, dev->loop_vid_out.width), in vivid_copy_buffer()
352 tpg_hdiv(tpg, p, dev->loop_vid_cap.width), in vivid_copy_buffer()
381 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
/linux-6.1.9/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.1.9/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1815 u8 *pos = tpg->lines[pat][p] + tpg_hdiv(tpg, p, x); in tpg_precalculate_line()
1829 unsigned w = tpg_hdiv(tpg, p, tpg->scaled_width * 2); in tpg_precalculate_line()
2382 unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width / 3); in tpg_fill_plane_extras()
2397 unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width * 2 / 3); in tpg_fill_plane_extras()
2612 params.img_width = tpg_hdiv(tpg, p, tpg->compose.width); in tpg_fill_plane_buffer()
2619 vbuf += tpg_hdiv(tpg, p, tpg->compose.left); in tpg_fill_plane_buffer()