Non-rd variance partition: Lower the 64->32 force split threshold.
authorMarco <marpan@google.com>
Wed, 16 Dec 2015 01:26:27 +0000 (17:26 -0800)
committerMarco <marpan@google.com>
Wed, 16 Dec 2015 01:29:01 +0000 (17:29 -0800)
Change-Id: I837551bdf87197bee8a193353bb31f4cff794787

vp9/encoder/vp9_encodeframe.c

index a45e8a9..2a63b07 100644 (file)
@@ -892,7 +892,6 @@ static int choose_partitioning(VP9_COMP *cpi,
       }
     }
   }
-
   // Fill the rest of the variance tree by summing split partition values.
   avg_32x32 = 0;
   for (i = 0; i < 4; i++) {
@@ -937,7 +936,7 @@ static int choose_partitioning(VP9_COMP *cpi,
     // If variance of this 64x64 block is above (some threshold of) the average
     // variance over the sub-32x32 blocks, then force this block to split.
     if (!is_key_frame &&
-        vt.part_variances.none.variance > (3 * avg_32x32) >> 3)
+        vt.part_variances.none.variance > (5 * avg_32x32) >> 4)
       force_split[0] = 1;
   }