ref: eae638db1524b4b6ff1a34e078e6b1a1a4427849
parent: c706c02291ab756685828a4f1804d72a3db330f4
parent: 2b9c017cf0bea03c8e94528d3b1b9a893920b32f
author: James Zern <jzern@google.com>
date: Fri Mar 30 20:49:11 EDT 2018
Merge "vp9_datarate_test: relax over shoot constraints"
--- 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!";
}
}