Commit 82821c91 authored by Christophe Gisquet's avatar Christophe Gisquet Committed by Guillaume Poirier

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

Originally committed as revision 11074 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 087b3272
......@@ -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
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment