comparison fft.h @ 5:5f3c32dc6e17

* Adjust comment syntax to permit Doxygen to generate HTML documentation; add Doxyfile
author Chris Cannam
date Wed, 06 Oct 2010 15:19:49 +0100
parents 6422640a802f
children 977f541d6683
comparison
equal deleted inserted replaced
4:92ee28024c05 5:5f3c32dc6e17
1 #ifndef fftH 1 #ifndef fftH
2 #define fftH 2 #define fftH
3 3
4 /* 4 /**
5 fft.cpp - fast Fourier and cosine transforms 5 \file fft.h - fast Fourier and cosine transforms
6 6
7 Arguments of the function in this unit roughly follow the following rules: 7 Arguments of the function in this unit roughly follow the following rules:
8 Wid : size of transform 8 Wid : size of transform
9 Order : log2(Wid) 9 Order : log2(Wid)
10 W : FFT buffer: twiddle factors, standard size Wid/2 10 W : FFT buffer: twiddle factors, standard size Wid/2
22 #include <math.h> 22 #include <math.h>
23 #include "xcomplex.h" 23 #include "xcomplex.h"
24 #include "align8.h" 24 #include "align8.h"
25 25
26 //--------------------------------------------------------------------------- 26 //---------------------------------------------------------------------------
27 /* 27 /**
28 macro AllocateFFTBuffer: allocates FFT buffers X and W of given length with an extra LDATA buffer the 28 macro AllocateFFTBuffer: allocates FFT buffers X and W of given length with an extra LDATA buffer the
29 right size for hosting such arrays as the standard-size window function or output amplitude spectrum. 29 right size for hosting such arrays as the standard-size window function or output amplitude spectrum.
30 30
31 This macro allocates buffer with 64-bit alignment, which must be freed with free8() or FreeFFTBuffer 31 This macro allocates buffer with 64-bit alignment, which must be freed with free8() or FreeFFTBuffer
32 macro. 32 macro.