Lines Matching refs:decim_x

71 		int *x_predecim, int *y_predecim, int *decim_x, int *decim_y,
2255 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_24xx() argument
2260 int min_factor = min(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2268 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx()
2274 if (*decim_x == *decim_y) { in dispc_ovl_calc_scaling_24xx()
2275 *decim_x = min_factor; in dispc_ovl_calc_scaling_24xx()
2278 swap(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2279 if (*decim_x < *decim_y) in dispc_ovl_calc_scaling_24xx()
2280 ++*decim_x; in dispc_ovl_calc_scaling_24xx()
2283 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_24xx()
2301 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_34xx() argument
2311 in_width = width / *decim_x; in dispc_ovl_calc_scaling_34xx()
2356 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_34xx()
2386 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_44xx() argument
2390 int decim_x_min = *decim_x; in dispc_ovl_calc_scaling_44xx()
2403 *decim_x = DIV_ROUND_UP(width, in_width_max); in dispc_ovl_calc_scaling_44xx()
2405 *decim_x = *decim_x > decim_x_min ? *decim_x : decim_x_min; in dispc_ovl_calc_scaling_44xx()
2406 if (*decim_x > *x_predecim) in dispc_ovl_calc_scaling_44xx()
2410 in_width = width / *decim_x; in dispc_ovl_calc_scaling_44xx()
2411 } while (*decim_x <= *x_predecim && in dispc_ovl_calc_scaling_44xx()
2412 in_width > maxsinglelinewidth && ++*decim_x); in dispc_ovl_calc_scaling_44xx()
2438 int decim_x, decim_y, ret; in dispc_ovl_calc_scaling() local
2470 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxdownscale); in dispc_ovl_calc_scaling()
2473 if (decim_x > *x_predecim || out_width > width * 8) in dispc_ovl_calc_scaling()
2481 x_predecim, y_predecim, &decim_x, &decim_y, pos_x, &core_clk, in dispc_ovl_calc_scaling()
2492 decim_x, decim_y, in dispc_ovl_calc_scaling()
2493 width / decim_x, height / decim_y, in dispc_ovl_calc_scaling()
2494 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), in dispc_ovl_calc_scaling()
2508 *x_predecim = decim_x; in dispc_ovl_calc_scaling()