[FFmpeg-cvslog] r11090 - trunk/libavcodec/i386/vc1dsp_mmx.c
gpoirier
subversion
Sun Nov 25 10:43:35 CET 2007
Author: gpoirier
Date: Sun Nov 25 10:43:35 2007
New Revision: 11090
Log:
Typo fix. Previous version had some picture error building up until next keyframe.
Now MMX version decodes 1:1 what the C version does
patch by Christophe GISQUET %christophe P gisquet A free P fr%
Modified:
trunk/libavcodec/i386/vc1dsp_mmx.c
Modified: trunk/libavcodec/i386/vc1dsp_mmx.c
==============================================================================
--- trunk/libavcodec/i386/vc1dsp_mmx.c (original)
+++ trunk/libavcodec/i386/vc1dsp_mmx.c Sun Nov 25 10:43:35 2007
@@ -175,8 +175,8 @@ static void vc1_put_shift2_mmx(uint8_t *
"punpcklbw %%mm0, %%mm2 \n\t"
"paddw %%mm1, %%mm3 \n\t"
"paddw %%mm2, %%mm4 \n\t"
- "movd 0(%1,%3), %%mm1 \n\t"
- "movd 4(%1,%3), %%mm2 \n\t"
+ "movd 0(%1,%4), %%mm1 \n\t"
+ "movd 4(%1,%4), %%mm2 \n\t"
"pmullw %%mm6, %%mm3 \n\t" /* 0,9,9,0*/
"pmullw %%mm6, %%mm4 \n\t" /* 0,9,9,0*/
"punpcklbw %%mm0, %%mm1 \n\t"
More information about the ffmpeg-cvslog
mailing list