diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-21 17:52:34 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-04-02 21:06:07 +0100 |
commit | bc154882e11f4a218cc8cfb10ae0b4cbc83b5f9f (patch) | |
tree | 906260b2356f1c6bad4740ed21d8330806e195fb /libavcodec/fft.h | |
parent | ed5fcd60b2d1d4993e2094c9836dedb8ef9b2ed3 (diff) | |
download | ffmpeg-bc154882e11f4a218cc8cfb10ae0b4cbc83b5f9f.tar.gz |
Fixed-point MDCT with 32-bit unscaled output
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/fft.h')
-rw-r--r-- | libavcodec/fft.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/fft.h b/libavcodec/fft.h index 2f13e5fdb3..0f324cf5a2 100644 --- a/libavcodec/fft.h +++ b/libavcodec/fft.h @@ -53,6 +53,10 @@ typedef struct FFTContext FFTContext; #endif /* CONFIG_FFT_FLOAT */ +typedef struct FFTDComplex { + FFTDouble re, im; +} FFTDComplex; + /* FFT computation */ struct FFTContext { @@ -77,6 +81,7 @@ struct FFTContext { void (*imdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input); void (*imdct_half)(struct FFTContext *s, FFTSample *output, const FFTSample *input); void (*mdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input); + void (*mdct_calcw)(struct FFTContext *s, FFTDouble *output, const FFTSample *input); int fft_permutation; #define FF_FFT_PERM_DEFAULT 0 #define FF_FFT_PERM_SWAP_LSBS 1 |