Searched refs:scl_h_factor (Results 1 – 4 of 4) sorted by relevance
87 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local134 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()
135 u32 scl_v_factor, scl_h_factor; in rk618_scaler_init() local169 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()
99 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local133 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()
319 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local350 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()