Go to the documentation of this file.
23 #ifndef AVCODEC_MPEGAUDIO_TABLEGEN_H
24 #define AVCODEC_MPEGAUDIO_TABLEGEN_H
30 #define TABLE_4_3_SIZE (8191 + 16)*4
31 #if CONFIG_HARDCODED_TABLES
32 #define mpegaudio_tableinit()
33 #include "libavcodec/mpegaudio_tables.h"
43 #define IMDCT_SCALAR 1.759
48 static const double exp2_lut[4] = {
49 1.00000000000000000000,
50 1.18920711500272106672,
52 1.68179283050742908606,
54 static double pow43_lut[16];
55 double exp2_base = 2.11758236813575084767080625169910490512847900390625e-22;
58 for (
i = 0;
i < 16; ++
i)
67 f = pow43_val * exp2_lut[
i & 3];
69 m =
llrint(fm * (1LL << 31));
76 for (exponent = 0; exponent < 512; exponent++) {
77 if (exponent && (exponent & 3) == 0)
79 exp2_val = exp2_base * exp2_lut[exponent & 3] /
IMDCT_SCALAR;
81 double f = pow43_lut[
value] * exp2_val;
static float exp_table_float[512]
static int8_t table_4_3_exp[TABLE_4_3_SIZE]
static av_cold void mpegaudio_tableinit(void)
static uint32_t expval_table_fixed[512][16]
#define i(width, name, range_min, range_max)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default value
static float expval_table_float[512][16]
static uint32_t exp_table_fixed[512]
static uint32_t table_4_3_value[TABLE_4_3_SIZE]