From 035c5f34eb1c7cbb847d54015685721c8126d48b Mon Sep 17 00:00:00 2001 From: Debargha Mukherjee Date: Sat, 3 Sep 2016 02:06:13 -0700 Subject: [PATCH] Parameter adjustments to loop restoration Some minor adjustments to tile size and bilateral filters. About 0.1% improvement for midres and hdres, very small change for lowres. Change-Id: Ia94f68a926867dfd67da1a8795fd8de0ddd8e2d6 --- av1/common/restoration.c | 2 +- av1/common/restoration.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/av1/common/restoration.c b/av1/common/restoration.c index a4aad7b9d..d50181ed1 100644 --- a/av1/common/restoration.c +++ b/av1/common/restoration.c @@ -42,7 +42,7 @@ typedef struct bilateral_params { static BilateralParamsType bilateral_level_to_params_arr[BILATERAL_LEVELS] = { // Values are rounded to 1/16 th precision { 8, 9, 30 }, { 9, 8, 30 }, { 9, 11, 32 }, { 11, 9, 32 }, - { 14, 14, 32 }, { 18, 18, 36 }, { 24, 24, 40 }, { 32, 32, 40 }, + { 14, 14, 36 }, { 18, 18, 36 }, { 24, 24, 40 }, { 32, 32, 40 }, }; static BilateralParamsType diff --git a/av1/common/restoration.h b/av1/common/restoration.h index 6c53a77c7..d8a312d5b 100644 --- a/av1/common/restoration.h +++ b/av1/common/restoration.h @@ -27,7 +27,7 @@ extern "C" { // #define DEF_BILATERAL_LEVEL 2 #define RESTORATION_TILESIZES 3 -#define BILATERAL_TILESIZE 0 +#define BILATERAL_TILESIZE 1 #define WIENER_TILESIZE 2 #define RESTORATION_HALFWIN 3 -- 2.50.1