FFmpeg
|
Files | |
file | avfft.h |
FFT functions. | |
Data Structures | |
struct | FFTComplex |
Typedefs | |
typedef float | FFTSample |
Enumerations | |
enum | RDFTransformType { DFT_R2C, IDFT_C2R, IDFT_R2C, DFT_C2R } |
enum | DCTTransformType { DCT_II = 0, DCT_III, DCT_I, DST_I } |
enum RDFTransformType |
enum DCTTransformType |
FFTContext* av_fft_init | ( | 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 28 of file avfft.c.
Referenced by config_input(), config_output(), convert_coeffs(), fft_init(), and load_data().
void av_fft_permute | ( | FFTContext * | s, |
FFTComplex * | z | ||
) |
Do the permutation needed BEFORE calling ff_fft_calc().
Definition at line 38 of file avfft.c.
Referenced by convert_coeffs(), fast_convolute2(), fft_horizontal(), fft_permute(), fft_vertical(), filter_frame(), headphone_fast_convolute(), ifft_horizontal(), ifft_vertical(), load_data(), plot_cqt(), plot_freqs(), run_channel_fft(), sofalizer_fast_convolute(), and synth_window().
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.
Definition at line 43 of file avfft.c.
Referenced by convert_coeffs(), fast_convolute2(), fft_calc(), fft_horizontal(), fft_vertical(), filter_frame(), headphone_fast_convolute(), ifft_horizontal(), ifft_vertical(), load_data(), plot_cqt(), plot_freqs(), run_channel_fft(), sofalizer_fast_convolute(), and synth_window().
void av_fft_end | ( | FFTContext * | s | ) |
Definition at line 48 of file avfft.c.
Referenced by common_uninit(), config_output(), convert_coeffs(), fft_end(), load_data(), and uninit().
FFTContext* av_mdct_init | ( | int | nbits, |
int | inverse, | ||
double | scale | ||
) |
Referenced by mdct_init().
void av_imdct_calc | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
Referenced by imdct_calc().
void av_imdct_half | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
void av_mdct_calc | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
Referenced by mdct_calc().
void av_mdct_end | ( | FFTContext * | s | ) |
Referenced by mdct_end().
RDFTContext* av_rdft_init | ( | int | nbits, |
enum RDFTransformType | trans | ||
) |
Set up a real FFT.
nbits | log2 of the length of the input array |
trans | the type of transform |
Referenced by config_input(), config_output(), config_props(), convert_coeffs(), equ_init(), video_audio_display(), and yae_reset().
void av_rdft_calc | ( | RDFTContext * | s, |
FFTSample * | data | ||
) |
Referenced by convert_coeffs(), dump_fir(), fast_convolute(), fast_convolute_nonlinear(), fft_channel(), filter_frame(), fir_channel(), generate_kernel(), generate_min_phase_kernel(), ifft_channel(), irdft_horizontal16(), irdft_horizontal8(), irdft_vertical(), make_fir(), rdft_horizontal16(), rdft_horizontal8(), rdft_vertical(), video_audio_display(), yae_apply(), yae_flush(), and yae_xcorr_via_rdft().
void av_rdft_end | ( | RDFTContext * | s | ) |
Referenced by common_uninit(), stream_component_close(), uninit(), video_audio_display(), yae_release_buffers(), and yae_reset().
DCTContext* av_dct_init | ( | int | nbits, |
enum DCTTransformType | type | ||
) |
Set up DCT.
nbits | size of the input array: (1 << nbits) for DCT-II, DCT-III and DST-I (1 << nbits) + 1 for DCT-I |
type | the type of transform |
void av_dct_calc | ( | DCTContext * | s, |
FFTSample * | data | ||
) |
void av_dct_end | ( | DCTContext * | s | ) |