Searched refs:decim_x (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.c | 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() [all …]
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dispc.c | 116 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, 2315 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_24xx() argument 2321 int min_factor = min(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx() 2328 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx() 2334 if (*decim_x == *decim_y) { in dispc_ovl_calc_scaling_24xx() 2335 *decim_x = min_factor; in dispc_ovl_calc_scaling_24xx() 2338 swap(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx() 2339 if (*decim_x < *decim_y) in dispc_ovl_calc_scaling_24xx() 2340 ++*decim_x; in dispc_ovl_calc_scaling_24xx() 2343 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_24xx() [all …]
|