Home
last modified time | relevance | path

Searched refs:main_hratio (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c101 unsigned long main_hratio; member
960 sc->main_hratio = (src_w << 16) / dst_w; in gsc_set_prescaler()
964 sc->main_hratio, sc->main_vratio); in gsc_set_prescaler()
979 static void gsc_set_h_coef(struct gsc_context *ctx, unsigned long main_hratio) in gsc_set_h_coef() argument
983 if (main_hratio <= GSC_SC_UP_MAX_RATIO) in gsc_set_h_coef()
985 else if (main_hratio <= GSC_SC_DOWN_RATIO_7_8) in gsc_set_h_coef()
987 else if (main_hratio <= GSC_SC_DOWN_RATIO_6_8) in gsc_set_h_coef()
989 else if (main_hratio <= GSC_SC_DOWN_RATIO_5_8) in gsc_set_h_coef()
991 else if (main_hratio <= GSC_SC_DOWN_RATIO_4_8) in gsc_set_h_coef()
993 else if (main_hratio <= GSC_SC_DOWN_RATIO_3_8) in gsc_set_h_coef()
[all …]
/drivers/media/platform/exynos4-is/
Dfimc-reg.c322 sc->main_hratio, sc->main_vratio); in fimc_hw_set_mainscaler()
331 cfg |= FIMC_REG_CISCCTRL_MHRATIO_EXT(sc->main_hratio); in fimc_hw_set_mainscaler()
339 cfg |= FIMC_REG_CIEXTEN_MHRATIO_EXT(sc->main_hratio); in fimc_hw_set_mainscaler()
343 cfg |= FIMC_REG_CISCCTRL_MHRATIO(sc->main_hratio); in fimc_hw_set_mainscaler()
Dfimc-core.h201 u32 main_hratio; member
Dfimc-core.c292 sc->main_hratio = (sx << 14) / (tx << sc->hfactor); in fimc_set_scaler_info()
295 sc->main_hratio = (sx << 8) / (tx << sc->hfactor); in fimc_set_scaler_info()
/drivers/media/platform/exynos-gsc/
Dgsc-core.h181 u32 main_hratio; member
Dgsc-regs.c364 cfg = GSC_MAIN_H_RATIO_VALUE(sc->main_hratio); in gsc_hw_set_mainscaler()
Dgsc-core.c687 sc->main_hratio = (s_frame->crop.width << 16) / tx; in gsc_set_scaler_info()
695 sc->pre_vratio, sc->main_hratio, sc->main_vratio); in gsc_set_scaler_info()