Mercurial > libavcodec.hg
comparison mpegaudio_tablegen.h @ 10473:36a16fb5c497 libavcodec
Fix out-of-tree builds with --enable-hardcoded-tables
author | reimar |
---|---|
date | Wed, 28 Oct 2009 19:38:31 +0000 |
parents | 08be6978ac8e |
children | 8b4b365d08f5 |
comparison
equal
deleted
inserted
replaced
10472:5e984fa3613f | 10473:36a16fb5c497 |
---|---|
29 #include <math.h> | 29 #include <math.h> |
30 | 30 |
31 #define TABLE_4_3_SIZE (8191 + 16)*4 | 31 #define TABLE_4_3_SIZE (8191 + 16)*4 |
32 #if CONFIG_HARDCODED_TABLES | 32 #if CONFIG_HARDCODED_TABLES |
33 #define mpegaudio_tableinit() | 33 #define mpegaudio_tableinit() |
34 #include "mpegaudio_tables.h" | 34 #include "libavcodec/mpegaudio_tables.h" |
35 #else | 35 #else |
36 static int8_t table_4_3_exp[TABLE_4_3_SIZE]; | 36 static int8_t table_4_3_exp[TABLE_4_3_SIZE]; |
37 static uint32_t table_4_3_value[TABLE_4_3_SIZE]; | 37 static uint32_t table_4_3_value[TABLE_4_3_SIZE]; |
38 static uint32_t exp_table[512]; | 38 static uint32_t exp_table[512]; |
39 static uint32_t expval_table[512][16]; | 39 static uint32_t expval_table[512][16]; |