Merge "Update ResizeInternalTest threshold" into experimental

This commit is contained in:
John Koleszar 2013-03-11 16:18:36 -07:00 committed by Gerrit Code Review
commit e6d5ad6ea7

View File

@ -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];
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_;