]> granicus.if.org Git - libvpx/commitdiff
Adjust variance threshold for 16x16 split at low resolutions.
authorMarco <marpan@google.com>
Fri, 13 Nov 2015 00:52:45 +0000 (16:52 -0800)
committerMarco <marpan@google.com>
Fri, 13 Nov 2015 01:58:31 +0000 (17:58 -0800)
Change-Id: I635e37f81237e9703d7d9a11ed76a043f4ec6eb0

test/resize_test.cc
vp9/encoder/vp9_encodeframe.c

index dd184d18e73dbad66aa3610cc99e87866ba7bd30..21916ad516ed27d74890138b9ae952001d6af878 100644 (file)
@@ -407,7 +407,7 @@ TEST_P(ResizeRealtimeTest, TestInternalResizeDownUpChangeBitRate) {
   // Disable dropped frames.
   cfg_.rc_dropframe_thresh = 0;
   // Starting bitrate low.
-  cfg_.rc_target_bitrate = 100;
+  cfg_.rc_target_bitrate = 90;
   ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
 
   unsigned int last_w = cfg_.g_w;
index 735ca816335a2b25e491ab439892b1bda56027e1..0475883692f178078e954a11aa3c40ff42e1fe0c 100644 (file)
@@ -500,7 +500,7 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q) {
     if (cm->width <= 352 && cm->height <= 288) {
       thresholds[0] = threshold_base >> 3;
       thresholds[1] = threshold_base >> 1;
-      thresholds[2] = threshold_base << 2;
+      thresholds[2] = threshold_base << 3;
     } else {
       thresholds[0] = threshold_base;
       thresholds[1] = (5 * threshold_base) >> 2;