[FFmpeg-cvslog] x86/vp9lpf: use fewer instructions in SPLATB_MIX

James Almer git at videolan.org
Tue Aug 5 03:00:55 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Aug  3 23:53:40 2014 -0300| [de417982e8977a1dbf05b48c9d0400c500bb5268] | committer: Michael Niedermayer

x86/vp9lpf: use fewer instructions in SPLATB_MIX

Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/x86/vp9lpf.asm |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/libavcodec/x86/vp9lpf.asm b/libavcodec/x86/vp9lpf.asm
index c5db0ca..def7d5a 100644
--- a/libavcodec/x86/vp9lpf.asm
+++ b/libavcodec/x86/vp9lpf.asm
@@ -302,9 +302,8 @@ SECTION .text
     pshufb     %1, %2
 %else
     punpcklbw  %1, %1
-    punpcklqdq %1, %1
-    pshuflw    %1, %1, 0
-    pshufhw    %1, %1, 0x55
+    punpcklwd  %1, %1
+    punpckldq  %1, %1
 %endif
 %endmacro
 



More information about the ffmpeg-cvslog mailing list