Go to the documentation of this file.
19 #ifndef AVCODEC_AVFFT_H
20 #define AVCODEC_AVFFT_H
struct RDFTContext RDFTContext
attribute_deprecated void av_dct_calc(DCTContext *s, FFTSample *data)
attribute_deprecated void av_fft_calc(FFTContext *s, FFTComplex *z)
Do a complex FFT with the parameters defined in av_fft_init().
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce output
attribute_deprecated void av_imdct_half(FFTContext *s, FFTSample *output, const FFTSample *input)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
static av_always_inline float scale(float x, float s)
struct FFTContext FFTContext
attribute_deprecated void av_mdct_end(FFTContext *s)
attribute_deprecated void av_mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input)
attribute_deprecated FFTContext * av_fft_init(int nbits, int inverse)
Set up a complex FFT.
struct DCTContext DCTContext
attribute_deprecated void av_rdft_end(RDFTContext *s)
attribute_deprecated FFTContext * av_mdct_init(int nbits, int inverse, double scale)
#define attribute_deprecated
and forward the test the status of outputs and forward it to the corresponding return FFERROR_NOT_READY If the filters stores internally one or a few frame for some input
attribute_deprecated void av_imdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input)
attribute_deprecated DCTContext * av_dct_init(int nbits, enum DCTTransformType type)
Set up DCT.
attribute_deprecated void av_rdft_calc(RDFTContext *s, FFTSample *data)
attribute_deprecated void av_dct_end(DCTContext *s)
attribute_deprecated void av_fft_end(FFTContext *s)
attribute_deprecated RDFTContext * av_rdft_init(int nbits, enum RDFTransformType trans)
Set up a real FFT.
attribute_deprecated void av_fft_permute(FFTContext *s, FFTComplex *z)
Do the permutation needed BEFORE calling ff_fft_calc().