mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-05-01 03:56:53 +08:00
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:
committed by
Michael Niedermayer
parent
27cc3e72f8
commit
18d7074b4e
@@ -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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user