FFmpeg
|
FFT functions
Collaboration diagram for FFT functions:
Files | |
file | avfft.h |
FFT functions. | |
Data Structures | |
struct | FFTComplex |
Typedefs | |
typedef float | FFTSample |
typedef struct FFTComplex | FFTComplex |
typedef struct FFTContext | FFTContext |
typedef struct RDFTContext | RDFTContext |
typedef struct DCTContext | DCTContext |
Enumerations | |
enum | RDFTransformType { DFT_R2C, IDFT_C2R, IDFT_R2C, DFT_C2R } |
enum | DCTTransformType { DCT_II = 0, DCT_III, DCT_I, DST_I } |
Detailed Description
Typedef Documentation
typedef struct DCTContext DCTContext |
typedef struct FFTComplex FFTComplex |
typedef struct FFTContext FFTContext |
typedef struct RDFTContext RDFTContext |
Enumeration Type Documentation
enum DCTTransformType |
enum RDFTransformType |
Function Documentation
void av_dct_calc | ( | DCTContext * | s, |
FFTSample * | data | ||
) |
Referenced by av_fft_end().
void av_dct_end | ( | DCTContext * | s | ) |
Referenced by av_fft_end().
DCTContext* av_dct_init | ( | int | nbits, |
enum DCTTransformType | type | ||
) |
Set up DCT.
- Parameters
-
nbits size of the input array: (1 << nbits) for DCT-II, DCT-III and DST-I (1 << nbits) + 1 for DCT-I
- Note
- the first element of the input of DST-I is ignored
Referenced by av_fft_end().
void av_fft_calc | ( | FFTContext * | s, |
FFTComplex * | z | ||
) |
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.
void av_fft_end | ( | FFTContext * | s | ) |
FFTContext* av_fft_init | ( | int | nbits, |
int | inverse | ||
) |
void av_fft_permute | ( | FFTContext * | s, |
FFTComplex * | z | ||
) |
void av_imdct_calc | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
Referenced by av_fft_end().
void av_imdct_half | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
Referenced by av_fft_end().
void av_mdct_calc | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
Referenced by av_fft_end().
void av_mdct_end | ( | FFTContext * | s | ) |
Referenced by av_fft_end().
FFTContext* av_mdct_init | ( | int | nbits, |
int | inverse, | ||
double | scale | ||
) |
Referenced by av_fft_end().
void av_rdft_calc | ( | RDFTContext * | s, |
FFTSample * | data | ||
) |
Referenced by av_fft_end(), plot_spectrum_column(), video_audio_display(), yae_apply(), yae_flush(), and yae_xcorr_via_rdft().
void av_rdft_end | ( | RDFTContext * | s | ) |
Referenced by av_fft_end(), config_output(), stream_component_close(), uninit(), video_audio_display(), yae_release_buffers(), and yae_reset().
RDFTContext* av_rdft_init | ( | int | nbits, |
enum RDFTransformType | trans | ||
) |
Set up a real FFT.
- Parameters
-
nbits log2 of the length of the input array trans the type of transform
Referenced by av_fft_end(), config_output(), video_audio_display(), and yae_reset().
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11