From: John Koleszar Date: Mon, 18 Mar 2013 22:17:45 +0000 (-0700) Subject: VP9/ResizeInternalTest: adjust passing threshold X-Git-Tag: v1.3.0~1151^2~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=449f136886e96fcf448bf9b68952977da703c614;p=libvpx VP9/ResizeInternalTest: adjust passing threshold Update to +/- 1dB. Change-Id: Idada001f261b36945c9334e288a415ee2c79c415 --- diff --git a/test/resize_test.cc b/test/resize_test.cc index e4b3c6a46..0d591ad87 100644 --- a/test/resize_test.cc +++ b/test/resize_test.cc @@ -118,7 +118,7 @@ class ResizeInternalTest : public ResizeTest { virtual void PSNRPktHook(const vpx_codec_cx_pkt_t *pkt) { if (!frame0_psnr_) frame0_psnr_ = pkt->data.psnr.psnr[0]; - EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 0.03*frame0_psnr_); + EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 1.0); } double frame0_psnr_;