Mercurial > libavcodec.hg
changeset 9705:1db34b8dcf15 libavcodec
mlp: Re-enable x86-optimized DSP functions.
author | ramiro |
---|---|
date | Mon, 25 May 2009 01:53:43 +0000 |
parents | dc3c984a1c1a |
children | 473fbc242b43 |
files | Makefile mlpdsp.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Mon May 25 01:52:05 2009 +0000 +++ b/Makefile Mon May 25 01:53:43 2009 +0000 @@ -445,8 +445,10 @@ MMX-OBJS-$(CONFIG_ENCODERS) += x86/dsputilenc_mmx.o MMX-OBJS-$(CONFIG_FLAC_ENCODER) += x86/flacdsp_mmx.o MMX-OBJS-$(CONFIG_GPL) += x86/idct_mmx.o +MMX-OBJS-$(CONFIG_MLP_DECODER) += x86/mlpdsp.o MMX-OBJS-$(CONFIG_SNOW_DECODER) += x86/snowdsp_mmx.o MMX-OBJS-$(CONFIG_THEORA_DECODER) += x86/vp3dsp_mmx.o x86/vp3dsp_sse2.o +MMX-OBJS-$(CONFIG_TRUEHD_DECODER) += x86/mlpdsp.o MMX-OBJS-$(CONFIG_VC1_DECODER) += x86/vc1dsp_mmx.o MMX-OBJS-$(CONFIG_VP3_DECODER) += x86/vp3dsp_mmx.o x86/vp3dsp_sse2.o MMX-OBJS-$(CONFIG_VP5_DECODER) += x86/vp3dsp_mmx.o x86/vp3dsp_sse2.o
--- a/mlpdsp.c Mon May 25 01:52:05 2009 +0000 +++ b/mlpdsp.c Mon May 25 01:53:43 2009 +0000 @@ -55,7 +55,11 @@ } } +void ff_mlp_init_x86(DSPContext* c, AVCodecContext *avctx); + void ff_mlp_init(DSPContext* c, AVCodecContext *avctx) { c->mlp_filter_channel = ff_mlp_filter_channel; + if (ARCH_X86) + ff_mlp_init_x86(c, avctx); }