Home
last modified time | relevance | path

Searched refs:scl_h_factor (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_post_process.c87 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local
134 scl_h_factor = ((src_hactive - 1) << 14) / in rk628_post_process_scaler_init()
137 scl_h_factor = ((src_hactive - 2) << 14) / in rk628_post_process_scaler_init()
140 scl_h_factor = (dst_hactive << 16) / (src_hactive - 1); in rk628_post_process_scaler_init()
145 scl_h_factor = 0; in rk628_post_process_scaler_init()
148 scl_h_factor = ((src_hactive - 1) << 16) / (dst_hactive - 1); in rk628_post_process_scaler_init()
180 SCL_H_FACTOR(scl_h_factor)); in rk628_post_process_scaler_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk618/
H A Drk618_scaler.c135 u32 scl_v_factor, scl_h_factor; in rk618_scaler_init() local
169 scl_h_factor = ((src.hactive - 1) << 14) / in rk618_scaler_init()
172 scl_h_factor = ((src.hactive - 2) << 14) / in rk618_scaler_init()
175 scl_h_factor = (dst.hactive << 16) / in rk618_scaler_init()
182 scl_h_factor = 0; in rk618_scaler_init()
187 scl_h_factor = ((src.hactive - 1) << 16) / (dst.hactive - 1); in rk618_scaler_init()
223 SCL_V_FACTOR(scl_v_factor) | SCL_H_FACTOR(scl_h_factor)); in rk618_scaler_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk628/
H A Drk628_post_process.c99 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local
133 scl_h_factor = ((src.hactive - 1) << 14) / in rk628_post_process_scaler_init()
136 scl_h_factor = ((src.hactive - 2) << 14) / in rk628_post_process_scaler_init()
139 scl_h_factor = (dst.hactive << 16) / in rk628_post_process_scaler_init()
146 scl_h_factor = 0; in rk628_post_process_scaler_init()
151 scl_h_factor = ((src.hactive - 1) << 16) / (dst.hactive - 1); in rk628_post_process_scaler_init()
191 SCL_V_FACTOR(scl_v_factor) | SCL_H_FACTOR(scl_h_factor)); in rk628_post_process_scaler_init()
/OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/
H A Drk628.c319 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local
350 scl_h_factor = ((src->hactive - 1) << 14) / in rk628_post_process_scaler_init()
353 scl_h_factor = ((src->hactive - 2) << 14) / in rk628_post_process_scaler_init()
356 scl_h_factor = (dst->hactive << 16) / in rk628_post_process_scaler_init()
363 scl_h_factor = 0; in rk628_post_process_scaler_init()
368 scl_h_factor = ((src->hactive - 1) << 16) / (dst->hactive - 1); in rk628_post_process_scaler_init()
411 SCL_H_FACTOR(scl_h_factor)); in rk628_post_process_scaler_init()