[FFmpeg-cvslog] r23891 - trunk/libavcodec/x86/vp8dsp.asm

darkshikari subversion
Tue Jun 29 19:23:17 CEST 2010


Author: darkshikari
Date: Tue Jun 29 19:23:17 2010
New Revision: 23891

Log:
Use add instead of lshift in mmxext vp8 idct

Modified:
   trunk/libavcodec/x86/vp8dsp.asm

Modified: trunk/libavcodec/x86/vp8dsp.asm
==============================================================================
--- trunk/libavcodec/x86/vp8dsp.asm	Tue Jun 29 19:04:29 2010	(r23890)
+++ trunk/libavcodec/x86/vp8dsp.asm	Tue Jun 29 19:23:17 2010	(r23891)
@@ -939,8 +939,8 @@ cglobal vp8_idct_dc_add_sse4, 3, 3, 6
     pmulhw    %4, m6 ;20091(2)
     paddw     %3, %1
     paddw     %4, %2
-    psllw     %1, 1
-    psllw     %2, 1
+    paddw     %1, %1
+    paddw     %2, %2
     pmulhw    %1, m7 ;35468(1)
     pmulhw    %2, m7 ;35468(2)
     psubw     %1, %4



More information about the ffmpeg-cvslog mailing list