shithub: libvpx

Download patch

ref: fff358fb068b0e7796734806ea53083fbe80056d
parent: af69ed20c4be1d8fda493334105a51ecb45cd6d4
author: Jerome Jiang <[email protected]>
date: Fri May 5 12:50:19 EDT 2017

Change target bitrate thresh in denoiser test.

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

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