FFmpeg
|
#include <stdlib.h>
#include <math.h>
#include "libavutil/error.h"
#include "libavutil/mathematics.h"
#include "rdft.h"
Go to the source code of this file.
Macros | |
#define | RDFT_UNMANGLE(sign0, sign1) |
Functions | |
static void | rdft_calc_c (RDFTContext *s, FFTSample *data) |
Map one real FFT into two parallel real even and odd FFTs. More... | |
av_cold int | ff_rdft_init (RDFTContext *s, int nbits, enum RDFTransformType trans) |
Set up a real FFT. More... | |
av_cold void | ff_rdft_end (RDFTContext *s) |
(Inverse) Real Discrete Fourier Transforms.
Definition in file rdft.c.
#define RDFT_UNMANGLE | ( | sign0, | |
sign1 | |||
) |
|
static |
Map one real FFT into two parallel real even and odd FFTs.
Then interleave the two real FFTs into one complex FFT. Unmangle the results. ref: http://www.engineeringproductivitytools.com/stuff/T0001/PT10.HTM
Definition at line 36 of file rdft.c.
Referenced by ff_rdft_init().
av_cold int ff_rdft_init | ( | RDFTContext * | s, |
int | nbits, | ||
enum RDFTransformType | trans | ||
) |
Set up a real FFT.
nbits | log2 of the length of the input array |
trans | the type of transform |
Definition at line 89 of file rdft.c.
Referenced by decode_init(), ff_dct_init(), qdm2_decode_init(), and wmavoice_decode_init().
av_cold void ff_rdft_end | ( | RDFTContext * | s | ) |
Definition at line 117 of file rdft.c.
Referenced by decode_end(), ff_dct_end(), qdm2_decode_close(), and wmavoice_decode_end().