ref: 93e10c8e87704e2e36aa3005995051dddea64911
parent: 111ca4213355ac4edd10b3c14461096d56e3f3d0
author: John Koleszar <jkoleszar@google.com>
date: Tue Mar 5 08:44:56 EST 2013
Update ResizeInternalTest threshold Improved coding performance made this test fail. Adjust the threshold so that it passes again. A more stable metric is an open TODO. Change-Id: I56e18749ced48123ee2488888a3eed631759912b
--- a/test/resize_test.cc
+++ b/test/resize_test.cc
@@ -118,7 +118,7 @@
virtual void PSNRPktHook(const vpx_codec_cx_pkt_t *pkt) {
if (!frame0_psnr_)
frame0_psnr_ = pkt->data.psnr.psnr[0];
- ASSERT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 0.025*frame0_psnr_);
+ EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 0.03*frame0_psnr_);
}
double frame0_psnr_;
--
⑨