From 11c711c0ea773b35615721037e010aae6492acc6 Mon Sep 17 00:00:00 2001 From: "woncheon.an" Date: Thu, 30 Mar 2017 19:35:05 +0900 Subject: [PATCH] [COMMON] media: scaler: support 960p dnoise filter Change-Id: Iba96e068f7b9da2faba24aa171a701366034cd5c Signed-off-by: woncheon.an --- drivers/media/platform/exynos/scaler/scaler-core.c | 3 ++- drivers/media/platform/exynos/scaler/scaler.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/scaler/scaler-core.c b/drivers/media/platform/exynos/scaler/scaler-core.c index 940dea7f38e6..88bc066695b4 100644 --- a/drivers/media/platform/exynos/scaler/scaler-core.c +++ b/drivers/media/platform/exynos/scaler/scaler-core.c @@ -1400,10 +1400,11 @@ static int sc_prepare_2nd_scaling(struct sc_ctx *ctx, return 0; } -static struct sc_dnoise_filter sc_filter_tab[4] = { +static struct sc_dnoise_filter sc_filter_tab[5] = { {SC_FT_240, 426, 240}, {SC_FT_480, 854, 480}, {SC_FT_720, 1280, 720}, + {SC_FT_960, 1920, 960}, {SC_FT_1080, 1920, 1080}, }; diff --git a/drivers/media/platform/exynos/scaler/scaler.h b/drivers/media/platform/exynos/scaler/scaler.h index ba4b3fa51a70..47db733bcde0 100644 --- a/drivers/media/platform/exynos/scaler/scaler.h +++ b/drivers/media/platform/exynos/scaler/scaler.h @@ -346,6 +346,7 @@ enum sc_ft { SC_FT_240, SC_FT_480, SC_FT_720, + SC_FT_960, SC_FT_1080, SC_FT_MAX, }; -- 2.20.1