Lines Matching refs:compose

102 	tpg->crop.width = tpg->compose.width = w;  in tpg_init()
103 tpg->crop.height = tpg->compose.height = h; in tpg_init()
369 const struct v4l2_rect *compose) in tpg_s_crop_compose() argument
372 tpg->compose = *compose; in tpg_s_crop_compose()
373 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
398 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
399 tpg->compose.width = width; in tpg_reset_source()
400 tpg->compose.height = tpg->buf_height; in tpg_reset_source()
1412 if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width) in tpg_gen_text()
1415 if (len > (tpg->compose.width - x) / 8) in tpg_gen_text()
1416 len = (tpg->compose.width - x) / 8; in tpg_gen_text()
1418 y = tpg->compose.height - y - 16; in tpg_gen_text()
1420 x = tpg->compose.width - x - 8; in tpg_gen_text()
1421 y += tpg->compose.top; in tpg_gen_text()
1422 x += tpg->compose.left; in tpg_gen_text()
1566 y += tpg->compose.top; in tpg_calc_buffer_line()
1821 unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width / 3); in tpg_fill_plane_extras()
1836 unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width * 2 / 3); in tpg_fill_plane_extras()
1877 if (params->hmax == tpg->compose.height) in tpg_fill_plane_pattern()
2002 unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; in tpg_fill_plane_buffer()
2003 unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height; in tpg_fill_plane_buffer()
2013 params.img_width = tpg_hdiv(tpg, p, tpg->compose.width); in tpg_fill_plane_buffer()
2015 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100; in tpg_fill_plane_buffer()
2020 vbuf += tpg_hdiv(tpg, p, tpg->compose.left); in tpg_fill_plane_buffer()
2022 for (h = 0; h < tpg->compose.height; h++) { in tpg_fill_plane_buffer()
2030 if (error >= tpg->compose.height) { in tpg_fill_plane_buffer()
2031 error -= tpg->compose.height; in tpg_fill_plane_buffer()
2058 if (error + fract_part >= tpg->compose.height) in tpg_fill_plane_buffer()