From bc154882e11f4a218cc8cfb10ae0b4cbc83b5f9f Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Mon, 21 Mar 2011 17:52:34 +0000 Subject: Fixed-point MDCT with 32-bit unscaled output Signed-off-by: Mans Rullgard --- libavcodec/fft.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/fft.h') 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 -- cgit v1.2.3