#include "dsputil.h"
Go to the source code of this file.
Defines | |
#define | BF(pre, pim, qre, qim, pre1, pim1, qre1, qim1) |
#define | MUL16(a, b) ((a) * (b)) |
#define | CMUL(pre, pim, are, aim, bre, bim) |
Functions | |
int | ff_fft_init (FFTContext *s, int nbits, int inverse) |
The size of the FFT is 2^nbits. | |
void | ff_fft_calc_c (FFTContext *s, FFTComplex *z) |
Do a complex FFT with the parameters defined in ff_fft_init(). | |
void | ff_fft_permute (FFTContext *s, FFTComplex *z) |
Do the permutation needed BEFORE calling ff_fft_calc(). | |
void | ff_fft_end (FFTContext *s) |
Definition in file fft.c.
#define BF | ( | pre, | |||
pim, | |||||
qre, | |||||
qim, | |||||
pre1, | |||||
pim1, | |||||
qre1, | |||||
qim1 | ) |
#define CMUL | ( | pre, | |||
pim, | |||||
are, | |||||
aim, | |||||
bre, | |||||
bim | ) |
void ff_fft_calc_c | ( | FFTContext * | s, | |
FFTComplex * | z | |||
) |
Do a complex FFT with the parameters defined in ff_fft_init().
The input data must be permuted before with s->revtab table. No 1.0/sqrt(n) normalization is done.
Definition at line 161 of file fft.c.
Referenced by ff_fft_init().
void ff_fft_end | ( | FFTContext * | s | ) |
Definition at line 256 of file fft.c.
Referenced by ff_mdct_end(), imc_decode_close(), main(), and qdm2_decode_close().
int ff_fft_init | ( | FFTContext * | s, | |
int | nbits, | |||
int | inverse | |||
) |
The size of the FFT is 2^nbits.
If inverse is TRUE, inverse FFT is done
Definition at line 33 of file fft.c.
Referenced by ff_mdct_init(), imc_decode_init(), main(), and qdm2_decode_init().
void ff_fft_permute | ( | FFTContext * | s, | |
FFTComplex * | z | |||
) |
Do the permutation needed BEFORE calling ff_fft_calc().
Definition at line 238 of file fft.c.
Referenced by imc_imdct256(), main(), and qdm2_calculate_fft().