[x265] [PATCH] asm: intra_pred_ang8_2 asm code
chen
chenm003 at 163.com
Wed Jan 8 17:57:47 CET 2014
>diff -r c4edab8dab65 -r 69f70cb95ea1 source/common/x86/intrapred8.asm
>--- a/source/common/x86/intrapred8.asm Tue Jan 07 18:36:17 2014 +0530
>+++ b/source/common/x86/intrapred8.asm Wed Jan 08 19:04:30 2014 +0530
>@@ -1107,6 +1107,34 @@
> RET
>
> ;-----------------------------------------------------------------------------
>+; void intraPredAng(pixel* dst, intptr_t dstStride, pixel *refLeft, pixel *refAbove, int dirMode, int bFilter)
>+;-----------------------------------------------------------------------------
>+INIT_XMM ssse3
>+cglobal intra_pred_ang8_2, 3,3,4
you use r4 and m1, so it is declare is "3,5,2"
>+ cmp r4m, byte 34
>+ cmove r2, r3mp
>+ movu m0, [r2 + 2]
>+ lea r4, [r1 * 3]
>+
>+ movh [r0], m0
>+ palignr m1, m0, 1
>+ movh [r0 + r1], m1
>+ palignr m1, m0, 2
>+ movh [r0 + r1 * 2], m1
>+ palignr m1, m0, 3
>+ movh [r0 + r4], m1
>+ palignr m1, m0, 4
>+ lea r0, [r0 + r1 * 4]
>+ movh [r0], m1
>+ palignr m1, m0, 5
>+ movh [r0 + r1], m1
>+ palignr m1, m0, 6
>+ movh [r0 + r1 * 2], m1
>+ palignr m1, m0, 7
>+ movh [r0 + r4], m1
>+ RET
>+
>+;-----------------------------------------------------------------------------
> ; void all_angs_pred_4x4(pixel *dest, pixel *above0, pixel *left0, pixel *above1, pixel *left1, bool bLuma)
> ;-----------------------------------------------------------------------------
> INIT_XMM sse4
>_______________________________________________
>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/20140109/14cd24cb/attachment.html>
More information about the x265-devel
mailing list