Lines Matching refs:decim_x

71 		int *x_predecim, int *y_predecim, int *decim_x, int *decim_y,
2253 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_24xx() argument
2258 int min_factor = min(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2266 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx()
2272 if (*decim_x == *decim_y) { in dispc_ovl_calc_scaling_24xx()
2273 *decim_x = min_factor; in dispc_ovl_calc_scaling_24xx()
2276 swap(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2277 if (*decim_x < *decim_y) in dispc_ovl_calc_scaling_24xx()
2278 ++*decim_x; in dispc_ovl_calc_scaling_24xx()
2281 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_24xx()
2299 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_34xx() argument
2309 in_width = width / *decim_x; in dispc_ovl_calc_scaling_34xx()
2354 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_34xx()
2384 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_44xx() argument
2388 int decim_x_min = *decim_x; in dispc_ovl_calc_scaling_44xx()
2401 *decim_x = DIV_ROUND_UP(width, in_width_max); in dispc_ovl_calc_scaling_44xx()
2403 *decim_x = *decim_x > decim_x_min ? *decim_x : decim_x_min; in dispc_ovl_calc_scaling_44xx()
2404 if (*decim_x > *x_predecim) in dispc_ovl_calc_scaling_44xx()
2408 in_width = width / *decim_x; in dispc_ovl_calc_scaling_44xx()
2409 } while (*decim_x <= *x_predecim && in dispc_ovl_calc_scaling_44xx()
2410 in_width > maxsinglelinewidth && ++*decim_x); in dispc_ovl_calc_scaling_44xx()
2436 int decim_x, decim_y, ret; in dispc_ovl_calc_scaling() local
2468 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxdownscale); in dispc_ovl_calc_scaling()
2471 if (decim_x > *x_predecim || out_width > width * 8) in dispc_ovl_calc_scaling()
2479 x_predecim, y_predecim, &decim_x, &decim_y, pos_x, &core_clk, in dispc_ovl_calc_scaling()
2490 decim_x, decim_y, in dispc_ovl_calc_scaling()
2491 width / decim_x, height / decim_y, in dispc_ovl_calc_scaling()
2492 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), in dispc_ovl_calc_scaling()
2506 *x_predecim = decim_x; in dispc_ovl_calc_scaling()