FFmpeg
Variables
eac3_data.c File Reference

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

#include "eac3_data.h"
#include "ac3.h"

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...
 
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.
 
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);.
 

Detailed Description

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

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,
}

§ 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].

§ 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].

§ 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].

§ ff_eac3_mantissa_vq

const int16_t(* const[8] ff_eac3_mantissa_vq)[6]
Initial value:
= {
NULL,
vq_hebap1,
vq_hebap2,
vq_hebap3,
vq_hebap4,
vq_hebap5,
vq_hebap6,
vq_hebap7,
}