23 #ifndef AVCODEC_SINEWIN_TABLEGEN_H
24 #define AVCODEC_SINEWIN_TABLEGEN_H
33 #if !CONFIG_HARDCODED_TABLES
44 #include "libavcodec/sinewin_tables.h"
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)
Macro definitions for various function/variable attributes.
av_cold void ff_init_ff_sine_windows(int index)
initialize the specified entry of ff_sine_windows
SINETABLE_CONST float *const ff_sine_windows[]
common internal and external API header
av_cold void ff_sine_window_init(float *window, int n)
Generate a sine window.