X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=imdct.c;h=6e0360b8b9018d951c7f1062b6411d4d48c80f76;hp=8bb52d955c90dea5861bd490ad7a2e5b4a84bf12;hb=f30c765f3c837b42d4c335315621631945636643;hpb=a2a2a72416bbdda9c0a6caf803fa81cc529fa117 diff --git a/imdct.c b/imdct.c index 8bb52d95..6e0360b8 100644 --- a/imdct.c +++ b/imdct.c @@ -29,12 +29,19 @@ 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; };