Lines Matching refs:src_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()
388 tpg->src_width = width; in tpg_reset_source()
1137 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1139 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1172 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2) in tpg_get_color()
1176 if (pat_line || ((x % tpg->src_width) + 1) / 2 == tpg->src_width / 4) in tpg_get_color()
1180 if (pat_line || ((x % tpg->src_width) + 10) / 20 == tpg->src_width / 40) in tpg_get_color()
1184 return TPG_COLOR_RAMP + ((x % tpg->src_width) * 256) / tpg->src_width; in tpg_get_color()
1198 unsigned w = tpg->src_width; in tpg_calculate_square_border()
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()
1307 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x; in tpg_precalculate_line()
1318 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x; in tpg_precalculate_line()
1506 tpg->mv_hor_step = ((tpg->src_width + 319) / 320) * 4; in tpg_update_mv_step()
1510 tpg->mv_hor_step = ((tpg->src_width + 639) / 640) * 4; in tpg_update_mv_step()
1521 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
1527 tpg->mv_vert_step = ((tpg->src_width + 319) / 320) * 4; in tpg_update_mv_step()
1531 tpg->mv_vert_step = ((tpg->src_width + 639) / 640) * 4; in tpg_update_mv_step()
1706 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
1709 tpg->src_width); in tpg_fill_params_pattern()
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()
1728 params->twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_params_extras()
1899 twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_plane_pattern()
1901 twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_plane_pattern()