Lines Matching refs:left
395 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
398 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
1214 tpg->square.left = (w - tpg->square.width) / 2; in tpg_calculate_square_border()
1221 tpg->border.left = 0; in tpg_calculate_square_border()
1233 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1249 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1265 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1422 x += tpg->compose.left; in tpg_gen_text()
1722 params->wss_width = tpg->crop.left < tpg->src_width / 2 ? in tpg_fill_params_extras()
1723 tpg->src_width / 2 - tpg->crop.left : 0; in tpg_fill_params_extras()
1730 if (tpg->crop.left < tpg->border.left) { in tpg_fill_params_extras()
1731 left_pillar_width = tpg->border.left - tpg->crop.left; in tpg_fill_params_extras()
1738 if (tpg->crop.left + tpg->crop.width > in tpg_fill_params_extras()
1739 tpg->border.left + tpg->border.width) { in tpg_fill_params_extras()
1741 tpg->border.left + tpg->border.width - tpg->crop.left; in tpg_fill_params_extras()
1778 unsigned left = params->left_pillar_width; in tpg_fill_plane_extras() local
1783 memcpy(vbuf + left, tpg->contrast_line[p], in tpg_fill_plane_extras()
1784 right - left); in tpg_fill_plane_extras()
1786 if (b->left >= c->left && in tpg_fill_plane_extras()
1787 b->left < c->left + c->width) in tpg_fill_plane_extras()
1788 memcpy(vbuf + left, in tpg_fill_plane_extras()
1790 if (b->left + b->width > c->left && in tpg_fill_plane_extras()
1791 b->left + b->width <= c->left + c->width) in tpg_fill_plane_extras()
1804 sq->left < c->left + c->width && in tpg_fill_plane_extras()
1805 sq->left + sq->width >= c->left) { in tpg_fill_plane_extras()
1806 unsigned left = sq->left; in tpg_fill_plane_extras() local
1809 if (c->left > left) { in tpg_fill_plane_extras()
1810 width -= c->left - left; in tpg_fill_plane_extras()
1811 left = c->left; in tpg_fill_plane_extras()
1813 if (c->left + c->width < left + width) in tpg_fill_plane_extras()
1814 width -= left + width - c->left - c->width; in tpg_fill_plane_extras()
1815 left -= c->left; in tpg_fill_plane_extras()
1816 left = tpg_hscale_div(tpg, p, left); in tpg_fill_plane_extras()
1818 memcpy(vbuf + left, tpg->contrast_line[p], width); in tpg_fill_plane_extras()
1864 unsigned line_offset = tpg_hscale_div(tpg, p, tpg->crop.left); in tpg_fill_plane_pattern()
2020 vbuf += tpg_hdiv(tpg, p, tpg->compose.left); in tpg_fill_plane_buffer()