diff options
author | Nedeljko Babic <nbabic@mips.com> | 2013-06-03 16:11:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-04 14:01:41 +0200 |
commit | 18d7074b4e5a1112cfa6a53dde0faa25d2bd0b15 (patch) | |
tree | 0d23cbed3eb59d91ba5c734a7222a6ae02c72cba /tests/fate/fft.mak | |
parent | 27cc3e72f8502d6239dcd0f1dd3fe73f1c85355d (diff) | |
download | ffmpeg-18d7074b4e5a1112cfa6a53dde0faa25d2bd0b15.tar.gz |
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>
Diffstat (limited to 'tests/fate/fft.mak')
-rw-r--r-- | tests/fate/fft.mak | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/tests/fate/fft.mak b/tests/fate/fft.mak index 20d563828f..2413415c21 100644 --- a/tests/fate/fft.mak +++ b/tests/fate/fft.mak @@ -38,5 +38,22 @@ $(FATE_FFT_FIXED): libavcodec/fft-fixed-test$(EXESUF) $(FATE_FFT_FIXED): CMD = run libavcodec/fft-fixed-test $(CPUFLAGS:%=-c%) $(ARGS) $(FATE_FFT_FIXED): REF = /dev/null -FATE-$(call ALLYES, AVCODEC FFT) += $(FATE_FFT) $(FATE_FFT_FIXED) -fate-fft: $(FATE_FFT) $(FATE_FFT_FIXED) +define DEF_FFT_FIXED32 +FATE_FFT_FIXED32 += fate-fft-fixed32-$(1) fate-ifft-fixed32-$(1) \ + fate-mdct-fixed32-$(1) fate-imdct-fixed32-$(1) + +fate-fft-fixed32-$(1): ARGS = -n$(1) +fate-ifft-fixed32-$(1): ARGS = -n$(1) -i +#fate-mdct-fixed32-$(1): ARGS = -n$(1) -m +fate-imdct-fixed32-$(1): ARGS = -n$(1) -m -i +endef + +$(foreach N, 4 5 6 7 8 9 10 11 12, $(eval $(call DEF_FFT_FIXED32,$(N)))) + +fate-fft-fixed32-test: $(FATE_FFT_FIXED32) +$(FATE_FFT_FIXED32): libavcodec/fft-fixed32-test$(EXESUF) +$(FATE_FFT_FIXED32): CMD = run libavcodec/fft-fixed32-test $(CPUFLAGS:%=-c%) $(ARGS) +$(FATE_FFT_FIXED32): REF = /dev/null + +FATE-$(call ALLYES, AVCODEC FFT) += $(FATE_FFT) $(FATE_FFT_FIXED) $(FATE_FFT_FIXED32) +fate-fft: $(FATE_FFT) $(FATE_FFT_FIXED) $(FATE_FFT_FIXED32) |