Lines Matching refs:main_hratio
101 unsigned long main_hratio; member
949 sc->main_hratio = (src_w << 16) / dst_w; in gsc_set_prescaler()
953 sc->main_hratio, sc->main_vratio); in gsc_set_prescaler()
968 static void gsc_set_h_coef(struct gsc_context *ctx, unsigned long main_hratio) in gsc_set_h_coef() argument
972 if (main_hratio <= GSC_SC_UP_MAX_RATIO) in gsc_set_h_coef()
974 else if (main_hratio <= GSC_SC_DOWN_RATIO_7_8) in gsc_set_h_coef()
976 else if (main_hratio <= GSC_SC_DOWN_RATIO_6_8) in gsc_set_h_coef()
978 else if (main_hratio <= GSC_SC_DOWN_RATIO_5_8) in gsc_set_h_coef()
980 else if (main_hratio <= GSC_SC_DOWN_RATIO_4_8) in gsc_set_h_coef()
982 else if (main_hratio <= GSC_SC_DOWN_RATIO_3_8) in gsc_set_h_coef()
1025 sc->main_hratio, sc->main_vratio); in gsc_set_scaler()
1027 gsc_set_h_coef(ctx, sc->main_hratio); in gsc_set_scaler()
1028 cfg = GSC_MAIN_H_RATIO_VALUE(sc->main_hratio); in gsc_set_scaler()