Lines Matching full:compose
94 tpg->crop.width = tpg->compose.width = w; in tpg_init()
95 tpg->crop.height = tpg->compose.height = h; in tpg_init()
508 const struct v4l2_rect *compose) in tpg_s_crop_compose() argument
511 tpg->compose = *compose; in tpg_s_crop_compose()
512 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
538 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
539 tpg->compose.width = width; in tpg_reset_source()
540 tpg->compose.height = tpg->buf_height; in tpg_reset_source()
2012 if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width) in tpg_gen_text()
2015 if (len > (tpg->compose.width - x) / 8) in tpg_gen_text()
2016 len = (tpg->compose.width - x) / 8; in tpg_gen_text()
2018 y = tpg->compose.height - y - 16; in tpg_gen_text()
2020 x = tpg->compose.width - x - 8; in tpg_gen_text()
2021 y += tpg->compose.top; in tpg_gen_text()
2022 x += tpg->compose.left; in tpg_gen_text()
2140 * Map the line number relative to the compose rectangle to a destination
2146 y += tpg->compose.top; in tpg_calc_buffer_line()
2254 pr_info("tpg compose: %ux%u@%dx%d\n", tpg->compose.width, tpg->compose.height, in tpg_log_status()
2255 tpg->compose.left, tpg->compose.top); in tpg_log_status()
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()
2511 if (params->hmax == tpg->compose.height) in tpg_fill_plane_pattern()
2636 unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; in tpg_fill_plane_buffer()
2637 unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height; in tpg_fill_plane_buffer()
2647 params.img_width = tpg_hdiv(tpg, p, tpg->compose.width); in tpg_fill_plane_buffer()
2649 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100; in tpg_fill_plane_buffer()
2654 vbuf += tpg_hdiv(tpg, p, tpg->compose.left); in tpg_fill_plane_buffer()
2656 for (h = 0; h < tpg->compose.height; h++) { in tpg_fill_plane_buffer()
2664 if (error >= tpg->compose.height) { in tpg_fill_plane_buffer()
2665 error -= tpg->compose.height; in tpg_fill_plane_buffer()
2692 if (error + fract_part >= tpg->compose.height) in tpg_fill_plane_buffer()