Mercurial > libavcodec.hg
comparison dsputil.h @ 7094:b0820b8bd4dd libavcodec
Add generic ff_sine_window_init function and implement in codecs appropriately
author | superdump |
---|---|
date | Sun, 22 Jun 2008 15:12:27 +0000 |
parents | c3213c91124c |
children | 6bd6a2da306e |
comparison
equal
deleted
inserted
replaced
7093:544da38cb2c9 | 7094:b0820b8bd4dd |
---|---|
647 * @param alpha determines window shape | 647 * @param alpha determines window shape |
648 * @param n size of half window | 648 * @param n size of half window |
649 */ | 649 */ |
650 void ff_kbd_window_init(float *window, float alpha, int n); | 650 void ff_kbd_window_init(float *window, float alpha, int n); |
651 | 651 |
652 /** | |
653 * Generate a sine window. | |
654 * @param window pointer to half window | |
655 * @param n size of half window | |
656 */ | |
657 void ff_sine_window_init(float *window, int n); | |
658 | |
652 int ff_mdct_init(MDCTContext *s, int nbits, int inverse); | 659 int ff_mdct_init(MDCTContext *s, int nbits, int inverse); |
653 void ff_imdct_calc(MDCTContext *s, FFTSample *output, | 660 void ff_imdct_calc(MDCTContext *s, FFTSample *output, |
654 const FFTSample *input, FFTSample *tmp); | 661 const FFTSample *input, FFTSample *tmp); |
655 void ff_imdct_calc_3dn2(MDCTContext *s, FFTSample *output, | 662 void ff_imdct_calc_3dn2(MDCTContext *s, FFTSample *output, |
656 const FFTSample *input, FFTSample *tmp); | 663 const FFTSample *input, FFTSample *tmp); |