Lines Matching refs:src_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()
409 tpg->src_width = width; in tpg_reset_source()
1302 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1304 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1337 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2) in tpg_get_color()
1341 if (pat_line || ((x % tpg->src_width) + 1) / 2 == tpg->src_width / 4) in tpg_get_color()
1345 if (pat_line || ((x % tpg->src_width) + 10) / 20 == tpg->src_width / 40) in tpg_get_color()
1349 return TPG_COLOR_RAMP + ((x % tpg->src_width) * 256) / tpg->src_width; in tpg_get_color()
1363 unsigned w = tpg->src_width; in tpg_calculate_square_border()
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()
1472 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x; in tpg_precalculate_line()
1483 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x; in tpg_precalculate_line()
1706 tpg->mv_hor_step = ((tpg->src_width + 319) / 320) * 4; in tpg_update_mv_step()
1710 tpg->mv_hor_step = ((tpg->src_width + 639) / 640) * 4; in tpg_update_mv_step()
1721 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step()
1727 tpg->mv_vert_step = ((tpg->src_width + 319) / 320) * 4; in tpg_update_mv_step()
1731 tpg->mv_vert_step = ((tpg->src_width + 639) / 640) * 4; in tpg_update_mv_step()
1849 tpg->src_width, tpg->src_height, in tpg_log_status()
1896 tpg_hscale_div(tpg, p, tpg->mv_hor_count % tpg->src_width); in tpg_fill_params_pattern()
1899 tpg->src_width); in tpg_fill_params_pattern()
1912 params->wss_width = tpg->crop.left < tpg->src_width / 2 ? in tpg_fill_params_extras()
1913 tpg->src_width / 2 - tpg->crop.left : 0; in tpg_fill_params_extras()
1918 params->twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_params_extras()
2089 twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_plane_pattern()
2091 twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_plane_pattern()