[x265] [PATCH] integrating asm code for sa8d in primitives.cpp

chen chenm003 at 163.com
Thu Dec 5 10:14:38 CET 2013


Thanks Yuvaraj!
I have apply your patch in local treeand upload tonight.



At 2013-12-05 14:57:25,"Steve Borho" <steve at borho.org> wrote:
>
>On Dec 5, 2013, at 12:55 AM, Yuvaraj at multicorewareinc.com wrote:
>
>> # HG changeset patch
>> # User Yuvaraj Venkatesh <yuvaraj at multicorewareinc.com>
>> # Date 1386226346 -19800
>> #      Thu Dec 05 12:22:26 2013 +0530
>> # Node ID 87e6792f52249f74b27e2175455f47ab21290350
>> # Parent  d35b423823312ab5cdc51d2d144d8b9b2c008c66
>> integrating asm code for sa8d in primitives.cpp
>> 
>> there was no separate functions for sa8d in assembly, we are just re-using sa8d_inter functions for sa8d.
>
>Nice catch.  I think Min should queue this one.
>
>> 
>> diff -r d35b42382331 -r 87e6792f5224 source/common/primitives.cpp
>> --- a/source/common/primitives.cpp	Wed Dec 04 22:44:18 2013 -0600
>> +++ b/source/common/primitives.cpp	Thu Dec 05 12:22:26 2013 +0530
>> @@ -130,10 +130,11 @@
>>     Setup_Assembly_Primitives(primitives, cpuid);
>> #endif
>> 
>> -    primitives.sa8d_inter[LUMA_8x8] = primitives.sa8d[BLOCK_8x8];
>> -    primitives.sa8d_inter[LUMA_16x16] = primitives.sa8d[BLOCK_16x16];
>> -    primitives.sa8d_inter[LUMA_32x32] = primitives.sa8d[BLOCK_32x32];
>> -    primitives.sa8d_inter[LUMA_64x64] = primitives.sa8d[BLOCK_64x64];
>> +    primitives.sa8d[BLOCK_4x4] = primitives.sa8d_inter[LUMA_4x4];
>> +    primitives.sa8d[BLOCK_8x8] = primitives.sa8d_inter[LUMA_8x8];
>> +    primitives.sa8d[BLOCK_16x16] = primitives.sa8d_inter[LUMA_16x16];
>> +    primitives.sa8d[BLOCK_32x32] = primitives.sa8d_inter[LUMA_32x32];
>> +    primitives.sa8d[BLOCK_64x64] = primitives.sa8d_inter[LUMA_64x64];
>> 
>>     // SA8D devolves to SATD for blocks not even multiples of 8x8
>>     primitives.sa8d_inter[LUMA_4x4]   = primitives.satd[LUMA_4x4];
>> _______________________________________________
>> 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/20131205/651503e0/attachment-0001.html>


More information about the x265-devel mailing list