diff --git a/CHANGELOG b/CHANGELOG index c0a6c70..54d2070 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,8 +3,7 @@ If the same buffer pointer is supplied for both in and out, kiss will manage the buffer copies. - added kiss_fft2d as a separate source file (declarations in kiss_fft.h ) - + added kiss_fft2d and kiss_fftr as separate source files (declarations in kiss_fft.h ) 0.4 : optimized for radix 2,3,4,5 diff --git a/kiss_fft.h b/kiss_fft.h index 4a89929..f08b5b9 100644 --- a/kiss_fft.h +++ b/kiss_fft.h @@ -58,15 +58,13 @@ void kiss_fft(const void * cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout); void * kiss_fft2d_alloc(int nrows,int ncols,int inverse_fft); void kiss_fft2d(const void* cfg_from_alloc , const kiss_fft_cpx *fin,kiss_fft_cpx *fout ); - -/* Real optimized version can save about 40% cpu time vs. complex fft of a real seq. +/* Real optimized version can save about 45% cpu time vs. complex fft of a real seq. */ void * kiss_fftr_alloc(int nfft,int inverse_fft); void kiss_fftr(const void * cfg,const kiss_fft_scalar *timedata,kiss_fft_cpx *freqdata); void kiss_fftri(const void * cfg,const kiss_fft_cpx *freqdata,kiss_fft_scalar *timedata); - /* when done with the cfg for a given fft size and direction, simply free it*/ #define kiss_fft_free free diff --git a/test/Makefile b/test/Makefile index 217d6c5..f6181f4 100644 --- a/test/Makefile +++ b/test/Makefile @@ -63,4 +63,4 @@ snr: all test: snr time fftw clean: - rm -f *~ fftutil_* bm_* *.dat + rm -f *~ fftutil_* bm_* tr_* *.dat diff --git a/test/test_real.c b/test/test_real.c index cf17a5e..10d3e77 100644 --- a/test/test_real.c +++ b/test/test_real.c @@ -38,7 +38,7 @@ double snr_compare( kiss_fft_cpx * vec1,kiss_fft_cpx * vec2, int n) #ifndef RANDOM #define NFFT 8 #else -#define NFFT 1800 +#define NFFT 2*3*5*7*11 #endif #ifndef NUMFFTS diff --git a/tools/Makefile b/tools/Makefile index 217d6c5..f6181f4 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -63,4 +63,4 @@ snr: all test: snr time fftw clean: - rm -f *~ fftutil_* bm_* *.dat + rm -f *~ fftutil_* bm_* tr_* *.dat