提交 82821c91 编写于 作者: C Christophe Gisquet 提交者: 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
上级 087b3272
...@@ -2838,6 +2838,10 @@ PREFETCH(prefetch_3dnow, prefetch) ...@@ -2838,6 +2838,10 @@ PREFETCH(prefetch_3dnow, prefetch)
#undef PREFETCH #undef PREFETCH
#include "h264dsp_mmx.c" #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 */ /* AVS specific */
void ff_cavsdsp_init_mmx2(DSPContext* c, AVCodecContext *avctx); void ff_cavsdsp_init_mmx2(DSPContext* c, AVCodecContext *avctx);
...@@ -3627,6 +3631,11 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) ...@@ -3627,6 +3631,11 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
ff_cavsdsp_init_mmx2(c, avctx); ff_cavsdsp_init_mmx2(c, avctx);
#endif #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 #ifdef CONFIG_ENCODERS
c->sub_hfyu_median_prediction= sub_hfyu_median_prediction_mmx2; c->sub_hfyu_median_prediction= sub_hfyu_median_prediction_mmx2;
#endif //CONFIG_ENCODERS #endif //CONFIG_ENCODERS
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册