diff options
author | Nedeljko Babic <nbabic@mips.com> | 2012-09-04 18:43:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-05 20:09:56 +0200 |
commit | b3fdfc8c4e4d35430262e9c4dda0be040dec42ee (patch) | |
tree | 83b147333557738de81ce2ec2557a76785f9a780 /libavcodec/fft.c | |
parent | 9afd55922a5d8dfac1d968656cb570ff36d894d3 (diff) | |
download | ffmpeg-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/fft.c')
-rw-r--r-- | libavcodec/fft.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c index 6b93a5cdf3..e5bdcbd7ab 100644 --- a/libavcodec/fft.c +++ b/libavcodec/fft.c @@ -162,6 +162,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse) if (HAVE_ALTIVEC) ff_fft_init_altivec(s); if (HAVE_MMX) ff_fft_init_mmx(s); if (CONFIG_MDCT) s->mdct_calcw = s->mdct_calc; + if (HAVE_MIPSFPU) ff_fft_init_mips(s); #else if (CONFIG_MDCT) s->mdct_calcw = ff_mdct_calcw_c; if (ARCH_ARM) ff_fft_fixed_init_arm(s); |