Searched refs:main_vratio (Results 1 – 7 of 7) sorted by relevance
83 unsigned long main_vratio; member778 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() argument826 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()[all …]
319 sc->main_hratio, sc->main_vratio); in fimc_hw_set_mainscaler()329 cfg |= FIMC_REG_CISCCTRL_MVRATIO_EXT(sc->main_vratio); in fimc_hw_set_mainscaler()337 cfg |= FIMC_REG_CIEXTEN_MVRATIO_EXT(sc->main_vratio); in fimc_hw_set_mainscaler()341 cfg |= FIMC_REG_CISCCTRL_MVRATIO(sc->main_vratio); in fimc_hw_set_mainscaler()
199 u32 main_vratio; member
269 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()272 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
176 u32 main_vratio; member
363 cfg = GSC_MAIN_V_RATIO_VALUE(sc->main_vratio); in gsc_hw_set_mainscaler()
687 sc->main_vratio = (s_frame->crop.height << 16) / ty; in gsc_set_scaler_info()694 sc->pre_vratio, sc->main_hratio, sc->main_vratio); in gsc_set_scaler_info()