[FFmpeg-cvslog] avcodec/x86/lossless_videodsp: use SPLATW in add_int16

Michael Niedermayer git at videolan.org
Tue Jan 21 03:27:23 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jan 21 02:33:20 2014 +0100| [63d2be7533b7406f3fb58f2e3b7e3954dd1fcc6d] | committer: Michael Niedermayer

avcodec/x86/lossless_videodsp: use SPLATW in add_int16

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=63d2be7533b7406f3fb58f2e3b7e3954dd1fcc6d
---

 libavcodec/x86/lossless_videodsp.asm |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavcodec/x86/lossless_videodsp.asm b/libavcodec/x86/lossless_videodsp.asm
index d33299c..8c429fa 100644
--- a/libavcodec/x86/lossless_videodsp.asm
+++ b/libavcodec/x86/lossless_videodsp.asm
@@ -25,9 +25,7 @@ SECTION_TEXT
 
 %macro ADD_INT16_LOOP 1 ; %1 = is_aligned
     movd      m4, maskq
-    punpcklwd m4, m4
-    punpcklwd m4, m4
-    punpcklwd m4, m4
+    SPLATW  m4, m4
     add     wq, wq
     test    wq, 2*mmsize - 1
     jz %%.tomainloop



More information about the ffmpeg-cvslog mailing list