[Ffmpeg-cvslog] r8116 - trunk/libavcodec/i386/dsputil_mmx.c
diego
subversion
Sat Feb 24 12:58:52 CET 2007
Author: diego
Date: Sat Feb 24 12:58:52 2007
New Revision: 8116
Modified:
trunk/libavcodec/i386/dsputil_mmx.c
Log:
Fix wrong conditional, Snow decoding, not encoding, was SIMD-accelerated.
Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c (original)
+++ trunk/libavcodec/i386/dsputil_mmx.c Sat Feb 24 12:58:52 2007
@@ -3037,7 +3037,7 @@
asm volatile("emms");
}
-#ifdef CONFIG_SNOW_ENCODER
+#ifdef CONFIG_SNOW_DECODER
extern void ff_snow_horizontal_compose97i_sse2(DWTELEM *b, int width);
extern void ff_snow_horizontal_compose97i_mmx(DWTELEM *b, int width);
extern void ff_snow_vertical_compose97i_sse2(DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, DWTELEM *b3, DWTELEM *b4, DWTELEM *b5, int width);
@@ -3462,7 +3462,7 @@
c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_3dnow;
}
-#ifdef CONFIG_SNOW_ENCODER
+#ifdef CONFIG_SNOW_DECODER
if(mm_flags & MM_SSE2){
c->horizontal_compose97i = ff_snow_horizontal_compose97i_sse2;
c->vertical_compose97i = ff_snow_vertical_compose97i_sse2;
More information about the ffmpeg-cvslog
mailing list