[x265] [PATCH] testbench: Change error range in check_ssim_end4 from 0.0001 to 0.001

ramya at multicorewareinc.com ramya at multicorewareinc.com
Thu Feb 11 08:34:14 CET 2016


# HG changeset patch
# User Ramya Sriraman <ramya at multicorewareinc.com>
# Date 1455173784 -19800
#      Thu Feb 11 12:26:24 2016 +0530
# Node ID b22558e286d95befb2730bcfd8b3613c981ff9d2
# Parent  822782933427f19e76b34f340a3c52fb4bc95424
testbench: Change error range in check_ssim_end4 from 0.0001 to 0.001

diff -r 822782933427 -r b22558e286d9 source/test/pixelharness.cpp
--- a/source/test/pixelharness.cpp	Tue Feb 09 12:05:42 2016 +0530
+++ b/source/test/pixelharness.cpp	Thu Feb 11 12:26:24 2016 +0530
@@ -858,7 +858,7 @@
         int width = (rand() % 4) + 1; // range[1-4]
         float cres = ref(sum0, sum1, width);
         float vres = checked_float(opt, sum0, sum1, width);
-        if (fabs(vres - cres) > 0.0001)
+        if (fabs(vres - cres) > 0.001)
             return false;
 
         reportfail();


More information about the x265-devel mailing list