From f30c765f3c837b42d4c335315621631945636643 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 14 Nov 2009 12:47:41 +0100 Subject: [PATCH] imdct.c: Add some more documentation. --- imdct.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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; }; -- 2.39.5