Lines Matching refs:scaled_width
92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
512 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
514 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
515 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
516 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
517 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
518 tpg->scaled_width = 2; in tpg_s_crop_compose()
534 tpg->scaled_width = width; in tpg_reset_source()
1798 if (WARN_ON_ONCE(!tpg->src_width || !tpg->scaled_width)) in tpg_precalculate_line()
1815 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1816 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
1820 for (x = 0; x < tpg->scaled_width * 2; x += 2) { in tpg_precalculate_line()
1829 if (error >= tpg->scaled_width) { in tpg_precalculate_line()
1830 error -= tpg->scaled_width; in tpg_precalculate_line()
1840 if (error >= tpg->scaled_width) { in tpg_precalculate_line()
1841 error -= tpg->scaled_width; in tpg_precalculate_line()
1864 unsigned w = tpg_hdiv(tpg, p, tpg->scaled_width * 2); in tpg_precalculate_line()
1881 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line()
1891 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line()
1895 for (x = 0; x < tpg->scaled_width * 2; x += 2) { in tpg_precalculate_line()