23 #ifndef AVCODEC_SINEWIN_TABLEGEN_H
24 #define AVCODEC_SINEWIN_TABLEGEN_H
30 #include "libavutil/attributes.h"
31 #include "libavutil/common.h"
33 #if !CONFIG_HARDCODED_TABLES
44 #include "libavcodec/sinewin_tables.h"
48 NULL, NULL, NULL, NULL, NULL,
49 ff_sine_32 , ff_sine_64 ,
50 ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048, ff_sine_4096, ff_sine_8192
56 for(i = 0; i <
n; i++)
57 window[i] =
sinf((i + 0.5) * (
M_PI / (2.0 * n)));
62 #if !CONFIG_HARDCODED_TABLES
#define FF_ARRAY_ELEMS(a)
void ff_sine_window_init(float *window, int n)
Generate a sine window.
SINETABLE_CONST float *const ff_sine_windows[14]
void ff_init_ff_sine_windows(int index)
initialize the specified entry of ff_sine_windows