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

Ramya Sriraman ramya at multicorewareinc.com
Thu Feb 11 09:12:53 CET 2016


To correct an error spotted by our smoke tests on Darwin.For a particular
case where the seed is 56B3EFA7 in 12 bit build and for a one particular
input buffer, the primitive fails because the difference in the C and ASM
values is more than 0.0001. The ASM function uses the same algo as C.


Thank you
Regards
Ramya

On Thu, Feb 11, 2016 at 1:27 PM, 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
>>
>
>
> _______________________________________________
> 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/ebc0c035/attachment.html>


More information about the x265-devel mailing list