Lines Matching refs:scaled_width
100 tpg->scaled_width = tpg->src_width = w; in tpg_init()
373 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
375 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
376 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
377 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
378 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
379 tpg->scaled_width = 2; in tpg_s_crop_compose()
394 tpg->scaled_width = width; in tpg_reset_source()
1298 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1299 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
1303 for (x = 0; x < tpg->scaled_width * 2; x += 2) { in tpg_precalculate_line()
1312 if (error >= tpg->scaled_width) { in tpg_precalculate_line()
1313 error -= tpg->scaled_width; in tpg_precalculate_line()
1323 if (error >= tpg->scaled_width) { in tpg_precalculate_line()
1324 error -= tpg->scaled_width; in tpg_precalculate_line()
1347 unsigned w = tpg_hdiv(tpg, p, tpg->scaled_width * 2); in tpg_precalculate_line()
1364 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line()
1374 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line()
1378 for (x = 0; x < tpg->scaled_width * 2; x += 2) { in tpg_precalculate_line()