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

chen chenm003 at 163.com
Thu Feb 11 09:23:10 CET 2016


The LLVM maybe optimize and reorder float operators, it give us different output with GCC/MSVC.


At 2016-02-11 15:57:02,"Pradeep Ramachandran" <pradeep at multicorewareinc.com> wrote:

Why is this necessary?
Pradeep.


On Thu, Feb 11, 2016 at 1:04 PM, <ramya at multicorewareinc.com> wrote:
# 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();
_______________________________________________
x265-devel mailing list
x265-devel at videolan.org
https://mailman.videolan.org/listinfo/x265-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160211/f463bc21/attachment.html>


More information about the x265-devel mailing list