Mercurial > libavcodec.hg
diff dsputil.h @ 6142:a35b838ab955 libavcodec
Add variable alpha and size of half window for Kaiser-Bessel Derived window
generation. Hard code Bessel I0 approximation iterations to 50.
See thread for discussion:
[FFmpeg-devel] [PATCH] Move Kaiser-Bessel Derived window to mdct.c
Started on the 2008/01/10
author | superdump |
---|---|
date | Sun, 13 Jan 2008 11:02:08 +0000 |
parents | 5077d1562573 |
children | 2799f65a24de |
line wrap: on
line diff
--- a/dsputil.h Sun Jan 13 08:33:00 2008 +0000 +++ b/dsputil.h Sun Jan 13 11:02:08 2008 +0000 @@ -648,8 +648,10 @@ /** * Generate a Kaiser-Bessel Derived Window. * @param window pointer to half window + * @param alpha determines window shape + * @param n size of half window */ -void ff_kbd_window_init(float *window); +void ff_kbd_window_init(float *window, float alpha, int n); int ff_mdct_init(MDCTContext *s, int nbits, int inverse); void ff_imdct_calc(MDCTContext *s, FFTSample *output,