diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 04:36:36 +0400 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 04:36:36 +0400 |
commit | 0a570e826d7cb6602219236e20a15d85ab68b073 (patch) | |
tree | 6ac326a85a91f45414a4ccbf19f1c72cc757cf55 /libavcodec/dsputil.h | |
parent | e8dd7b0c9a3d61a2a5be7e763e5bdde486cdfc29 (diff) |
remove mdct tmp buffer
Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 18ee43cf7e..a0e25a6b8e 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -642,10 +642,8 @@ typedef struct FFTContext { FFTComplex *tmp_buf; void (*fft_permute)(struct FFTContext *s, FFTComplex *z); void (*fft_calc)(struct FFTContext *s, FFTComplex *z); - void (*imdct_calc)(struct MDCTContext *s, FFTSample *output, - const FFTSample *input, FFTSample *tmp); - void (*imdct_half)(struct MDCTContext *s, FFTSample *output, - const FFTSample *input); + void (*imdct_calc)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); + void (*imdct_half)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); } FFTContext; int ff_fft_init(FFTContext *s, int nbits, int inverse); @@ -694,20 +692,15 @@ void ff_kbd_window_init(float *window, float alpha, int n); void ff_sine_window_init(float *window, int n); int ff_mdct_init(MDCTContext *s, int nbits, int inverse); -void ff_imdct_calc(MDCTContext *s, FFTSample *output, - const FFTSample *input, FFTSample *tmp); +void ff_imdct_calc(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_imdct_half(MDCTContext *s, FFTSample *output, const FFTSample *input); -void ff_imdct_calc_3dn(MDCTContext *s, FFTSample *output, - const FFTSample *input, FFTSample *tmp); +void ff_imdct_calc_3dn(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_imdct_half_3dn(MDCTContext *s, FFTSample *output, const FFTSample *input); -void ff_imdct_calc_3dn2(MDCTContext *s, FFTSample *output, - const FFTSample *input, FFTSample *tmp); +void ff_imdct_calc_3dn2(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_imdct_half_3dn2(MDCTContext *s, FFTSample *output, const FFTSample *input); -void ff_imdct_calc_sse(MDCTContext *s, FFTSample *output, - const FFTSample *input, FFTSample *tmp); +void ff_imdct_calc_sse(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_imdct_half_sse(MDCTContext *s, FFTSample *output, const FFTSample *input); -void ff_mdct_calc(MDCTContext *s, FFTSample *out, - const FFTSample *input, FFTSample *tmp); +void ff_mdct_calc(MDCTContext *s, FFTSample *out, const FFTSample *input); void ff_mdct_end(MDCTContext *s); #define WRAPPER8_16(name8, name16)\ |