Lines Matching refs:decim_x

107 		int *x_predecim, int *y_predecim, int *decim_x, int *decim_y,
2293 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_24xx() argument
2299 int min_factor = min(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2306 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx()
2312 if (*decim_x == *decim_y) { in dispc_ovl_calc_scaling_24xx()
2313 *decim_x = min_factor; in dispc_ovl_calc_scaling_24xx()
2316 swap(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2317 if (*decim_x < *decim_y) in dispc_ovl_calc_scaling_24xx()
2318 ++*decim_x; in dispc_ovl_calc_scaling_24xx()
2321 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_24xx()
2342 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_34xx() argument
2352 in_width = width / *decim_x; in dispc_ovl_calc_scaling_34xx()
2397 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_34xx()
2430 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_44xx() argument
2435 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 = max(*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()
2463 if (*decim_x > 4 && fourcc != DRM_FORMAT_NV12) { in dispc_ovl_calc_scaling_44xx()
2477 DSSERR("Not enough bandwidth, too much downscaling (x-decimation factor %d > 4)\n", *decim_x); in dispc_ovl_calc_scaling_44xx()
2511 int decim_x, decim_y, ret; in dispc_ovl_calc_scaling() local
2560 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxhdownscale); in dispc_ovl_calc_scaling()
2563 if (decim_x > *x_predecim || out_width > width * 8) in dispc_ovl_calc_scaling()
2572 &decim_x, &decim_y, pos_x, &core_clk, in dispc_ovl_calc_scaling()
2583 decim_x, decim_y, in dispc_ovl_calc_scaling()
2584 width / decim_x, height / decim_y, in dispc_ovl_calc_scaling()
2585 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), in dispc_ovl_calc_scaling()
2599 *x_predecim = decim_x; in dispc_ovl_calc_scaling()