Searched refs:tpg_hdiv (Results 1 – 3 of 3) sorted by relevance
/drivers/media/platform/vivid/ |
D | vivid-kthread-cap.c | 254 unsigned img_width = tpg_hdiv(tpg, p, dev->compose_cap.width); in vivid_copy_buffer() 273 unsigned vid_cap_left = tpg_hdiv(tpg, p, dev->loop_vid_cap.left); in vivid_copy_buffer() 292 voutbuf += tpg_hdiv(tpg, p, dev->loop_vid_out.left) + in vivid_copy_buffer() 294 vcapbuf += tpg_hdiv(tpg, p, dev->compose_cap.left) + in vivid_copy_buffer() 318 vid_cap_right = tpg_hdiv(tpg, p, dev->loop_vid_cap.left + dev->loop_vid_cap.width); in vivid_copy_buffer() 350 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer() 355 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer() 360 tpg_hdiv(tpg, p, dev->loop_vid_out.width), in vivid_copy_buffer() 361 tpg_hdiv(tpg, p, dev->loop_vid_cap.width), in vivid_copy_buffer() 390 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
|
D | vivid-tpg.h | 384 static inline unsigned tpg_hdiv(const struct tpg_data *tpg, in tpg_hdiv() function 399 return tpg_hdiv(tpg, plane, tpg_hscale(tpg, x)); in tpg_hscale_div()
|
D | vivid-tpg.c | 1498 u8 *pos = tpg->lines[pat][p] + tpg_hdiv(tpg, p, x); in tpg_precalculate_line() 1512 unsigned w = tpg_hdiv(tpg, p, tpg->scaled_width * 2); in tpg_precalculate_line() 2011 unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width / 3); in tpg_fill_plane_extras() 2026 unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width * 2 / 3); in tpg_fill_plane_extras() 2203 params.img_width = tpg_hdiv(tpg, p, tpg->compose.width); in tpg_fill_plane_buffer() 2210 vbuf += tpg_hdiv(tpg, p, tpg->compose.left); in tpg_fill_plane_buffer()
|