[x265] [PATCH Review Only, Need to code all modes] all_angs_pred_8x8, asm code for mode 2
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Thu Dec 5 12:56:15 CET 2013
# HG changeset patch
# User Praveen Tiwari
# Date 1386244533 -19800
# Node ID a375e50b53708d4f5ce16096d1b0f26c91cd69f1
# Parent 8c70861d01fd18929a1d5c8559f4a0f363a8ccd9
all_angs_pred_8x8, asm code for mode 2
diff -r 8c70861d01fd -r a375e50b5370 source/common/x86/intrapred8.asm
--- a/source/common/x86/intrapred8.asm Thu Dec 05 11:51:23 2013 +0530
+++ b/source/common/x86/intrapred8.asm Thu Dec 05 17:25:33 2013 +0530
@@ -1723,3 +1723,34 @@
movd [r0 + 524], m1
RET
+
+;-----------------------------------------------------------------------------
+; void all_angs_pred_8x8(pixel *dest, pixel *above0, pixel *left0, pixel *above1, pixel *left1, bool bLuma)
+;-----------------------------------------------------------------------------
+INIT_XMM sse4
+cglobal all_angs_pred_8x8, 6, 6, 8 dest, above0, left0, above1, left1, bLuma
+
+; mode 2
+
+movu m0, [r4 + 2]
+
+palignr m1, m0, 1
+punpcklqdq m0, m1
+movu [r0], m0
+
+psrldq m1, 1
+palignr m0, m1, 1
+punpcklqdq m1, m0
+movu [r0 + 16], m1
+
+psrldq m0, 1
+palignr m1, m0, 1
+punpcklqdq m0, m1
+movu [r0 + 32], m0
+
+psrldq m1, 1
+palignr m0, m1, 1
+punpcklqdq m1, m0
+movu [r0 + 48], m1
+
+RET
More information about the x265-devel
mailing list