diff i386/dsputil_mmx.c @ 5933:6ce8f15fc02b libavcodec

add VC-1 MMX DSP functions, under MIT license. patch by Christophe GISQUET %christophe P gisquet A free P fr% original thread: date: Jul 7, 2007 12:52 PM subject: [FFmpeg-devel] [PATCH] VC-1 MMX DSP functions
author gpoirier
date Wed, 21 Nov 2007 22:41:31 +0000
parents f75ee7ea171b
children 55251379b5b1
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Mon Nov 19 20:33:25 2007 +0000
+++ b/i386/dsputil_mmx.c	Wed Nov 21 22:41:31 2007 +0000
@@ -2838,6 +2838,10 @@
 #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);
@@ -3627,6 +3631,11 @@
             ff_cavsdsp_init_mmx2(c, avctx);
 #endif
 
+#if defined(CONFIG_VC1_DECODER) || defined(CONFIG_WMV3_DECODER) \
+     || defined(CONFIG_VC1_ENCODER) || defined(CONFIG_WMV3_ENCODER)
+            ff_vc1dsp_init_mmx(c, avctx);
+#endif
+
 #ifdef CONFIG_ENCODERS
             c->sub_hfyu_median_prediction= sub_hfyu_median_prediction_mmx2;
 #endif //CONFIG_ENCODERS