libavcodec: Implementation of 32 bit fixed point FFT

Iterative implementation of 32 bit fixed point split-radix FFT.
Max FFT that can be calculated currently is 2^12.

Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Nedeljko Babic
2013-06-03 16:11:12 +02:00
committed by Michael Niedermayer
parent 27cc3e72f8
commit 18d7074b4e
19 changed files with 543 additions and 36 deletions
+4
View File
@@ -34,7 +34,11 @@
#if CONFIG_FFT_FLOAT
# define RSCALE(x) (x)
#else
#if CONFIG_FFT_FIXED_32
# define RSCALE(x) (((x) + 32) >> 6)
#else /* CONFIG_FFT_FIXED_32 */
# define RSCALE(x) ((x) >> 1)
#endif /* CONFIG_FFT_FIXED_32 */
#endif
/**