diff ac3dec.c @ 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 de7502093922
line wrap: on
line diff
--- a/ac3dec.c	Sun Jan 13 08:33:00 2008 +0000
+++ b/ac3dec.c	Sun Jan 13 11:02:08 2008 +0000
@@ -277,7 +277,7 @@
     ac3_tables_init();
     ff_mdct_init(&s->imdct_256, 8, 1);
     ff_mdct_init(&s->imdct_512, 9, 1);
-    ff_kbd_window_init(s->window);
+    ff_kbd_window_init(s->window, 5.0, 256);
     dsputil_init(&s->dsp, avctx);
     av_init_random(0, &s->dith_state);