Lines Matching refs:main_vratio
84 unsigned long main_vratio; member
778 sc->main_vratio = (src_h << 16) / dst_h; in gsc_set_prescaler()
781 sc->main_hratio, sc->main_vratio); in gsc_set_prescaler()
822 static void gsc_set_v_coef(struct gsc_context *ctx, unsigned long main_vratio) in gsc_set_v_coef() argument
826 if (main_vratio <= GSC_SC_UP_MAX_RATIO) in gsc_set_v_coef()
828 else if (main_vratio <= GSC_SC_DOWN_RATIO_7_8) in gsc_set_v_coef()
830 else if (main_vratio <= GSC_SC_DOWN_RATIO_6_8) in gsc_set_v_coef()
832 else if (main_vratio <= GSC_SC_DOWN_RATIO_5_8) in gsc_set_v_coef()
834 else if (main_vratio <= GSC_SC_DOWN_RATIO_4_8) in gsc_set_v_coef()
836 else if (main_vratio <= GSC_SC_DOWN_RATIO_3_8) in gsc_set_v_coef()
853 sc->main_hratio, sc->main_vratio); in gsc_set_scaler()
859 gsc_set_v_coef(ctx, sc->main_vratio); in gsc_set_scaler()
860 cfg = GSC_MAIN_V_RATIO_VALUE(sc->main_vratio); in gsc_set_scaler()