[FFmpeg-devel] [PATCH] libavcodec/mips: fix for mips optimized fp fft with hard coded tables disabled
Nedeljko Babic
nedeljko.babic at imgtec.com
Wed Mar 20 11:43:40 CET 2013
From: Nedeljko Babic <nbabic at mips.com>
Floating point FFT (nips optimized) breaks when hard coded tables are
not enabled because MIPS optimization of floating point FFT uses only
ff_init_ff_cos_tabs(16) which is not enabled by default in that case.
This patch is fixing it.
Signed-off-by: Nedeljko Babic <nbabic at mips.com>
---
libavcodec/mips/fft_mips.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/mips/fft_mips.c b/libavcodec/mips/fft_mips.c
index 8a2d86e..cad41d2 100644
--- a/libavcodec/mips/fft_mips.c
+++ b/libavcodec/mips/fft_mips.c
@@ -519,6 +519,7 @@ av_cold void ff_fft_init_mips(FFTContext *s)
int n=0;
ff_fft_lut_init(fft_offsets_lut, 0, 1 << 16, &n);
+ ff_init_ff_cos_tabs(16);
#if HAVE_INLINE_ASM
s->fft_calc = ff_fft_calc_mips;
--
1.7.3.4
More information about the ffmpeg-devel
mailing list