]> granicus.if.org Git - libvpx/commitdiff
vp9_datarate_test: relax over shoot constraints
authorJames Zern <jzern@google.com>
Fri, 30 Mar 2018 23:29:10 +0000 (16:29 -0700)
committerJames Zern <jzern@google.com>
Fri, 30 Mar 2018 23:44:41 +0000 (16:44 -0700)
in BasicRateTargetingVBRLagZero and
BasicRateTargetingVBRLagNonZeroFrameParDecOff after:
e0b28ad69 Add extra case to wq_err_divisor()

BUG=webm:1512

Change-Id: Id181613cc191ff2a2281deffe141efb982501edf

test/vp9_datarate_test.cc

index cf24f689b2a6e8880969dda8bf866ae410ca8ea1..fac4cf362fa29790394f25ea6f464eb8fddebf91 100644 (file)
@@ -237,7 +237,7 @@ TEST_P(DatarateTestVP9Large, BasicRateTargetingVBRLagZero) {
     ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
     ASSERT_GE(effective_datarate_[0], cfg_.rc_target_bitrate * 0.75)
         << " The datarate for the file is lower than target by too much!";
-    ASSERT_LE(effective_datarate_[0], cfg_.rc_target_bitrate * 1.30)
+    ASSERT_LE(effective_datarate_[0], cfg_.rc_target_bitrate * 1.35)
         << " The datarate for the file is greater than target by too much!";
   }
 }
@@ -294,7 +294,7 @@ TEST_P(DatarateTestVP9Large, BasicRateTargetingVBRLagNonZeroFrameParDecOff) {
     ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
     ASSERT_GE(effective_datarate_[0], cfg_.rc_target_bitrate * 0.75)
         << " The datarate for the file is lower than target by too much!";
-    ASSERT_LE(effective_datarate_[0], cfg_.rc_target_bitrate * 1.30)
+    ASSERT_LE(effective_datarate_[0], cfg_.rc_target_bitrate * 1.35)
         << " The datarate for the file is greater than target by too much!";
   }
 }