Lines Matching refs:top

395 	tpg->crop.top = tpg->crop.left = 0;  in tpg_reset_source()
398 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
1220 tpg->square.top = (h - sq_h) / 2; in tpg_calculate_square_border()
1223 tpg->border.top = 0; in tpg_calculate_square_border()
1237 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1242 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1253 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1258 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1269 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1421 y += tpg->compose.top; in tpg_gen_text()
1551 return tpg->crop.top + src_y * 2; in tpg_calc_frameline()
1553 return tpg->crop.top + src_y * 2 + 1; in tpg_calc_frameline()
1555 return src_y + tpg->crop.top; in tpg_calc_frameline()
1566 y += tpg->compose.top; in tpg_calc_buffer_line()
1775 if (tpg->show_border && frame_line >= b->top && in tpg_fill_plane_extras()
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()
1781 if (frame_line == b->top || frame_line == b->top + 1 || in tpg_fill_plane_extras()
1796 if (tpg->qual != TPG_QUAL_NOISE && frame_line >= b->top && in tpg_fill_plane_extras()
1797 frame_line < b->top + b->height) { in tpg_fill_plane_extras()
1802 if (tpg->show_square && frame_line >= sq->top && in tpg_fill_plane_extras()
1803 frame_line < sq->top + sq->height && in tpg_fill_plane_extras()
1893 (frame_line < tpg->border.top || in tpg_fill_plane_pattern()
1894 frame_line >= tpg->border.top + tpg->border.height)) { in tpg_fill_plane_pattern()