shithub: libvpx

Download patch

ref: 2b9c017cf0bea03c8e94528d3b1b9a893920b32f
parent: 01b19a1c3e1ced61033b687082b67fe62fef3459
author: James Zern <jzern@google.com>
date: Fri Mar 30 12:29:10 EDT 2018

vp9_datarate_test: relax over shoot constraints

in BasicRateTargetingVBRLagZero and
BasicRateTargetingVBRLagNonZeroFrameParDecOff after:
e0b28ad69 Add extra case to wq_err_divisor()

BUG=webm:1512

Change-Id: Id181613cc191ff2a2281deffe141efb982501edf

--- a/test/vp9_datarate_test.cc
+++ b/test/vp9_datarate_test.cc
@@ -237,7 +237,7 @@
     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 @@
     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!";
   }
 }