Lines Matching refs:height
103 tpg->crop.height = tpg->compose.height = h; in tpg_init()
383 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, in tpg_reset_source() argument
389 tpg->src_height = height; in tpg_reset_source()
391 tpg->buf_height = height; in tpg_reset_source()
397 tpg->crop.height = height; in tpg_reset_source()
400 tpg->compose.height = tpg->buf_height; in tpg_reset_source()
1219 tpg->square.height = sq_h; in tpg_calculate_square_border()
1224 tpg->border.height = h; in tpg_calculate_square_border()
1236 tpg->border.height = ((3 * w) / 4) & ~1; in tpg_calculate_square_border()
1237 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1241 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 420 : 506; in tpg_calculate_square_border()
1242 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1252 tpg->border.height = ((9 * w) / 14) & ~1; in tpg_calculate_square_border()
1253 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1257 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 368 : 442; in tpg_calculate_square_border()
1258 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1268 tpg->border.height = ((9 * w) / 16) & ~1; in tpg_calculate_square_border()
1269 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1412 if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width) in tpg_gen_text()
1418 y = tpg->compose.height - y - 16; in tpg_gen_text()
1776 frame_line < b->top + b->height) { in tpg_fill_plane_extras()
1777 unsigned bottom = b->top + b->height - 1; in tpg_fill_plane_extras()
1797 frame_line < b->top + b->height) { in tpg_fill_plane_extras()
1803 frame_line < sq->top + sq->height && in tpg_fill_plane_extras()
1877 if (params->hmax == tpg->compose.height) in tpg_fill_plane_pattern()
1894 frame_line >= tpg->border.top + tpg->border.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()
2015 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100; 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()