FFmpeg
Variables
eac3_data.c File Reference
#include "eac3_data.h"
#include "ac3.h"

Go to the source code of this file.

Variables

const uint8_t ff_eac3_bits_vs_hebap [20]
 
const int16_t ff_eac3_gaq_remap_1 [12]
 Table E3.6, Gk=1 No gain (Gk=1) inverse quantization, remapping scale factors ff_eac3_gaq_remap[hebap+8]. More...
 
const int16_t ff_eac3_gaq_remap_2_4_a [9][2]
 Table E3.6, Gk=2 & Gk=4, A Large mantissa inverse quantization, remapping scale factors ff_eac3_gaq_remap_2_4_a[hebap-8][Gk=2,4]. More...
 
const int16_t ff_eac3_gaq_remap_2_4_b [9][2]
 Table E3.6, Gk=2 & Gk=4, B Large mantissa inverse quantization, negative mantissa remapping offsets ff_eac3_gaq_remap_3_4_b[hebap-8][Gk=2,4]. More...
 
static const int16_t vq_hebap1 [4][6]
 
static const int16_t vq_hebap2 [8][6]
 
static const int16_t vq_hebap3 [16][6]
 
static const int16_t vq_hebap4 [32][6]
 
static const int16_t vq_hebap5 [128][6]
 
static const int16_t vq_hebap6 [256][6]
 
static const int16_t vq_hebap7 [512][6]
 
const int16_t(*const [8] ff_eac3_mantissa_vq )[6]
 
const uint8_t ff_eac3_frm_expstr [32][6]
 Table E2.14 Frame Exponent Strategy Combinations. More...
 
const float ff_eac3_spx_atten_tab [32][3]
 Table E.25: Spectral Extension Attenuation Table ff_eac3_spx_atten_tab[code][bin]=pow(2.0,(bin+1)*(code+1)/-15.0);. More...
 

Detailed Description

Tables taken directly from the E-AC-3 spec.

Definition in file eac3_data.c.

Variable Documentation

◆ ff_eac3_bits_vs_hebap

const uint8_t ff_eac3_bits_vs_hebap[20]
Initial value:
= {
0, 2, 3, 4, 5, 7, 8, 9, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 14, 16,
}

Definition at line 30 of file eac3_data.c.

Referenced by ff_eac3_decode_transform_coeffs_aht_ch().

◆ ff_eac3_gaq_remap_1

const int16_t ff_eac3_gaq_remap_1[12]
Initial value:
= {
4681, 2185, 1057, 520, 258, 129, 64, 32, 16, 8, 2, 0
}

Table E3.6, Gk=1 No gain (Gk=1) inverse quantization, remapping scale factors ff_eac3_gaq_remap[hebap+8].

Definition at line 40 of file eac3_data.c.

Referenced by ff_eac3_decode_transform_coeffs_aht_ch().

◆ ff_eac3_gaq_remap_2_4_a

const int16_t ff_eac3_gaq_remap_2_4_a[9][2]
Initial value:
= {
{ -10923, -4681 },
{ -14043, -6554 },
{ -15292, -7399 },
{ -15855, -7802 },
{ -16124, -7998 },
{ -16255, -8096 },
{ -16320, -8144 },
{ -16352, -8168 },
{ -16368, -8180 }
}

Table E3.6, Gk=2 & Gk=4, A Large mantissa inverse quantization, remapping scale factors ff_eac3_gaq_remap_2_4_a[hebap-8][Gk=2,4].

Definition at line 49 of file eac3_data.c.

Referenced by ff_eac3_decode_transform_coeffs_aht_ch().

◆ ff_eac3_gaq_remap_2_4_b

const int16_t ff_eac3_gaq_remap_2_4_b[9][2]
Initial value:
= {
{ -5461, -1170 },
{ -11703, -4915 },
{ -14199, -6606 },
{ -15327, -7412 },
{ -15864, -7805 },
{ -16126, -7999 },
{ -16255, -8096 },
{ -16320, -8144 },
{ -16352, -8168 }
}

Table E3.6, Gk=2 & Gk=4, B Large mantissa inverse quantization, negative mantissa remapping offsets ff_eac3_gaq_remap_3_4_b[hebap-8][Gk=2,4].

Definition at line 66 of file eac3_data.c.

Referenced by ff_eac3_decode_transform_coeffs_aht_ch().

◆ vq_hebap1

const int16_t vq_hebap1[4][6]
static
Initial value:
= {
{ 7167, 4739, 1106, 4269, 10412, 4820},
{ -5702, -3187, -14483, -1392, -2027, 849},
{ 633, 6199, 7009, -12779, -2306, -2636},
{ -1468, -7031, 7592, 10617, -5946, -3062},
}

Definition at line 78 of file eac3_data.c.

◆ vq_hebap2

const int16_t vq_hebap2[8][6]
static
Initial value:
= {
{ -12073, 608, -7019, 590, 4000, 869},
{ 6692, 15689, -6178, -9239, -74, 133},
{ 1855, -989, 20596, -2920, -4475, 225},
{ -1194, -3901, -821, -6566, -875, -20298},
{ -2762, -3181, -4094, -5623, -16945, 9765},
{ 1547, 6839, 1980, 20233, -1071, -4986},
{ 6221, -17915, -5516, 6266, 358, 1162},
{ 3753, -1066, 4283, -3227, 15928, 10186},
}

Definition at line 84 of file eac3_data.c.

◆ vq_hebap3

const int16_t vq_hebap3[16][6]
static
Initial value:
= {
{ -10028, 20779, 10982, -4560, 798, -68},
{ 11050, 20490, -6617, -5342, -1797, -1631},
{ 3977, -542, 7118, -1166, 18844, 14678},
{ -4320, -96, -7295, -492, -22050, -4277},
{ 2692, 5856, 5530, 21862, -7212, -5325},
{ -135, -23391, 962, 8115, -644, 382},
{ -1563, 3400, -3299, 4693, -6892, 22398},
{ 3535, 3030, 7296, 6214, 20476, -12099},
{ 57, -6823, 1848, -22349, -5919, 6823},
{ -821, -3655, -387, -6253, -1735, -22373},
{ -6046, 1586, -18890, -14392, 9214, 705},
{ -5716, 264, -17964, 14618, 7921, -337},
{ -110, 108, 8, 74, -89, -50},
{ 6612, -1517, 21687, -1658, -7949, -246},
{ 21667, -6335, -8290, -101, -1349, -22},
{ -22003, -6476, 7974, 648, 2054, -331},
}

Definition at line 94 of file eac3_data.c.

◆ vq_hebap4

const int16_t vq_hebap4[32][6]
static

Definition at line 112 of file eac3_data.c.

◆ vq_hebap5

const int16_t vq_hebap5[128][6]
static

Definition at line 145 of file eac3_data.c.

◆ vq_hebap6

const int16_t vq_hebap6[256][6]
static

Definition at line 275 of file eac3_data.c.

◆ vq_hebap7

const int16_t vq_hebap7[512][6]
static

Definition at line 533 of file eac3_data.c.

◆ ff_eac3_mantissa_vq

const int16_t(* const[8] ff_eac3_mantissa_vq)[6]
Initial value:

Definition at line 1048 of file eac3_data.c.

Referenced by ff_eac3_decode_transform_coeffs_aht_ch().

◆ ff_eac3_frm_expstr

const uint8_t ff_eac3_frm_expstr[32][6]

Table E2.14 Frame Exponent Strategy Combinations.

Definition at line 1062 of file eac3_data.c.

Referenced by ff_eac3_exponent_init(), and ff_eac3_parse_header().

◆ ff_eac3_spx_atten_tab

const float ff_eac3_spx_atten_tab[32][3]

Table E.25: Spectral Extension Attenuation Table ff_eac3_spx_atten_tab[code][bin]=pow(2.0,(bin+1)*(code+1)/-15.0);.

Definition at line 1101 of file eac3_data.c.

Referenced by ff_eac3_apply_spectral_extension().

vq_hebap1
static const int16_t vq_hebap1[4][6]
Definition: eac3_data.c:78
vq_hebap3
static const int16_t vq_hebap3[16][6]
Definition: eac3_data.c:94
vq_hebap6
static const int16_t vq_hebap6[256][6]
Definition: eac3_data.c:275
vq_hebap5
static const int16_t vq_hebap5[128][6]
Definition: eac3_data.c:145
vq_hebap2
static const int16_t vq_hebap2[8][6]
Definition: eac3_data.c:84
NULL
#define NULL
Definition: coverity.c:32
vq_hebap7
static const int16_t vq_hebap7[512][6]
Definition: eac3_data.c:533
vq_hebap4
static const int16_t vq_hebap4[32][6]
Definition: eac3_data.c:112