diff i386/dsputil_mmx.c @ 5948:db875a610973 libavcodec

build vc1dsp_mmx.c in its own compilation unit
author aurel
date Tue, 27 Nov 2007 22:42:55 +0000
parents 37a03989871b
children d7ad613197d2
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Tue Nov 27 22:36:15 2007 +0000
+++ b/i386/dsputil_mmx.c	Tue Nov 27 22:42:55 2007 +0000
@@ -2843,10 +2843,6 @@
 #undef PREFETCH
 
 #include "h264dsp_mmx.c"
-#if defined(CONFIG_VC1_DECODER) || defined(CONFIG_WMV3_DECODER) \
-     || defined(CONFIG_VC1_ENCODER) || defined(CONFIG_WMV3_ENCODER)
-#include "vc1dsp_mmx.c"
-#endif
 
 /* AVS specific */
 void ff_cavsdsp_init_mmx2(DSPContext* c, AVCodecContext *avctx);
@@ -2864,6 +2860,13 @@
     avg_pixels16_mmx(dst, src, stride, 16);
 }
 
+/* VC1 specific */
+void ff_vc1dsp_init_mmx(DSPContext* dsp, AVCodecContext *avctx);
+
+void ff_put_vc1_mspel_mc00_mmx(uint8_t *dst, const uint8_t *src, int stride, int rnd) {
+    put_pixels8_mmx(dst, src, stride, 8);
+}
+
 /* external functions, from idct_mmx.c */
 void ff_mmx_idct(DCTELEM *block);
 void ff_mmxext_idct(DCTELEM *block);