]> granicus.if.org Git - libvpx/commitdiff
Change target bitrate thresh in denoiser test.
authorJerome Jiang <jianj@google.com>
Fri, 5 May 2017 23:50:19 +0000 (16:50 -0700)
committerJerome Jiang <jianj@google.com>
Fri, 5 May 2017 23:50:19 +0000 (16:50 -0700)
An intended behavior change disabling exhaustive searches in speed
feature causes VP9/DatarateTestVP9LargeDenoiser.4threads test failure.
Change the threshold to make it pass.

BUG=webm:1429

Change-Id: Ibcbe2314c6b2525799894f5d7204fc8eb4ec2a1e

test/datarate_test.cc

index dff75357e21bda0a5b6e7754e620ff424f62a44e..c1a925f7b032fca65a4df2426c398f432f3e47ae 100644 (file)
@@ -1041,7 +1041,7 @@ TEST_P(DatarateTestVP9LargeDenoiser, 4threads) {
   ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
   ASSERT_GE(effective_datarate_[0], cfg_.rc_target_bitrate * 0.85)
       << " The datarate for the file is lower than target by too much!";
-  ASSERT_LE(effective_datarate_[0], cfg_.rc_target_bitrate * 1.28)
+  ASSERT_LE(effective_datarate_[0], cfg_.rc_target_bitrate * 1.29)
       << " The datarate for the file is greater than target by too much!";
 }