ac3dec_data.c File Reference

#include "ac3dec_data.h"
#include "ac3.h"

Go to the source code of this file.

Variables

const uint8_t ff_eac3_hebap_tab [64]
const uint8_t ff_eac3_bits_vs_hebap [20]
const int16_t ff_eac3_gaq_remap_1 [12]
const int16_t ff_eac3_gaq_remap_2_4_a [9][2]
const int16_t ff_eac3_gaq_remap_2_4_b [9][2]
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(*[8] ff_eac3_vq_hebap )[6]
const uint8_t ff_eac3_frm_expstr [32][6]
const uint8_t ff_eac3_default_cpl_band_struct [18]
const uint8_t ff_ac3_rematrix_band_tab [5] = { 13, 25, 37, 61, 253 }


Detailed Description

tables taken directly from AC3 spec.

Definition in file ac3dec_data.c.


Variable Documentation

const uint8_t ff_ac3_rematrix_band_tab[5] = { 13, 25, 37, 61, 253 }

Table of bin locations for rematrixing bands reference: Section 7.5.2 Rematrixing : Frequency Band Definitions

Definition at line 1117 of file ac3dec_data.c.

Referenced by do_rematrixing().

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 40 of file ac3dec_data.c.

const uint8_t ff_eac3_default_cpl_band_struct[18]

Initial value:

{ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1 }
Table E2.16 Default Coupling Banding Structure

Definition at line 1110 of file ac3dec_data.c.

const uint8_t ff_eac3_frm_expstr[32][6]

Table E2.14 Frame Exponent Strategy Combinations

Definition at line 1072 of file ac3dec_data.c.

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 50 of file ac3dec_data.c.

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 59 of file ac3dec_data.c.

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 76 of file ac3dec_data.c.

const uint8_t ff_eac3_hebap_tab[64]

Initial value:

 {
    0, 1, 2, 3, 4, 5, 6, 7, 8, 8,
    8, 8, 9, 9, 9, 10, 10, 10, 10, 11,
    11, 11, 11, 12, 12, 12, 12, 13, 13, 13,
    13, 14, 14, 14, 14, 15, 15, 15, 15, 16,
    16, 16, 16, 17, 17, 17, 17, 18, 18, 18,
    18, 18, 18, 18, 18, 19, 19, 19, 19, 19,
    19, 19, 19, 19,
}

Definition at line 30 of file ac3dec_data.c.

const int16_t(*[8] ff_eac3_vq_hebap)[6]

Initial value:

Definition at line 1058 of file ac3dec_data.c.

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 88 of file ac3dec_data.c.

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 94 of file ac3dec_data.c.

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 104 of file ac3dec_data.c.

const int16_t vq_hebap4[32][6] [static]

Definition at line 122 of file ac3dec_data.c.

const int16_t vq_hebap5[128][6] [static]

Definition at line 155 of file ac3dec_data.c.

const int16_t vq_hebap6[256][6] [static]

Definition at line 285 of file ac3dec_data.c.

const int16_t vq_hebap7[512][6] [static]

Definition at line 543 of file ac3dec_data.c.


Generated on Sat Oct 11 19:45:01 2008 for libextractor by  doxygen 1.5.1