comparison ac3dec_data.c @ 9680:debe2623a70a libavcodec

eac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQ dequantization 24-bit in a separate commit.
author jbr
date Thu, 21 May 2009 00:09:23 +0000
parents 1fe22274393a
children 116836dbd25d
comparison
equal deleted inserted replaced
9679:599c7bfa6e20 9680:debe2623a70a
85 }; 85 };
86 86
87 /** 87 /**
88 * Table E3.6, Gk=2 & Gk=4, B 88 * Table E3.6, Gk=2 & Gk=4, B
89 * Large mantissa inverse quantization, negative mantissa remapping offsets 89 * Large mantissa inverse quantization, negative mantissa remapping offsets
90 * Table values from the spec are right-shifted by 8 to simplify calculations.
90 * ff_eac3_gaq_remap_3_4_b[hebap-8][Gk=2,4] 91 * ff_eac3_gaq_remap_3_4_b[hebap-8][Gk=2,4]
91 */ 92 */
92 const int16_t ff_eac3_gaq_remap_2_4_b[9][2] = { 93 const int8_t ff_eac3_gaq_remap_2_4_b[9][2] = {
93 { -5461, -1170 }, 94 { -22, -5 },
94 { -11703, -4915 }, 95 { -46, -20 },
95 { -14199, -6606 }, 96 { -56, -26 },
96 { -15327, -7412 }, 97 { -60, -29 },
97 { -15864, -7805 }, 98 { -62, -31 },
98 { -16126, -7999 }, 99 { -63, -32 },
99 { -16255, -8096 }, 100 { -64, -32 },
100 { -16320, -8144 }, 101 { -64, -32 },
101 { -16352, -8168 } 102 { -64, -32 },
102 }; 103 };
103 104
104 static const int16_t vq_hebap1[4][6] = { 105 static const int16_t vq_hebap1[4][6] = {
105 { 7167, 4739, 1106, 4269, 10412, 4820}, 106 { 7167, 4739, 1106, 4269, 10412, 4820},
106 { -5702, -3187, -14483, -1392, -2027, 849}, 107 { -5702, -3187, -14483, -1392, -2027, 849},