hvirtual/quicktime/ffmpeg/libavcodec/liba52/tables.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define Q(x)   ROUND (32768.0 * x)
#define Q0   Q (-2/3)
#define Q1   Q (0)
#define Q2   Q (2/3)
#define Q0   Q (-4/5)
#define Q1   Q (-2/5)
#define Q2   Q (0)
#define Q3   Q (2/5)
#define Q4   Q (4/5)
#define Q0   Q (-10/11)
#define Q1   Q (-8/11)
#define Q2   Q (-6/11)
#define Q3   Q (-4/11)
#define Q4   Q (-2/11)
#define Q5   Q (0)
#define Q6   Q (2/11)
#define Q7   Q (4/11)
#define Q8   Q (6/11)
#define Q9   Q (8/11)
#define QA   Q (10/11)

Variables

static const int8_t exp_1 [128]
static const int8_t exp_2 [128]
static const int8_t exp_3 [128]
static const quantizer_t q_1_0 [32]
static const quantizer_t q_1_1 [32]
static const quantizer_t q_1_2 [32]
static const quantizer_t q_2_0 [128]
static const quantizer_t q_2_1 [128]
static const quantizer_t q_2_2 [128]
static const quantizer_t q_3 [8]
static const quantizer_t q_4_0 [128]
static const quantizer_t q_4_1 [128]
static const quantizer_t q_5 [16]
static const sample_t scale_factor [25]
static const uint16_t dither_lut [256]


Define Documentation

#define Q (  )     ROUND (32768.0 * x)

Definition at line 49 of file tables.h.

#define Q0   Q (-10/11)

Definition at line 123 of file tables.h.

#define Q0   Q (-4/5)

Definition at line 123 of file tables.h.

#define Q0   Q (-2/3)

Definition at line 123 of file tables.h.

#define Q1   Q (-8/11)

Definition at line 124 of file tables.h.

#define Q1   Q (-2/5)

Definition at line 124 of file tables.h.

#define Q1   Q (0)

Definition at line 124 of file tables.h.

#define Q2   Q (-6/11)

Definition at line 125 of file tables.h.

#define Q2   Q (0)

Definition at line 125 of file tables.h.

#define Q2   Q (2/3)

Definition at line 125 of file tables.h.

#define Q3   Q (-4/11)

Definition at line 126 of file tables.h.

#define Q3   Q (2/5)

Definition at line 126 of file tables.h.

#define Q4   Q (-2/11)

Definition at line 127 of file tables.h.

#define Q4   Q (4/5)

Definition at line 127 of file tables.h.

#define Q5   Q (0)

Definition at line 128 of file tables.h.

#define Q6   Q (2/11)

Definition at line 129 of file tables.h.

#define Q7   Q (4/11)

Definition at line 130 of file tables.h.

#define Q8   Q (6/11)

Definition at line 131 of file tables.h.

#define Q9   Q (8/11)

Definition at line 132 of file tables.h.

#define QA   Q (10/11)

Definition at line 133 of file tables.h.


Variable Documentation

const uint16_t dither_lut[256] [static]

Definition at line 213 of file tables.h.

Referenced by dither_gen().

const int8_t exp_1[128] [static]

Initial value:

 {
    -2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,
    -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
     2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
    25,25,25
}

Definition at line 24 of file tables.h.

Referenced by mpeg3audio_ac3_exp_unpack_ch(), and parse_exponents().

const int8_t exp_2[128] [static]

Initial value:

 {
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
    -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
    25,25,25
}

Definition at line 32 of file tables.h.

Referenced by mpeg3audio_ac3_exp_unpack_ch(), and parse_exponents().

const int8_t exp_3[128] [static]

Initial value:

 {
    -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,
    -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,
    -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,
    -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,
    -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,
    25,25,25
}

Definition at line 40 of file tables.h.

Referenced by mpeg3audio_ac3_exp_unpack_ch(), and parse_exponents().

const quantizer_t q_1_0[32] [static]

Initial value:

 {
    Q0, Q0, Q0, Q0, Q0, Q0, Q0, Q0, Q0,
    Q1, Q1, Q1, Q1, Q1, Q1, Q1, Q1, Q1,
    Q2, Q2, Q2, Q2, Q2, Q2, Q2, Q2, Q2,
    0,  0,  0,  0,  0
}

Definition at line 55 of file tables.h.

Referenced by coeff_get(), and coeff_get_coupling().

const quantizer_t q_1_1[32] [static]

Initial value:

 {
    Q0, Q0, Q0, Q1, Q1, Q1, Q2, Q2, Q2,
    Q0, Q0, Q0, Q1, Q1, Q1, Q2, Q2, Q2,
    Q0, Q0, Q0, Q1, Q1, Q1, Q2, Q2, Q2,
    0,  0,  0,  0,  0
}

Definition at line 62 of file tables.h.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Q (4/7), Q (6/7), 0
}

Definition at line 119 of file tables.h.

Referenced by coeff_get(), and coeff_get_coupling().

const quantizer_t q_4_0[128] [static]

Initial value:

 {
    Q0, Q0, Q0, Q0, Q0, Q0, Q0, Q0, Q0, Q0, Q0,
    Q1, Q1, Q1, Q1, Q1, Q1, Q1, Q1, Q1, Q1, Q1,
    Q2, Q2, Q2, Q2, Q2, Q2, Q2, Q2, Q2, Q2, Q2,
    Q3, Q3, Q3, Q3, Q3, Q3, Q3, Q3, Q3, Q3, Q3,
    Q4, Q4, Q4, Q4, Q4, Q4, Q4, Q4, Q4, Q4, Q4,
    Q5, Q5, Q5, Q5, Q5, Q5, Q5, Q5, Q5, Q5, Q5,
    Q6, Q6, Q6, Q6, Q6, Q6, Q6, Q6, Q6, Q6, Q6,
    Q7, Q7, Q7, Q7, Q7, Q7, Q7, Q7, Q7, Q7, Q7,
    Q8, Q8, Q8, Q8, Q8, Q8, Q8, Q8, Q8, Q8, Q8,
    Q9, Q9, Q9, Q9, Q9, Q9, Q9, Q9, Q9, Q9, Q9,
    QA, QA, QA, QA, QA, QA, QA, QA, QA, QA, QA,
    0,  0,  0,  0,  0,  0,  0
}

Definition at line 135 of file tables.h.

Referenced by coeff_get(), and coeff_get_coupling().

const quantizer_t q_4_1[128] [static]

Initial value:

 {
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, QA,
    0,  0,  0,  0,  0,  0,  0
}

Definition at line 150 of file tables.h.

Referenced by coeff_get(), and coeff_get_coupling().

const quantizer_t q_5[16] [static]

Initial value:

 {
    Q (-14/15), Q (-12/15), Q (-10/15), Q (-8/15), Q (-6/15),
    Q (-4/15), Q (-2/15), Q (0), Q (2/15), Q (4/15),
    Q (6/15), Q (8/15), Q (10/15), Q (12/15), Q (14/15), 0
}

Definition at line 177 of file tables.h.

Referenced by coeff_get(), and coeff_get_coupling().

const sample_t scale_factor[25] [static]

Initial value:

 {
    0.000030517578125,
    0.0000152587890625,
    0.00000762939453125,
    0.000003814697265625,
    0.0000019073486328125,
    0.00000095367431640625,
    0.000000476837158203125,
    0.0000002384185791015625,
    0.00000011920928955078125,
    0.000000059604644775390625,
    0.0000000298023223876953125,
    0.00000001490116119384765625,
    0.000000007450580596923828125,
    0.0000000037252902984619140625,
    0.00000000186264514923095703125,
    0.000000000931322574615478515625,
    0.0000000004656612873077392578125,
    0.00000000023283064365386962890625,
    0.000000000116415321826934814453125,
    0.0000000000582076609134674072265625,
    0.00000000002910383045673370361328125,
    0.000000000014551915228366851806640625,
    0.0000000000072759576141834259033203125,
    0.00000000000363797880709171295166015625,
    0.000000000001818989403545856475830078125
}

Definition at line 184 of file tables.h.

Referenced by a52_block(), coeff_get(), coeff_get_coupling(), and ScaleMVD().


Generated on Mon Apr 28 13:58:43 2008 for Cinelerra by  doxygen 1.5.5