summaryrefslogtreecommitdiffstats
path: root/libavcodec/fmtconvert.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/fmtconvert.c
parent9afd55922a5d8dfac1d968656cb570ff36d894d3 (diff)
downloadffmpeg-streaming-b3fdfc8c4e4d35430262e9c4dda0be040dec42ee.zip
ffmpeg-streaming-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/fmtconvert.c')
-rw-r--r--libavcodec/fmtconvert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c
index 7f2dc7f..372f2a3 100644
--- a/libavcodec/fmtconvert.c
+++ b/libavcodec/fmtconvert.c
@@ -86,6 +86,7 @@ av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx)
if (ARCH_ARM) ff_fmt_convert_init_arm(c, avctx);
if (HAVE_ALTIVEC) ff_fmt_convert_init_altivec(c, avctx);
if (HAVE_MMX) ff_fmt_convert_init_x86(c, avctx);
+ if (HAVE_MIPSFPU) ff_fmt_convert_init_mips(c);
}
/* ffdshow custom code */
OpenPOWER on IntegriCloud