summaryrefslogtreecommitdiff
path: root/libavcodec/i386/dsputil_mmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/i386/dsputil_mmx.c')
-rw-r--r--libavcodec/i386/dsputil_mmx.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 7a63d2562f..1310eb4eef 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -2838,6 +2838,10 @@ PREFETCH(prefetch_3dnow, prefetch)
#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 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
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