Lines Matching refs:decim_x
82 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y,
2299 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_24xx() argument
2304 int min_factor = min(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2312 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx()
2318 if (*decim_x == *decim_y) { in dispc_ovl_calc_scaling_24xx()
2319 *decim_x = min_factor; in dispc_ovl_calc_scaling_24xx()
2322 swap(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2323 if (*decim_x < *decim_y) in dispc_ovl_calc_scaling_24xx()
2324 ++*decim_x; in dispc_ovl_calc_scaling_24xx()
2327 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_24xx()
2345 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_34xx() argument
2355 in_width = width / *decim_x; in dispc_ovl_calc_scaling_34xx()
2400 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_34xx()
2430 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_44xx() argument
2434 int decim_x_min = *decim_x; in dispc_ovl_calc_scaling_44xx()
2447 *decim_x = DIV_ROUND_UP(width, in_width_max); in dispc_ovl_calc_scaling_44xx()
2449 *decim_x = *decim_x > decim_x_min ? *decim_x : decim_x_min; in dispc_ovl_calc_scaling_44xx()
2450 if (*decim_x > *x_predecim) in dispc_ovl_calc_scaling_44xx()
2454 in_width = width / *decim_x; in dispc_ovl_calc_scaling_44xx()
2455 } while (*decim_x <= *x_predecim && in dispc_ovl_calc_scaling_44xx()
2456 in_width > maxsinglelinewidth && ++*decim_x); in dispc_ovl_calc_scaling_44xx()
2482 int decim_x, decim_y, ret; in dispc_ovl_calc_scaling() local
2514 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxdownscale); in dispc_ovl_calc_scaling()
2517 if (decim_x > *x_predecim || out_width > width * 8) in dispc_ovl_calc_scaling()
2525 x_predecim, y_predecim, &decim_x, &decim_y, pos_x, &core_clk, in dispc_ovl_calc_scaling()
2536 decim_x, decim_y, in dispc_ovl_calc_scaling()
2537 width / decim_x, height / decim_y, in dispc_ovl_calc_scaling()
2538 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), in dispc_ovl_calc_scaling()
2552 *x_predecim = decim_x; in dispc_ovl_calc_scaling()