Mercurial > libavcodec.hg
comparison dsputil.h @ 7573:7802295cae6f libavcodec
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.
author | superdump |
---|---|
date | Thu, 14 Aug 2008 14:40:16 +0000 |
parents | 7cf793954871 |
children | 30bc7ba91daa |
comparison
equal
deleted
inserted
replaced
7572:d72f9295fe6e | 7573:7802295cae6f |
---|---|
700 * Generate a sine window. | 700 * Generate a sine window. |
701 * @param window pointer to half window | 701 * @param window pointer to half window |
702 * @param n size of half window | 702 * @param n size of half window |
703 */ | 703 */ |
704 void ff_sine_window_init(float *window, int n); | 704 void ff_sine_window_init(float *window, int n); |
705 extern float ff_sine_128 [ 128]; | |
706 extern float ff_sine_256 [ 256]; | |
707 extern float ff_sine_512 [ 512]; | |
708 extern float ff_sine_1024[1024]; | |
709 extern float ff_sine_2048[2048]; | |
710 extern float *ff_sine_windows[5]; | |
705 | 711 |
706 int ff_mdct_init(MDCTContext *s, int nbits, int inverse); | 712 int ff_mdct_init(MDCTContext *s, int nbits, int inverse); |
707 void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input); | 713 void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input); |
708 void ff_imdct_half_c(MDCTContext *s, FFTSample *output, const FFTSample *input); | 714 void ff_imdct_half_c(MDCTContext *s, FFTSample *output, const FFTSample *input); |
709 void ff_imdct_calc_3dn(MDCTContext *s, FFTSample *output, const FFTSample *input); | 715 void ff_imdct_calc_3dn(MDCTContext *s, FFTSample *output, const FFTSample *input); |