diff 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
line wrap: on
line diff
--- a/dsputil.h	Sun Jun 22 13:20:41 2008 +0000
+++ b/dsputil.h	Sun Jun 22 15:12:27 2008 +0000
@@ -649,6 +649,13 @@
  */
 void ff_kbd_window_init(float *window, float alpha, int n);
 
+/**
+ * Generate a sine window.
+ * @param   window  pointer to half window
+ * @param   n       size of half window
+ */
+void ff_sine_window_init(float *window, int n);
+
 int ff_mdct_init(MDCTContext *s, int nbits, int inverse);
 void ff_imdct_calc(MDCTContext *s, FFTSample *output,
                 const FFTSample *input, FFTSample *tmp);