Updating dump_modes to include the MDCT and FFT. More work needed.

This commit is contained in:
Jean-Marc Valin 2010-08-25 18:01:50 -04:00
parent 3fc0aada01
commit 24eef1493e
6 changed files with 102 additions and 52 deletions

View file

@ -24,22 +24,6 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
typedef struct { kiss_fft_scalar r; kiss_fft_scalar i; }kiss_fft_cpx; */
#include "kiss_fft.h"
#define MAXFACTORS 8
/* e.g. an fft of length 128 has 4 factors
as far as kissfft is concerned
4*4*4*2
*/
struct kiss_fft_state{
int nfft;
#ifndef FIXED_POINT
kiss_fft_scalar scale;
#endif
int shift;
celt_int16 factors[2*MAXFACTORS];
celt_int16 *bitrev;
kiss_twiddle_cpx *twiddles;
};
/*
Explanation of macros dealing with complex math: