]> granicus.if.org Git - libvpx/commitdiff
Adjustment to allowed range in resize unit test
authorPaul Wilkins <paulwilkins@google.com>
Fri, 11 Oct 2013 12:27:22 +0000 (13:27 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Fri, 11 Oct 2013 12:38:24 +0000 (13:38 +0100)
Change-Id: I5222e3db2627a3a9f7fc34f2ab4554aa5807ed51

test/resize_test.cc

index d194dfdc7942dd03edd0294835f51a0f28f4088c..e8c2c825b0f93865fff9b22c3f289a9fada94811 100644 (file)
@@ -208,7 +208,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_, 1.0);
+    EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 1.5);
   }
 
   virtual void FramePktHook(const vpx_codec_cx_pkt_t *pkt) {