Non-rd variance partition: Adjust thresholds for 1080p.
authorMarco <marpan@google.com>
Wed, 27 May 2015 19:30:35 +0000 (12:30 -0700)
committerMarco <marpan@google.com>
Wed, 27 May 2015 19:30:35 +0000 (12:30 -0700)
Increase the 32x32 split threshold, to allow for more 32x32
at expense of 16x16. Visually looks somewhat better.

Change-Id: Ia1439c3a0dc2d7933468b88bd59266fcd9f03505

vp9/encoder/vp9_encodeframe.c

index 0c8bab9..a8adca9 100644 (file)
@@ -487,6 +487,8 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q) {
     } else {
       thresholds[0] = threshold_base;
       thresholds[1] = (5 * threshold_base) >> 2;
+      if (cm->width >= 1920 && cm->height >= 1080)
+        thresholds[1] = (7 * threshold_base) >> 2;
       thresholds[2] = threshold_base << cpi->oxcf.speed;
     }
   }