• Home
  • Raw
  • Download

Lines Matching refs:decim_x

105 		int *x_predecim, int *y_predecim, int *decim_x, int *decim_y,
2284 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_24xx() argument
2290 int min_factor = min(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2297 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx()
2303 if (*decim_x == *decim_y) { in dispc_ovl_calc_scaling_24xx()
2304 *decim_x = min_factor; in dispc_ovl_calc_scaling_24xx()
2307 swap(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2308 if (*decim_x < *decim_y) in dispc_ovl_calc_scaling_24xx()
2309 ++*decim_x; in dispc_ovl_calc_scaling_24xx()
2312 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_24xx()
2333 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_34xx() argument
2343 in_width = width / *decim_x; in dispc_ovl_calc_scaling_34xx()
2388 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_34xx()
2421 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_44xx() argument
2426 int decim_x_min = *decim_x; in dispc_ovl_calc_scaling_44xx()
2438 *decim_x = DIV_ROUND_UP(width, in_width_max); in dispc_ovl_calc_scaling_44xx()
2440 *decim_x = *decim_x > decim_x_min ? *decim_x : decim_x_min; in dispc_ovl_calc_scaling_44xx()
2441 if (*decim_x > *x_predecim) in dispc_ovl_calc_scaling_44xx()
2445 in_width = width / *decim_x; in dispc_ovl_calc_scaling_44xx()
2446 } while (*decim_x <= *x_predecim && in dispc_ovl_calc_scaling_44xx()
2447 in_width > maxsinglelinewidth && ++*decim_x); in dispc_ovl_calc_scaling_44xx()
2454 if (*decim_x > 4 && fourcc != DRM_FORMAT_NV12) { in dispc_ovl_calc_scaling_44xx()
2468 DSSERR("Not enough bandwidth, too much downscaling (x-decimation factor %d > 4)\n", *decim_x); in dispc_ovl_calc_scaling_44xx()
2497 int decim_x, decim_y, ret; in dispc_ovl_calc_scaling() local
2546 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxhdownscale); in dispc_ovl_calc_scaling()
2549 if (decim_x > *x_predecim || out_width > width * 8) in dispc_ovl_calc_scaling()
2558 &decim_x, &decim_y, pos_x, &core_clk, in dispc_ovl_calc_scaling()
2569 decim_x, decim_y, in dispc_ovl_calc_scaling()
2570 width / decim_x, height / decim_y, in dispc_ovl_calc_scaling()
2571 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), in dispc_ovl_calc_scaling()
2585 *x_predecim = decim_x; in dispc_ovl_calc_scaling()