Lines Matching refs:src_h
113 void sc_set_vs_coeffs(struct sc_data *sc, void *addr, unsigned int src_h, in sc_set_vs_coeffs() argument
122 if (dst_h > src_h) { in sc_set_vs_coeffs()
124 } else if (dst_h == src_h) { in sc_set_vs_coeffs()
127 sixteenths = (dst_h << 4) / src_h; in sc_set_vs_coeffs()
154 u32 *sc_reg17, unsigned int src_w, unsigned int src_h, in sc_config_scaler() argument
184 if (src_w == dst_w && src_h == dst_h) { in sc_config_scaler()
219 if (dst_h < (src_h >> 2)) { in sc_config_scaler()
228 factor = (u16) ((dst_h << 10) / src_h); in sc_config_scaler()
244 src_h, dst_h, factor, row_acc_init_rav, in sc_config_scaler()
248 row_acc_inc = ((src_h - 1) << 16) / (dst_h - 1); in sc_config_scaler()
253 src_h, dst_h, row_acc_inc); in sc_config_scaler()
266 sc_reg0[5] = (src_w << CFG_SRC_W_SHIFT) | (src_h << CFG_SRC_H_SHIFT); in sc_config_scaler()
277 *sc_reg24 = (src_w << CFG_ORG_W_SHIFT) | (src_h << CFG_ORG_H_SHIFT); in sc_config_scaler()