Searched refs:main_vratio (Results 1 – 7 of 7) sorted by relevance
102 unsigned long main_vratio; member961 sc->main_vratio = (src_h << 16) / dst_h; in gsc_set_prescaler()964 sc->main_hratio, sc->main_vratio); in gsc_set_prescaler()1005 static void gsc_set_v_coef(struct gsc_context *ctx, unsigned long main_vratio) in gsc_set_v_coef() argument1009 if (main_vratio <= GSC_SC_UP_MAX_RATIO) in gsc_set_v_coef()1011 else if (main_vratio <= GSC_SC_DOWN_RATIO_7_8) in gsc_set_v_coef()1013 else if (main_vratio <= GSC_SC_DOWN_RATIO_6_8) in gsc_set_v_coef()1015 else if (main_vratio <= GSC_SC_DOWN_RATIO_5_8) in gsc_set_v_coef()1017 else if (main_vratio <= GSC_SC_DOWN_RATIO_4_8) in gsc_set_v_coef()1019 else if (main_vratio <= GSC_SC_DOWN_RATIO_3_8) in gsc_set_v_coef()[all …]
322 sc->main_hratio, sc->main_vratio); in fimc_hw_set_mainscaler()332 cfg |= FIMC_REG_CISCCTRL_MVRATIO_EXT(sc->main_vratio); in fimc_hw_set_mainscaler()340 cfg |= FIMC_REG_CIEXTEN_MVRATIO_EXT(sc->main_vratio); in fimc_hw_set_mainscaler()344 cfg |= FIMC_REG_CISCCTRL_MVRATIO(sc->main_vratio); in fimc_hw_set_mainscaler()
202 u32 main_vratio; member
293 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()296 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
182 u32 main_vratio; member
367 cfg = GSC_MAIN_V_RATIO_VALUE(sc->main_vratio); in gsc_hw_set_mainscaler()
688 sc->main_vratio = (s_frame->crop.height << 16) / ty; in gsc_set_scaler_info()695 sc->pre_vratio, sc->main_hratio, sc->main_vratio); in gsc_set_scaler_info()