23 #ifndef AVCODEC_MPEGAUDIO_TABLEGEN_H
24 #define AVCODEC_MPEGAUDIO_TABLEGEN_H
29 #define TABLE_4_3_SIZE (8191 + 16)*4
30 #if CONFIG_HARDCODED_TABLES
31 #define mpegaudio_tableinit()
32 #include "libavcodec/mpegaudio_tables.h"
42 #define IMDCT_SCALAR 1.759
46 int i,
value, exponent;
52 f = value /
IMDCT_SCALAR * pow(value, 1.0 / 3.0) * pow(2, (i & 3) * 0.25);
54 m = (uint32_t)(fm * (1LL << 31) + 0.5);
61 for (exponent = 0; exponent < 512; exponent++) {
62 for (value = 0; value < 16; value++) {
64 double f = (double)value * pow(value, 1.0 / 3.0) * pow(2, (exponent - 400) * 0.25 +
FRAC_BITS + 5) /
IMDCT_SCALAR;