Mercurial > mplayer.hg
annotate libfaad2/sbr_huff.c @ 13757:40c44e178073
1.132: MSGTR_EdlCantOpenForWrite updated
1.133: mp_msg transition of unmaintained audio output drivers (referring to date 2004/09/18!)
file isn't yet up to date, will continue updating in steps..
author | kraymer |
---|---|
date | Mon, 25 Oct 2004 16:31:50 +0000 |
parents | 6d50ef45a058 |
children | 2ae5ab4331ca |
rev | line source |
---|---|
10725 | 1 /* |
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding | |
12527 | 3 ** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com |
10725 | 4 ** |
5 ** This program is free software; you can redistribute it and/or modify | |
6 ** it under the terms of the GNU General Public License as published by | |
7 ** the Free Software Foundation; either version 2 of the License, or | |
8 ** (at your option) any later version. | |
9 ** | |
10 ** This program is distributed in the hope that it will be useful, | |
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 ** GNU General Public License for more details. | |
14 ** | |
15 ** You should have received a copy of the GNU General Public License | |
16 ** along with this program; if not, write to the Free Software | |
17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
18 ** | |
19 ** Any non-GPL usage of this software or parts of this software is strictly | |
20 ** forbidden. | |
21 ** | |
22 ** Commercial non-GPL licensing of this software is possible. | |
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. | |
24 ** | |
12625
d81145997036
More information about modifications to comply more closely with GPL 2a.
diego
parents:
12527
diff
changeset
|
25 ** Initially modified for use with MPlayer by Arpad Gereöffy on 2003/08/30 |
13453
6d50ef45a058
Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents:
12625
diff
changeset
|
26 ** $Id: sbr_huff.c,v 1.4 2004/06/23 13:50:52 diego Exp $ |
12625
d81145997036
More information about modifications to comply more closely with GPL 2a.
diego
parents:
12527
diff
changeset
|
27 ** detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/ |
10725 | 28 **/ |
29 | |
30 #include "common.h" | |
31 #include "structs.h" | |
32 | |
33 #ifdef SBR_DEC | |
34 | |
10989 | 35 #include "sbr_syntax.h" |
10725 | 36 #include "bits.h" |
37 #include "sbr_huff.h" | |
10989 | 38 #include "sbr_e_nf.h" |
10725 | 39 |
40 | |
10989 | 41 typedef const int8_t (*sbr_huff_tab)[2]; |
10725 | 42 |
10989 | 43 static const int8_t t_huffman_env_1_5dB[120][2] = { |
10725 | 44 { 1, 2 }, { -64, -65 }, { 3, 4 }, { -63, -66 }, |
45 { 5, 6 }, { -62, -67 }, { 7, 8 }, { -61, -68 }, | |
46 { 9, 10 }, { -60, -69 }, { 11, 12 }, { -59, -70 }, | |
47 { 13, 14 }, { -58, -71 }, { 15, 16 }, { -57, -72 }, | |
48 { 17, 18 }, { -73, -56 }, { 19, 21 }, { -74, 20 }, | |
49 { -55, -75 }, { 22, 26 }, { 23, 24 }, { -54, -76 }, | |
50 { -77, 25 }, { -53, -78 }, { 27, 34 }, { 28, 29 }, | |
51 { -52, -79 }, { 30, 31 }, { -80, -51 }, { 32, 33 }, | |
52 { -83, -82 }, { -81, -50 }, { 35, 57 }, { 36, 40 }, | |
53 { 37, 38 }, { -88, -84 }, { -48, 39 }, { -90, -85 }, | |
54 { 41, 46 }, { 42, 43 }, { -49, -87 }, { 44, 45 }, | |
55 { -89, -86 }, {-124,-123 }, { 47, 50 }, { 48, 49 }, | |
56 {-122,-121 }, {-120,-119 }, { 51, 54 }, { 52, 53 }, | |
57 {-118,-117 }, {-116,-115 }, { 55, 56 }, {-114,-113 }, | |
58 {-112,-111 }, { 58, 89 }, { 59, 74 }, { 60, 67 }, | |
59 { 61, 64 }, { 62, 63 }, {-110,-109 }, {-108,-107 }, | |
60 { 65, 66 }, {-106,-105 }, {-104,-103 }, { 68, 71 }, | |
61 { 69, 70 }, {-102,-101 }, {-100, -99 }, { 72, 73 }, | |
62 { -98, -97 }, { -96, -95 }, { 75, 82 }, { 76, 79 }, | |
63 { 77, 78 }, { -94, -93 }, { -92, -91 }, { 80, 81 }, | |
64 { -47, -46 }, { -45, -44 }, { 83, 86 }, { 84, 85 }, | |
65 { -43, -42 }, { -41, -40 }, { 87, 88 }, { -39, -38 }, | |
66 { -37, -36 }, { 90, 105 }, { 91, 98 }, { 92, 95 }, | |
67 { 93, 94 }, { -35, -34 }, { -33, -32 }, { 96, 97 }, | |
68 { -31, -30 }, { -29, -28 }, { 99, 102 }, { 100, 101 }, | |
69 { -27, -26 }, { -25, -24 }, { 103, 104 }, { -23, -22 }, | |
70 { -21, -20 }, { 106, 113 }, { 107, 110 }, { 108, 109 }, | |
71 { -19, -18 }, { -17, -16 }, { 111, 112 }, { -15, -14 }, | |
72 { -13, -12 }, { 114, 117 }, { 115, 116 }, { -11, -10 }, | |
73 { -9, -8 }, { 118, 119 }, { -7, -6 }, { -5, -4 } | |
74 }; | |
75 | |
10989 | 76 static const int8_t f_huffman_env_1_5dB[120][2] = { |
10725 | 77 { 1, 2 }, { -64, -65 }, { 3, 4 }, { -63, -66 }, |
78 { 5, 6 }, { -67, -62 }, { 7, 8 }, { -68, -61 }, | |
79 { 9, 10 }, { -69, -60 }, { 11, 13 }, { -70, 12 }, | |
80 { -59, -71 }, { 14, 16 }, { -58, 15 }, { -72, -57 }, | |
81 { 17, 19 }, { -73, 18 }, { -56, -74 }, { 20, 23 }, | |
82 { 21, 22 }, { -55, -75 }, { -54, -53 }, { 24, 27 }, | |
83 { 25, 26 }, { -76, -52 }, { -77, -51 }, { 28, 31 }, | |
84 { 29, 30 }, { -50, -78 }, { -79, -49 }, { 32, 36 }, | |
85 { 33, 34 }, { -48, -47 }, { -80, 35 }, { -81, -82 }, | |
86 { 37, 47 }, { 38, 41 }, { 39, 40 }, { -83, -46 }, | |
87 { -45, -84 }, { 42, 44 }, { -85, 43 }, { -44, -43 }, | |
88 { 45, 46 }, { -88, -87 }, { -86, -90 }, { 48, 66 }, | |
89 { 49, 56 }, { 50, 53 }, { 51, 52 }, { -92, -42 }, | |
90 { -41, -39 }, { 54, 55 }, {-105, -89 }, { -38, -37 }, | |
91 { 57, 60 }, { 58, 59 }, { -94, -91 }, { -40, -36 }, | |
92 { 61, 63 }, { -20, 62 }, {-115,-110 }, { 64, 65 }, | |
93 {-108,-107 }, {-101, -97 }, { 67, 89 }, { 68, 75 }, | |
94 { 69, 72 }, { 70, 71 }, { -95, -93 }, { -34, -27 }, | |
95 { 73, 74 }, { -22, -17 }, { -16,-124 }, { 76, 82 }, | |
96 { 77, 79 }, {-123, 78 }, {-122,-121 }, { 80, 81 }, | |
97 {-120,-119 }, {-118,-117 }, { 83, 86 }, { 84, 85 }, | |
98 {-116,-114 }, {-113,-112 }, { 87, 88 }, {-111,-109 }, | |
99 {-106,-104 }, { 90, 105 }, { 91, 98 }, { 92, 95 }, | |
100 { 93, 94 }, {-103,-102 }, {-100, -99 }, { 96, 97 }, | |
101 { -98, -96 }, { -35, -33 }, { 99, 102 }, { 100, 101 }, | |
102 { -32, -31 }, { -30, -29 }, { 103, 104 }, { -28, -26 }, | |
103 { -25, -24 }, { 106, 113 }, { 107, 110 }, { 108, 109 }, | |
104 { -23, -21 }, { -19, -18 }, { 111, 112 }, { -15, -14 }, | |
105 { -13, -12 }, { 114, 117 }, { 115, 116 }, { -11, -10 }, | |
106 { -9, -8 }, { 118, 119 }, { -7, -6 }, { -5, -4 } | |
107 }; | |
108 | |
10989 | 109 static const int8_t t_huffman_env_bal_1_5dB[48][2] = { |
10725 | 110 { -64, 1 }, { -63, 2 }, { -65, 3 }, { -62, 4 }, |
111 { -66, 5 }, { -61, 6 }, { -67, 7 }, { -60, 8 }, | |
112 { -68, 9 }, { 10, 11 }, { -69, -59 }, { 12, 13 }, | |
113 { -70, -58 }, { 14, 28 }, { 15, 21 }, { 16, 18 }, | |
114 { -57, 17 }, { -71, -56 }, { 19, 20 }, { -88, -87 }, | |
115 { -86, -85 }, { 22, 25 }, { 23, 24 }, { -84, -83 }, | |
116 { -82, -81 }, { 26, 27 }, { -80, -79 }, { -78, -77 }, | |
117 { 29, 36 }, { 30, 33 }, { 31, 32 }, { -76, -75 }, | |
118 { -74, -73 }, { 34, 35 }, { -72, -55 }, { -54, -53 }, | |
119 { 37, 41 }, { 38, 39 }, { -52, -51 }, { -50, 40 }, | |
120 { -49, -48 }, { 42, 45 }, { 43, 44 }, { -47, -46 }, | |
121 { -45, -44 }, { 46, 47 }, { -43, -42 }, { -41, -40 } | |
122 }; | |
123 | |
10989 | 124 static const int8_t f_huffman_env_bal_1_5dB[48][2] = { |
10725 | 125 { -64, 1 }, { -65, 2 }, { -63, 3 }, { -66, 4 }, |
126 { -62, 5 }, { -61, 6 }, { -67, 7 }, { -68, 8 }, | |
127 { -60, 9 }, { 10, 11 }, { -69, -59 }, { -70, 12 }, | |
128 { -58, 13 }, { 14, 17 }, { -71, 15 }, { -57, 16 }, | |
129 { -56, -73 }, { 18, 32 }, { 19, 25 }, { 20, 22 }, | |
130 { -72, 21 }, { -88, -87 }, { 23, 24 }, { -86, -85 }, | |
131 { -84, -83 }, { 26, 29 }, { 27, 28 }, { -82, -81 }, | |
132 { -80, -79 }, { 30, 31 }, { -78, -77 }, { -76, -75 }, | |
133 { 33, 40 }, { 34, 37 }, { 35, 36 }, { -74, -55 }, | |
134 { -54, -53 }, { 38, 39 }, { -52, -51 }, { -50, -49 }, | |
135 { 41, 44 }, { 42, 43 }, { -48, -47 }, { -46, -45 }, | |
136 { 45, 46 }, { -44, -43 }, { -42, 47 }, { -41, -40 } | |
137 }; | |
138 | |
10989 | 139 static const int8_t t_huffman_env_3_0dB[62][2] = { |
10725 | 140 { -64, 1 }, { -65, 2 }, { -63, 3 }, { -66, 4 }, |
141 { -62, 5 }, { -67, 6 }, { -61, 7 }, { -68, 8 }, | |
142 { -60, 9 }, { 10, 11 }, { -69, -59 }, { 12, 14 }, | |
143 { -70, 13 }, { -71, -58 }, { 15, 18 }, { 16, 17 }, | |
144 { -72, -57 }, { -73, -74 }, { 19, 22 }, { -56, 20 }, | |
145 { -55, 21 }, { -54, -77 }, { 23, 31 }, { 24, 25 }, | |
146 { -75, -76 }, { 26, 27 }, { -78, -53 }, { 28, 29 }, | |
147 { -52, -95 }, { -94, 30 }, { -93, -92 }, { 32, 47 }, | |
148 { 33, 40 }, { 34, 37 }, { 35, 36 }, { -91, -90 }, | |
149 { -89, -88 }, { 38, 39 }, { -87, -86 }, { -85, -84 }, | |
150 { 41, 44 }, { 42, 43 }, { -83, -82 }, { -81, -80 }, | |
151 { 45, 46 }, { -79, -51 }, { -50, -49 }, { 48, 55 }, | |
152 { 49, 52 }, { 50, 51 }, { -48, -47 }, { -46, -45 }, | |
153 { 53, 54 }, { -44, -43 }, { -42, -41 }, { 56, 59 }, | |
154 { 57, 58 }, { -40, -39 }, { -38, -37 }, { 60, 61 }, | |
155 { -36, -35 }, { -34, -33 } | |
156 }; | |
157 | |
10989 | 158 static const int8_t f_huffman_env_3_0dB[62][2] = { |
10725 | 159 { -64, 1 }, { -65, 2 }, { -63, 3 }, { -66, 4 }, |
160 { -62, 5 }, { -67, 6 }, { 7, 8 }, { -61, -68 }, | |
161 { 9, 10 }, { -60, -69 }, { 11, 12 }, { -59, -70 }, | |
162 { 13, 14 }, { -58, -71 }, { 15, 16 }, { -57, -72 }, | |
163 { 17, 19 }, { -56, 18 }, { -55, -73 }, { 20, 24 }, | |
164 { 21, 22 }, { -74, -54 }, { -53, 23 }, { -75, -76 }, | |
165 { 25, 30 }, { 26, 27 }, { -52, -51 }, { 28, 29 }, | |
166 { -77, -79 }, { -50, -49 }, { 31, 39 }, { 32, 35 }, | |
167 { 33, 34 }, { -78, -46 }, { -82, -88 }, { 36, 37 }, | |
168 { -83, -48 }, { -47, 38 }, { -86, -85 }, { 40, 47 }, | |
169 { 41, 44 }, { 42, 43 }, { -80, -44 }, { -43, -42 }, | |
170 { 45, 46 }, { -39, -87 }, { -84, -40 }, { 48, 55 }, | |
171 { 49, 52 }, { 50, 51 }, { -95, -94 }, { -93, -92 }, | |
172 { 53, 54 }, { -91, -90 }, { -89, -81 }, { 56, 59 }, | |
173 { 57, 58 }, { -45, -41 }, { -38, -37 }, { 60, 61 }, | |
174 { -36, -35 }, { -34, -33 } | |
175 }; | |
176 | |
10989 | 177 static const int8_t t_huffman_env_bal_3_0dB[24][2] = { |
10725 | 178 { -64, 1 }, { -63, 2 }, { -65, 3 }, { -66, 4 }, |
179 { -62, 5 }, { -61, 6 }, { -67, 7 }, { -68, 8 }, | |
180 { -60, 9 }, { 10, 16 }, { 11, 13 }, { -69, 12 }, | |
181 { -76, -75 }, { 14, 15 }, { -74, -73 }, { -72, -71 }, | |
182 { 17, 20 }, { 18, 19 }, { -70, -59 }, { -58, -57 }, | |
183 { 21, 22 }, { -56, -55 }, { -54, 23 }, { -53, -52 } | |
184 }; | |
185 | |
10989 | 186 static const int8_t f_huffman_env_bal_3_0dB[24][2] = { |
10725 | 187 { -64, 1 }, { -65, 2 }, { -63, 3 }, { -66, 4 }, |
188 { -62, 5 }, { -61, 6 }, { -67, 7 }, { -68, 8 }, | |
189 { -60, 9 }, { 10, 13 }, { -69, 11 }, { -59, 12 }, | |
190 { -58, -76 }, { 14, 17 }, { 15, 16 }, { -75, -74 }, | |
191 { -73, -72 }, { 18, 21 }, { 19, 20 }, { -71, -70 }, | |
192 { -57, -56 }, { 22, 23 }, { -55, -54 }, { -53, -52 } | |
193 }; | |
194 | |
10989 | 195 static const int8_t t_huffman_noise_3_0dB[62][2] = { |
10725 | 196 { -64, 1 }, { -63, 2 }, { -65, 3 }, { -66, 4 }, |
197 { -62, 5 }, { -67, 6 }, { 7, 8 }, { -61, -68 }, | |
198 { 9, 30 }, { 10, 15 }, { -60, 11 }, { -69, 12 }, | |
199 { 13, 14 }, { -59, -53 }, { -95, -94 }, { 16, 23 }, | |
200 { 17, 20 }, { 18, 19 }, { -93, -92 }, { -91, -90 }, | |
201 { 21, 22 }, { -89, -88 }, { -87, -86 }, { 24, 27 }, | |
202 { 25, 26 }, { -85, -84 }, { -83, -82 }, { 28, 29 }, | |
203 { -81, -80 }, { -79, -78 }, { 31, 46 }, { 32, 39 }, | |
204 { 33, 36 }, { 34, 35 }, { -77, -76 }, { -75, -74 }, | |
205 { 37, 38 }, { -73, -72 }, { -71, -70 }, { 40, 43 }, | |
206 { 41, 42 }, { -58, -57 }, { -56, -55 }, { 44, 45 }, | |
207 { -54, -52 }, { -51, -50 }, { 47, 54 }, { 48, 51 }, | |
208 { 49, 50 }, { -49, -48 }, { -47, -46 }, { 52, 53 }, | |
209 { -45, -44 }, { -43, -42 }, { 55, 58 }, { 56, 57 }, | |
210 { -41, -40 }, { -39, -38 }, { 59, 60 }, { -37, -36 }, | |
211 { -35, 61 }, { -34, -33 } | |
212 }; | |
213 | |
10989 | 214 static const int8_t t_huffman_noise_bal_3_0dB[24][2] = { |
10725 | 215 { -64, 1 }, { -65, 2 }, { -63, 3 }, { 4, 9 }, |
216 { -66, 5 }, { -62, 6 }, { 7, 8 }, { -76, -75 }, | |
217 { -74, -73 }, { 10, 17 }, { 11, 14 }, { 12, 13 }, | |
218 { -72, -71 }, { -70, -69 }, { 15, 16 }, { -68, -67 }, | |
219 { -61, -60 }, { 18, 21 }, { 19, 20 }, { -59, -58 }, | |
220 { -57, -56 }, { 22, 23 }, { -55, -54 }, { -53, -52 } | |
221 }; | |
222 | |
10989 | 223 |
12527 | 224 static INLINE int16_t sbr_huff_dec(bitfile *ld, sbr_huff_tab t_huff) |
10989 | 225 { |
226 uint8_t bit; | |
227 int16_t index = 0; | |
228 | |
229 while (index >= 0) | |
230 { | |
13453
6d50ef45a058
Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents:
12625
diff
changeset
|
231 bit = (uint8_t)faad_get1bit(ld); |
10989 | 232 index = t_huff[index][bit]; |
233 } | |
234 | |
235 return index + 64; | |
236 } | |
237 | |
238 /* table 10 */ | |
239 void sbr_envelope(bitfile *ld, sbr_info *sbr, uint8_t ch) | |
240 { | |
241 uint8_t env, band; | |
242 int8_t delta = 0; | |
243 sbr_huff_tab t_huff, f_huff; | |
244 | |
12527 | 245 if ((sbr->L_E[ch] == 1) && (sbr->bs_frame_class[ch] == FIXFIX)) |
246 sbr->amp_res[ch] = 0; | |
10989 | 247 else |
12527 | 248 sbr->amp_res[ch] = sbr->bs_amp_res; |
10989 | 249 |
250 if ((sbr->bs_coupling) && (ch == 1)) | |
251 { | |
252 delta = 1; | |
253 if (sbr->amp_res[ch]) | |
254 { | |
255 t_huff = t_huffman_env_bal_3_0dB; | |
256 f_huff = f_huffman_env_bal_3_0dB; | |
257 } else { | |
258 t_huff = t_huffman_env_bal_1_5dB; | |
259 f_huff = f_huffman_env_bal_1_5dB; | |
260 } | |
261 } else { | |
262 delta = 0; | |
263 if (sbr->amp_res[ch]) | |
264 { | |
265 t_huff = t_huffman_env_3_0dB; | |
266 f_huff = f_huffman_env_3_0dB; | |
267 } else { | |
268 t_huff = t_huffman_env_1_5dB; | |
269 f_huff = f_huffman_env_1_5dB; | |
270 } | |
271 } | |
272 | |
273 for (env = 0; env < sbr->L_E[ch]; env++) | |
274 { | |
275 if (sbr->bs_df_env[ch][env] == 0) | |
276 { | |
277 if ((sbr->bs_coupling == 1) && (ch == 1)) | |
278 { | |
279 if (sbr->amp_res[ch]) | |
280 { | |
12527 | 281 sbr->E[ch][0][env] = (uint16_t)(faad_getbits(ld, 5 |
10989 | 282 DEBUGVAR(1,272,"sbr_envelope(): bs_data_env")) << delta); |
283 } else { | |
12527 | 284 sbr->E[ch][0][env] = (uint16_t)(faad_getbits(ld, 6 |
10989 | 285 DEBUGVAR(1,273,"sbr_envelope(): bs_data_env")) << delta); |
286 } | |
287 } else { | |
288 if (sbr->amp_res[ch]) | |
289 { | |
12527 | 290 sbr->E[ch][0][env] = (uint16_t)(faad_getbits(ld, 6 |
10989 | 291 DEBUGVAR(1,274,"sbr_envelope(): bs_data_env")) << delta); |
292 } else { | |
12527 | 293 sbr->E[ch][0][env] = (uint16_t)(faad_getbits(ld, 7 |
10989 | 294 DEBUGVAR(1,275,"sbr_envelope(): bs_data_env")) << delta); |
295 } | |
296 } | |
297 | |
298 for (band = 1; band < sbr->n[sbr->f[ch][env]]; band++) | |
299 { | |
300 sbr->E[ch][band][env] = (sbr_huff_dec(ld, f_huff) << delta); | |
301 } | |
302 | |
303 } else { | |
304 for (band = 0; band < sbr->n[sbr->f[ch][env]]; band++) | |
305 { | |
306 sbr->E[ch][band][env] = (sbr_huff_dec(ld, t_huff) << delta); | |
307 } | |
308 } | |
309 } | |
310 | |
311 extract_envelope_data(sbr, ch); | |
312 } | |
313 | |
314 /* table 11 */ | |
315 void sbr_noise(bitfile *ld, sbr_info *sbr, uint8_t ch) | |
316 { | |
317 uint8_t noise, band; | |
318 int8_t delta = 0; | |
319 sbr_huff_tab t_huff, f_huff; | |
320 | |
321 if ((sbr->bs_coupling == 1) && (ch == 1)) | |
322 { | |
323 delta = 1; | |
324 t_huff = t_huffman_noise_bal_3_0dB; | |
325 f_huff = f_huffman_env_bal_3_0dB; | |
326 } else { | |
327 delta = 0; | |
328 t_huff = t_huffman_noise_3_0dB; | |
329 f_huff = f_huffman_env_3_0dB; | |
330 } | |
331 | |
332 for (noise = 0; noise < sbr->L_Q[ch]; noise++) | |
333 { | |
334 if(sbr->bs_df_noise[ch][noise] == 0) | |
335 { | |
336 if ((sbr->bs_coupling == 1) && (ch == 1)) | |
337 { | |
338 sbr->Q[ch][0][noise] = (faad_getbits(ld, 5 | |
339 DEBUGVAR(1,276,"sbr_noise(): bs_data_noise")) << delta); | |
340 } else { | |
341 sbr->Q[ch][0][noise] = (faad_getbits(ld, 5 | |
342 DEBUGVAR(1,277,"sbr_noise(): bs_data_noise")) << delta); | |
343 } | |
344 for (band = 1; band < sbr->N_Q; band++) | |
345 { | |
346 sbr->Q[ch][band][noise] = (sbr_huff_dec(ld, f_huff) << delta); | |
347 } | |
348 } else { | |
349 for (band = 0; band < sbr->N_Q; band++) | |
350 { | |
351 sbr->Q[ch][band][noise] = (sbr_huff_dec(ld, t_huff) << delta); | |
352 } | |
353 } | |
354 } | |
355 | |
356 extract_noise_floor_data(sbr, ch); | |
357 } | |
358 | |
359 #endif |