diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-05-23 00:23:30 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-05-23 00:23:30 +0000 |
commit | 5624766d18f0529487d074e96dce9084b6561996 (patch) | |
tree | d1af178e0d17d70889548e9224be2750622cc777 /libavcodec/mlpdsp.c | |
parent | c2b4c859a61f290b46252b0a884e888e81bd152c (diff) | |
download | ffmpeg-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.c | 4 |
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); } |