]> granicus.if.org Git - libvpx/commitdiff
vp8: Adjust threshold on VP8/DatarateTestLarge.DenoiserOffOn.
authorMarco <marpan@google.com>
Tue, 11 Oct 2016 23:12:46 +0000 (16:12 -0700)
committerMarco <marpan@google.com>
Tue, 11 Oct 2016 23:18:14 +0000 (16:18 -0700)
Fix unit_tests_ubsan failure for VP8/DatarateTestLarge.DenoiserOffOn.
Failure was triggered by commit: df66f8e8.

Change-Id: I7cc5bd309e85950cfc5755e01d0eb942d9ca6984

test/datarate_test.cc

index 67c78bc91cf5ee233e4ec90cd55dd679ccf0fa69..e4687bc1f6ee55fc6ebccc58392fa921fc1481d6 100644 (file)
@@ -190,7 +190,7 @@ TEST_P(DatarateTestLarge, DenoiserOffOn) {
   ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
   ASSERT_GE(cfg_.rc_target_bitrate, effective_datarate_ * 0.95)
       << " The datarate for the file exceeds the target!";
-  ASSERT_LE(cfg_.rc_target_bitrate, file_datarate_ * 1.3)
+  ASSERT_LE(cfg_.rc_target_bitrate, file_datarate_ * 1.4)
       << " The datarate for the file missed the target!";
 }
 #endif  // CONFIG_TEMPORAL_DENOISING