FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | FFTDComplex |
struct | FFTContext |
Macros | |
#define | FFT_FLOAT 1 |
#define | FFT_FIXED_32 0 |
#define | FFT_NAME(x) x |
#define | COSTABLE_CONST |
#define | COSTABLE(size) COSTABLE_CONST DECLARE_ALIGNED(32, FFTSample, FFT_NAME(ff_cos_##size))[size/2] |
#define | ff_init_ff_cos_tabs FFT_NAME(ff_init_ff_cos_tabs) |
#define | ff_fft_init FFT_NAME(ff_fft_init) |
#define | ff_fft_end FFT_NAME(ff_fft_end) |
#define | ff_mdct_init FFT_NAME(ff_mdct_init) |
#define | ff_mdct_end FFT_NAME(ff_mdct_end) |
Typedefs | |
typedef float | FFTDouble |
Enumerations | |
enum | fft_permutation_type { FF_FFT_PERM_DEFAULT, FF_FFT_PERM_SWAP_LSBS, FF_FFT_PERM_AVX } |
enum | mdct_permutation_type { FF_MDCT_PERM_NONE, FF_MDCT_PERM_INTERLEAVE } |
Functions | |
COSTABLE (16) | |
COSTABLE (32) | |
COSTABLE (64) | |
COSTABLE (128) | |
COSTABLE (256) | |
COSTABLE (512) | |
COSTABLE (1024) | |
COSTABLE (2048) | |
COSTABLE (4096) | |
COSTABLE (8192) | |
COSTABLE (16384) | |
COSTABLE (32768) | |
COSTABLE (65536) | |
COSTABLE_CONST FFTSample *const | FFT_NAME (ff_cos_tabs)[17] |
void | ff_init_ff_cos_tabs (int index) |
Initialize the cosine table in ff_cos_tabs[index]. | |
int | ff_fft_init (FFTContext *s, int nbits, int inverse) |
Set up a complex FFT. | |
void | ff_fft_init_aarch64 (FFTContext *s) |
void | ff_fft_init_x86 (FFTContext *s) |
void | ff_fft_init_arm (FFTContext *s) |
void | ff_fft_init_mips (FFTContext *s) |
FFT transform. | |
void | ff_fft_init_ppc (FFTContext *s) |
void | ff_fft_fixed_init_arm (FFTContext *s) |
void | ff_fft_end (FFTContext *s) |
int | ff_mdct_init (FFTContext *s, int nbits, int inverse, double scale) |
init MDCT or IMDCT computation. | |
void | ff_mdct_end (FFTContext *s) |
#define FFT_NAME | ( | x | ) | x |
Definition at line 41 of file fft.h.
Referenced by ff_init_ff_cos_tabs(), and fft16().
#define COSTABLE | ( | size | ) | COSTABLE_CONST DECLARE_ALIGNED(32, FFTSample, FFT_NAME(ff_cos_##size))[size/2] |
#define ff_init_ff_cos_tabs FFT_NAME(ff_init_ff_cos_tabs) |
Definition at line 139 of file fft.h.
Referenced by ff_dct_init(), ff_fft_init(), ff_fft_init_mips(), and ff_rdft_init().
#define ff_fft_init FFT_NAME(ff_fft_init) |
Definition at line 147 of file fft.h.
Referenced by av_fft_init(), ff_mdct_init(), ff_rdft_init(), imc_decode_init(), main(), and on2avc_decode_init().
#define ff_fft_end FFT_NAME(ff_fft_end) |
Definition at line 148 of file fft.h.
Referenced by av_fft_end(), ff_mdct_end(), ff_rdft_end(), imc_decode_close(), main(), and on2avc_decode_close().
#define ff_mdct_init FFT_NAME(ff_mdct_init) |
Definition at line 167 of file fft.h.
Referenced by aac_decode_init(), ac3_decode_init(), atrac1_decode_init(), atrac3_decode_init(), atrac3p_decode_init(), create_vorbis_context(), dca_decode_init(), decode_init(), dsp_init(), encode_init(), ff_aac_sbr_ctx_init(), ff_ac3_float_mdct_init(), ff_atrac3p_init_imdct(), init_cook_mlt(), init_mdct_win(), main(), mdct_init(), on2avc_decode_init(), vorbis_parse_id_hdr(), and wma_decode_init().
#define ff_mdct_end FFT_NAME(ff_mdct_end) |
Definition at line 168 of file fft.h.
Referenced by aac_decode_close(), aac_encode_end(), ac3_decode_end(), atrac1_decode_end(), atrac3_decode_close(), cook_decode_close(), dca_decode_end(), decode_end(), encode_end(), ff_aac_sbr_ctx_close(), ff_ac3_float_mdct_end(), ff_mdct_init(), ff_twinvq_decode_close(), ff_wma_end(), main(), mdct_end(), on2avc_decode_close(), vorbis_encode_close(), and vorbis_free().
enum fft_permutation_type |
COSTABLE | ( | 16 | ) |
COSTABLE | ( | 32 | ) |
COSTABLE | ( | 64 | ) |
COSTABLE | ( | 128 | ) |
COSTABLE | ( | 256 | ) |
COSTABLE | ( | 512 | ) |
COSTABLE | ( | 1024 | ) |
COSTABLE | ( | 2048 | ) |
COSTABLE | ( | 4096 | ) |
COSTABLE | ( | 8192 | ) |
COSTABLE | ( | 16384 | ) |
COSTABLE | ( | 32768 | ) |
COSTABLE | ( | 65536 | ) |
COSTABLE_CONST FFTSample* const FFT_NAME | ( | ff_cos_tabs | ) |
void ff_init_ff_cos_tabs | ( | int | index | ) |
Initialize the cosine table in ff_cos_tabs[index].
index | index in ff_cos_tabs array of the table to initialize |
Definition at line 88 of file fft_template.c.
int ff_fft_init | ( | FFTContext * | s, |
int | nbits, | ||
int | inverse | ||
) |
Set up a complex FFT.
nbits | log2 of the length of the input array |
inverse | if 0 perform the forward transform, if 1 perform the inverse |
Definition at line 140 of file fft_template.c.
void ff_fft_init_aarch64 | ( | FFTContext * | s | ) |
Definition at line 33 of file fft_init_aarch64.c.
Referenced by ff_fft_init().
void ff_fft_init_x86 | ( | FFTContext * | s | ) |
Definition at line 25 of file fft_init.c.
Referenced by ff_fft_init().
void ff_fft_init_arm | ( | FFTContext * | s | ) |
Definition at line 39 of file fft_init_arm.c.
Referenced by ff_fft_init().
void ff_fft_init_mips | ( | FFTContext * | s | ) |
void ff_fft_init_ppc | ( | FFTContext * | s | ) |
Definition at line 152 of file fft_init.c.
Referenced by ff_fft_init().
void ff_fft_fixed_init_arm | ( | FFTContext * | s | ) |
Definition at line 30 of file fft_fixed_init_arm.c.
Referenced by ff_fft_init().
void ff_fft_end | ( | FFTContext * | s | ) |
Definition at line 217 of file fft_template.c.
int ff_mdct_init | ( | FFTContext * | s, |
int | nbits, | ||
int | inverse, | ||
double | scale | ||
) |
init MDCT or IMDCT computation.
Definition at line 47 of file mdct_template.c.
void ff_mdct_end | ( | FFTContext * | s | ) |
Definition at line 203 of file mdct_template.c.