libavcodec/avfft.c File Reference
#include "libavutil/mem.h"
#include "avfft.h"
#include "fft.h"
#include "rdft.h"
#include "dct.h"
Go to the source code of this file.
Function Documentation
Do a complex FFT with the parameters defined in av_fft_init().
The input data must be permuted before. No 1.0/sqrt(n) normalization is done.
Definition at line 42 of file avfft.c.
FFTContext* av_fft_init |
( |
int |
nbits, |
|
|
int |
inverse | |
|
) |
| | |
Set up a complex FFT.
- Parameters:
-
| nbits | log2 of the length of the input array |
| inverse | if 0 perform the forward transform, if 1 perform the inverse |
Definition at line 27 of file avfft.c.
Do the permutation needed BEFORE calling ff_fft_calc().
Definition at line 37 of file avfft.c.