typedef float fftsample_t;
+/** Canonical representation of a complex number. */
struct fft_complex {
- fftsample_t re, im;
+ /** Real part. */
+ fftsample_t re;
+ /** Imaginary part. */
+ fftsample_t im;
};
+/** FFT Lookup table. */
struct fft_context {
+ /** Number of bits of this instance of the FFT. */
int nbits;
+ /** The lookup table for cosine values. */
uint16_t *revtab;
};