[x265] [PATCH] integrating asm code for sa8d in primitives.cpp
Steve Borho
steve at borho.org
Thu Dec 5 07:57:25 CET 2013
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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131205/ce18b76a/attachment.sig>
More information about the x265-devel
mailing list