Lines Matching refs:src_width

92 	tpg->scaled_width = tpg->src_width = w;  in tpg_init()
480 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
496 tpg->src_width = width; in tpg_reset_source()
1619 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1621 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1654 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2) in tpg_get_color()
1658 if (pat_line || ((x % tpg->src_width) + 1) / 2 == tpg->src_width / 4) in tpg_get_color()
1662 if (pat_line || ((x % tpg->src_width) + 10) / 20 == tpg->src_width / 40) in tpg_get_color()
1666 return TPG_COLOR_RAMP + ((x % tpg->src_width) * 256) / tpg->src_width; in tpg_get_color()
1680 unsigned w = tpg->src_width; in tpg_calculate_square_border()
1780 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1781 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
1789 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x; in tpg_precalculate_line()
1800 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x; in tpg_precalculate_line()
2050 tpg->mv_hor_step = ((tpg->src_width + 319) / 320) * 4; in tpg_update_mv_step()
2054 tpg->mv_hor_step = ((tpg->src_width + 639) / 640) * 4; in tpg_update_mv_step()
2065 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
2071 tpg->mv_vert_step = ((tpg->src_width + 319) / 320) * 4; in tpg_update_mv_step()
2075 tpg->mv_vert_step = ((tpg->src_width + 639) / 640) * 4; in tpg_update_mv_step()
2214 tpg->src_width, tpg->src_height, in tpg_log_status()
2267 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
2270 tpg->src_width); in tpg_fill_params_pattern()
2283 params->wss_width = tpg->crop.left < tpg->src_width / 2 ? in tpg_fill_params_extras()
2284 tpg->src_width / 2 - tpg->crop.left : 0; in tpg_fill_params_extras()
2289 params->twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_params_extras()
2498 twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_plane_pattern()
2500 twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_plane_pattern()