From 69fc4da3606046672340bc81053db30e80dc36d4 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Thu, 14 Aug 2008 14:40:16 +0000 Subject: Add declarations for the sine tables used in wma.c (half window sizes: 128, 256, 512, 1024 and 2048) to mdct.c. Make them accessible via dsputil.h. Make wma.c use these shared tables. Originally committed as revision 14758 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavcodec/dsputil.h') diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index eb1ea4f4ee..0beef799d4 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -702,6 +702,12 @@ void ff_kbd_window_init(float *window, float alpha, int n); * @param n size of half window */ void ff_sine_window_init(float *window, int n); +extern float ff_sine_128 [ 128]; +extern float ff_sine_256 [ 256]; +extern float ff_sine_512 [ 512]; +extern float ff_sine_1024[1024]; +extern float ff_sine_2048[2048]; +extern float *ff_sine_windows[5]; int ff_mdct_init(MDCTContext *s, int nbits, int inverse); void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input); -- cgit v1.2.3