aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mlpdsp.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-05-23 00:23:30 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-05-23 00:23:30 +0000
commit5624766d18f0529487d074e96dce9084b6561996 (patch)
treed1af178e0d17d70889548e9224be2750622cc777 /libavcodec/mlpdsp.c
parentc2b4c859a61f290b46252b0a884e888e81bd152c (diff)
downloadffmpeg-5624766d18f0529487d074e96dce9084b6561996.tar.gz
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32 9.98% overall speedup in x86_64 compared to gcc 4.3.3 Originally committed as revision 18903 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mlpdsp.c')
-rw-r--r--libavcodec/mlpdsp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mlpdsp.c b/libavcodec/mlpdsp.c
index 6519b16eab..79059d925a 100644
--- a/libavcodec/mlpdsp.c
+++ b/libavcodec/mlpdsp.c
@@ -55,7 +55,11 @@ static void ff_mlp_filter_channel(int32_t *state, const int32_t *coeff,
}
}
+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);
}