summaryrefslogtreecommitdiff
path: root/libavcodec/sinewin_fixed_tablegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/sinewin_fixed_tablegen.h')
-rw-r--r--libavcodec/sinewin_fixed_tablegen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/sinewin_fixed_tablegen.h b/libavcodec/sinewin_fixed_tablegen.h
index c52c90bed7..056735704c 100644
--- a/libavcodec/sinewin_fixed_tablegen.h
+++ b/libavcodec/sinewin_fixed_tablegen.h
@@ -44,8 +44,11 @@
#include "libavutil/attributes.h"
#define SINETABLE_CONST
+SINETABLE( 120);
SINETABLE( 128);
+SINETABLE( 480);
SINETABLE( 512);
+SINETABLE( 960);
SINETABLE(1024);
#define SIN_FIX(a) (int)floor((a) * 0x80000000 + 0.5)
@@ -59,8 +62,11 @@ static av_cold void sine_window_init_fixed(int *window, int n)
static av_cold void init_sine_windows_fixed(void)
{
+ sine_window_init_fixed(sine_120_fixed, 120);
sine_window_init_fixed(sine_128_fixed, 128);
+ sine_window_init_fixed(sine_480_fixed, 480);
sine_window_init_fixed(sine_512_fixed, 512);
+ sine_window_init_fixed(sine_960_fixed, 960);
sine_window_init_fixed(sine_1024_fixed, 1024);
}
#endif /* CONFIG_HARDCODED_TABLES */