]> granicus.if.org Git - libvpx/commitdiff
Parameter adjustments to loop restoration
authorDebargha Mukherjee <debargha@google.com>
Sat, 3 Sep 2016 09:06:13 +0000 (02:06 -0700)
committerDebargha Mukherjee <debargha@google.com>
Wed, 7 Sep 2016 20:51:01 +0000 (13:51 -0700)
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
av1/common/restoration.h

index a4aad7b9d704cca1b2a7b4b194c36bd7f1e7810d..d50181ed10a2027954d08a67a269917e3551aae3 100644 (file)
@@ -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
index 6c53a77c7c21c44ee32cb8abce5a1fb90bd2e0e7..d8a312d5b6c1f33fd07ca2b31e0b431fe6f857eb 100644 (file)
@@ -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