Lines Matching refs:scaled_width
100 tpg->scaled_width = tpg->src_width = w; in tpg_init()
394 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
396 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
397 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
398 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
399 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
400 tpg->scaled_width = 2; in tpg_s_crop_compose()
415 tpg->scaled_width = width; in tpg_reset_source()
1463 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1464 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
1468 for (x = 0; x < tpg->scaled_width * 2; x += 2) { in tpg_precalculate_line()
1477 if (error >= tpg->scaled_width) { in tpg_precalculate_line()
1478 error -= tpg->scaled_width; in tpg_precalculate_line()
1488 if (error >= tpg->scaled_width) { in tpg_precalculate_line()
1489 error -= tpg->scaled_width; in tpg_precalculate_line()
1512 unsigned w = tpg_hdiv(tpg, p, tpg->scaled_width * 2); in tpg_precalculate_line()
1529 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line()
1539 for (x = 0; x < tpg->scaled_width; x += 2, pos += twopixsize) in tpg_precalculate_line()
1543 for (x = 0; x < tpg->scaled_width * 2; x += 2) { in tpg_precalculate_line()