aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/x86util.asm
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-02 23:21:31 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-08-03 04:24:15 +0200
commitd0f56ca0710157144fe00c075dd508085df716ef (patch)
treef17db39ee285ff5aaabe4b1cc24c6a3a95b1f3cf /libavutil/x86/x86util.asm
parent2e6fdcb7f3c86491408a3699f0aa9dc52b7c5686 (diff)
downloadffmpeg-d0f56ca0710157144fe00c075dd508085df716ef.tar.gz
x86/hevc_deblock: improve 8bit transpose store macros
Up to four instructions less depending on function and instruction set. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/x86util.asm')
-rw-r--r--libavutil/x86/x86util.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm
index 824e449d24..0d0ef0799d 100644
--- a/libavutil/x86/x86util.asm
+++ b/libavutil/x86/x86util.asm
@@ -69,6 +69,15 @@
SWAP %2, %3
%endmacro
+%macro TRANSPOSE2x4x4B 5
+ SBUTTERFLY bw, %1, %2, %5
+ SBUTTERFLY bw, %3, %4, %5
+ SBUTTERFLY wd, %1, %3, %5
+ SBUTTERFLY wd, %2, %4, %5
+ SBUTTERFLY dq, %1, %2, %5
+ SBUTTERFLY dq, %3, %4, %5
+%endmacro
+
%macro TRANSPOSE2x4x4W 5
SBUTTERFLY wd, %1, %2, %5
SBUTTERFLY wd, %3, %4, %5