aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.c
diff options
context:
space:
mode:
authorNedeljko Babic <nbabic@mips.com>2012-09-04 18:43:34 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-05 20:09:56 +0200
commitb3fdfc8c4e4d35430262e9c4dda0be040dec42ee (patch)
tree83b147333557738de81ce2ec2557a76785f9a780 /libavcodec/dsputil.c
parent9afd55922a5d8dfac1d968656cb570ff36d894d3 (diff)
downloadffmpeg-b3fdfc8c4e4d35430262e9c4dda0be040dec42ee.tar.gz
Optimization of AC3 floating point decoder for MIPS
FFT in MIPS implementation is working iteratively instead of "recursively" calling functions for smaller FFT sizes. Some of DSP and format convert utils functions are also optimized. Signed-off-by: Nedeljko Babic <nbabic@mips.com> Reviewed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r--libavcodec/dsputil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 5e4df5dea0..8ac425475c 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -3173,6 +3173,7 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx)
if (HAVE_MMI) ff_dsputil_init_mmi (c, avctx);
if (ARCH_SH4) ff_dsputil_init_sh4 (c, avctx);
if (ARCH_BFIN) ff_dsputil_init_bfin (c, avctx);
+ if (HAVE_MIPSFPU) ff_dsputil_init_mips (c, avctx);
for (i = 0; i < 4; i++) {
for (j = 0; j < 16; j++) {