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
diff --git a/av1/common/restoration.c b/av1/common/restoration.c
index a4aad7b..d50181e 100644
--- a/av1/common/restoration.c
+++ b/av1/common/restoration.c
@@ -42,7 +42,7 @@
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 6c53a77..d8a312d 100644
--- a/av1/common/restoration.h
+++ b/av1/common/restoration.h
@@ -27,7 +27,7 @@
// #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