/src/libxaac/decoder/ixheaacd_spectrum_dec.c
Line | Count | Source |
1 | | /****************************************************************************** |
2 | | * * |
3 | | * Copyright (C) 2018 The Android Open Source Project |
4 | | * |
5 | | * Licensed under the Apache License, Version 2.0 (the "License"); |
6 | | * you may not use this file except in compliance with the License. |
7 | | * You may obtain a copy of the License at: |
8 | | * |
9 | | * http://www.apache.org/licenses/LICENSE-2.0 |
10 | | * |
11 | | * Unless required by applicable law or agreed to in writing, software |
12 | | * distributed under the License is distributed on an "AS IS" BASIS, |
13 | | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 | | * See the License for the specific language governing permissions and |
15 | | * limitations under the License. |
16 | | * |
17 | | ***************************************************************************** |
18 | | * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore |
19 | | */ |
20 | | #include <math.h> |
21 | | #include <stdio.h> |
22 | | #include <string.h> |
23 | | #include "ixheaac_type_def.h" |
24 | | |
25 | | #include "ixheaacd_bitbuffer.h" |
26 | | |
27 | | #include "ixheaacd_interface.h" |
28 | | |
29 | | #include "ixheaacd_tns_usac.h" |
30 | | #include "ixheaacd_cnst.h" |
31 | | #include "ixheaacd_error_codes.h" |
32 | | #include "ixheaacd_acelp_info.h" |
33 | | |
34 | | #include "ixheaacd_sbrdecsettings.h" |
35 | | #include "ixheaacd_info.h" |
36 | | #include "ixheaacd_sbr_common.h" |
37 | | #include "ixheaacd_drc_data_struct.h" |
38 | | #include "ixheaacd_drc_dec.h" |
39 | | #include "ixheaacd_sbrdecoder.h" |
40 | | #include "ixheaacd_mps_polyphase.h" |
41 | | #include "ixheaac_sbr_const.h" |
42 | | #include "ixheaacd_ec_defines.h" |
43 | | #include "ixheaacd_ec_struct_def.h" |
44 | | #include "ixheaacd_main.h" |
45 | | #include "ixheaacd_arith_dec.h" |
46 | | |
47 | | #include "ixheaacd_bit_extract.h" |
48 | | |
49 | | #include "ixheaacd_func_def.h" |
50 | | #include "ixheaacd_interface.h" |
51 | | #include "ixheaacd_info.h" |
52 | | |
53 | | #include "ixheaacd_defines.h" |
54 | | |
55 | | #define MAX_NR_OF_SWB 120 |
56 | | |
57 | 42.2k | VOID ixheaacd_calc_grp_offset(ia_sfb_info_struct *ptr_sfb_info, pUWORD8 group) { |
58 | 42.2k | WORD32 group_offset; |
59 | 42.2k | WORD32 group_idx; |
60 | 42.2k | WORD32 ixheaacd_drc_offset; |
61 | 42.2k | WORD16 *group_offset_p; |
62 | 42.2k | WORD32 sfb, len; |
63 | | |
64 | 42.2k | group_offset = 0; |
65 | 42.2k | group_idx = 0; |
66 | 241k | do { |
67 | 241k | ptr_sfb_info->group_len[group_idx] = group[group_idx] - group_offset; |
68 | 241k | group_offset = group[group_idx]; |
69 | 241k | group_idx++; |
70 | 241k | } while (group_offset < 8); |
71 | 42.2k | ptr_sfb_info->num_groups = group_idx; |
72 | 42.2k | group_offset_p = ptr_sfb_info->sfb_idx_tbl; |
73 | 42.2k | ixheaacd_drc_offset = 0; |
74 | 283k | for (group_idx = 0; group_idx < ptr_sfb_info->num_groups; group_idx++) { |
75 | 241k | len = ptr_sfb_info->group_len[group_idx]; |
76 | 3.81M | for (sfb = 0; sfb < ptr_sfb_info->sfb_per_sbk; sfb++) { |
77 | 3.57M | ixheaacd_drc_offset += ptr_sfb_info->sfb_width[sfb] * len; |
78 | 3.57M | *group_offset_p++ = ixheaacd_drc_offset; |
79 | 3.57M | } |
80 | 241k | } |
81 | 42.2k | } |
82 | | |
83 | | VOID ixheaacd_read_tns_u(ia_sfb_info_struct *ptr_sfb_info, |
84 | | ia_tns_frame_info_struct *pstr_tns_frame_info, |
85 | 31.3k | ia_bit_buf_struct *it_bit_buff) { |
86 | 31.3k | WORD32 j, k, top, coef_res, resolution, compress; |
87 | 31.3k | WORD32 short_flag, i; |
88 | 31.3k | WORD16 *sp, tmp, s_mask, n_mask; |
89 | 31.3k | ia_tns_filter_struct *tns_filt; |
90 | 31.3k | ia_tns_info_struct *pstr_tns_info; |
91 | 31.3k | static const WORD16 sgn_mask[] = {0x2, 0x4, 0x8}; |
92 | 31.3k | static const WORD16 neg_mask[] = {(WORD16)0xfffc, (WORD16)0xfff8, |
93 | 31.3k | (WORD16)0xfff0}; |
94 | | |
95 | 31.3k | WORD16 n_filt_bits; |
96 | 31.3k | WORD16 start_band_bits; |
97 | 31.3k | WORD16 order_bits; |
98 | | |
99 | 31.3k | short_flag = (!ptr_sfb_info->islong); |
100 | 31.3k | pstr_tns_frame_info->n_subblocks = ptr_sfb_info->max_win_len; |
101 | | |
102 | 31.3k | if (!short_flag) { |
103 | 12.1k | n_filt_bits = 2; |
104 | 12.1k | start_band_bits = 6; |
105 | 12.1k | order_bits = 4; |
106 | 19.2k | } else { |
107 | 19.2k | n_filt_bits = 1; |
108 | 19.2k | start_band_bits = 4; |
109 | 19.2k | order_bits = 3; |
110 | 19.2k | } |
111 | | |
112 | 197k | for (i = 0; i < pstr_tns_frame_info->n_subblocks; i++) { |
113 | 165k | pstr_tns_info = &pstr_tns_frame_info->str_tns_info[i]; |
114 | 165k | if (!(pstr_tns_info->n_filt = |
115 | 165k | ixheaacd_read_bits_buf(it_bit_buff, n_filt_bits))) |
116 | 101k | continue; |
117 | | |
118 | 64.1k | pstr_tns_info->coef_res = coef_res = |
119 | 64.1k | ixheaacd_read_bits_buf(it_bit_buff, 1) + 3; |
120 | 64.1k | top = ptr_sfb_info->sfb_per_sbk; |
121 | 64.1k | tns_filt = &pstr_tns_info->str_filter[0]; |
122 | | |
123 | 134k | for (j = pstr_tns_info->n_filt; j > 0; j--) { |
124 | 70.8k | tns_filt->stop_band = top; |
125 | 70.8k | top = tns_filt->start_band = |
126 | 70.8k | top - ixheaacd_read_bits_buf(it_bit_buff, start_band_bits); |
127 | 70.8k | tns_filt->order = ixheaacd_read_bits_buf(it_bit_buff, order_bits); |
128 | | |
129 | 70.8k | if (tns_filt->order) { |
130 | 67.0k | tns_filt->direction = ixheaacd_read_bits_buf(it_bit_buff, 1); |
131 | 67.0k | compress = ixheaacd_read_bits_buf(it_bit_buff, 1); |
132 | 67.0k | resolution = coef_res - compress; |
133 | 67.0k | s_mask = sgn_mask[resolution - 2]; |
134 | 67.0k | n_mask = neg_mask[resolution - 2]; |
135 | 67.0k | sp = tns_filt->coef; |
136 | | |
137 | 323k | for (k = tns_filt->order; k > 0; k--) { |
138 | 256k | tmp = ixheaacd_read_bits_buf(it_bit_buff, resolution); |
139 | 256k | *sp++ = (tmp & s_mask) ? (tmp | n_mask) : tmp; |
140 | 256k | } |
141 | 67.0k | } |
142 | | |
143 | 70.8k | tns_filt++; |
144 | 70.8k | } |
145 | 64.1k | } |
146 | 31.3k | } |
147 | | VOID ixheaacd_scale_factor_data(ia_sfb_info_struct *info, WORD32 tot_sfb, |
148 | | WORD32 max_sfb, WORD32 sfb_per_sbk, |
149 | 170k | WORD8 *ptr_code_book) { |
150 | 170k | WORD band; |
151 | 170k | WORD sect_cb; |
152 | 170k | WORD sect_len; |
153 | 170k | WORD8 *ptr_codebook = ptr_code_book; |
154 | 170k | WORD8 *temp_ptr_codebook = ptr_codebook; |
155 | 170k | WORD32 win_group = info->max_win_len; |
156 | | |
157 | 170k | memset(ptr_codebook, 0, 128); |
158 | | |
159 | 170k | band = 0; |
160 | 759k | while (band < tot_sfb || win_group != 0) { |
161 | 588k | sect_cb = 11; |
162 | 588k | sect_len = max_sfb; |
163 | | |
164 | 588k | band = band + sfb_per_sbk; |
165 | | |
166 | 588k | sect_len = sect_len - 1; |
167 | 3.57M | for (; sect_len >= 0; sect_len--) { |
168 | 2.98M | *temp_ptr_codebook++ = sect_cb; |
169 | 2.98M | } |
170 | 588k | ptr_codebook += 16; |
171 | 588k | temp_ptr_codebook = ptr_codebook; |
172 | 588k | win_group--; |
173 | 588k | } |
174 | 170k | return; |
175 | 170k | } |
176 | | |
177 | | WORD32 |
178 | | ixheaacd_win_seq_select(WORD32 window_sequence_curr, |
179 | 144k | WORD32 window_sequence_last) { |
180 | 144k | WORD32 window_sequence; |
181 | | |
182 | 144k | switch (window_sequence_curr) { |
183 | 72.7k | case ONLY_LONG_SEQUENCE: |
184 | 72.7k | window_sequence = ONLY_LONG_SEQUENCE; |
185 | 72.7k | break; |
186 | | |
187 | 20.3k | case LONG_START_SEQUENCE: |
188 | 20.3k | if ((window_sequence_last == LONG_START_SEQUENCE) || |
189 | 19.6k | (window_sequence_last == EIGHT_SHORT_SEQUENCE) || |
190 | 17.3k | (window_sequence_last == STOP_START_SEQUENCE)) { |
191 | 17.3k | window_sequence = STOP_START_SEQUENCE; |
192 | 17.3k | } else { |
193 | 3.03k | window_sequence = LONG_START_SEQUENCE; |
194 | 3.03k | } |
195 | 20.3k | break; |
196 | | |
197 | 9.21k | case LONG_STOP_SEQUENCE: |
198 | 9.21k | window_sequence = LONG_STOP_SEQUENCE; |
199 | 9.21k | break; |
200 | | |
201 | 42.2k | case EIGHT_SHORT_SEQUENCE: |
202 | 42.2k | window_sequence = EIGHT_SHORT_SEQUENCE; |
203 | 42.2k | break; |
204 | | |
205 | 0 | default: |
206 | 0 | return -1; |
207 | 144k | } |
208 | | |
209 | 144k | return window_sequence; |
210 | 144k | } |
211 | | |
212 | | VOID ixheaacd_tns_reset(ia_sfb_info_struct *ptr_sfb_info, |
213 | 136k | ia_tns_frame_info_struct *pstr_tns_frame_info) { |
214 | 136k | WORD32 s; |
215 | | |
216 | 136k | pstr_tns_frame_info->n_subblocks = ptr_sfb_info->max_win_len; |
217 | 536k | for (s = 0; s < pstr_tns_frame_info->n_subblocks; s++) |
218 | 400k | pstr_tns_frame_info->str_tns_info[s].n_filt = 0; |
219 | 136k | } |
220 | | |
221 | | VOID ixheaacd_section_data(ia_usac_data_struct *usac_data, |
222 | | ia_bit_buf_struct *g_bs, ia_sfb_info_struct *info, |
223 | | WORD16 global_gain, pWORD16 factors, pUWORD8 groups, |
224 | 170k | WORD8 *ptr_code_book) { |
225 | 170k | WORD32 band; |
226 | 170k | WORD16 position = 0; |
227 | 170k | WORD32 group; |
228 | 170k | WORD16 factor = global_gain; |
229 | 170k | WORD8 *temp_codebook_ptr; |
230 | 170k | WORD16 *ptr_scale_fac, *temp_ptr_scale_fac; |
231 | 170k | WORD16 norm_val; |
232 | 170k | WORD32 window_grps, trans_sfb; |
233 | 170k | WORD16 index, length; |
234 | 170k | const UWORD16 *hscf = usac_data->huffman_code_book_scl; |
235 | 170k | const UWORD32 *idx_tab = usac_data->huffman_code_book_scl_index; |
236 | | |
237 | 170k | WORD32 start_bit_pos = g_bs->bit_pos; |
238 | 170k | UWORD8 *start_read_pos = g_bs->ptr_read_next; |
239 | 170k | UWORD8 *ptr_read_next = g_bs->ptr_read_next; |
240 | 170k | WORD32 bit_pos = 7 - g_bs->bit_pos; |
241 | 170k | WORD32 is_1_group = 1; |
242 | | |
243 | 170k | WORD32 bb = 0, i; |
244 | 170k | WORD32 increment; |
245 | 170k | WORD32 read_word = |
246 | 170k | ixheaacd_aac_showbits_32(ptr_read_next, g_bs->cnt_bits, &increment); |
247 | 170k | ptr_read_next = g_bs->ptr_read_next + increment; |
248 | | |
249 | 170k | trans_sfb = info->sfb_per_sbk; |
250 | 170k | temp_ptr_scale_fac = factors; |
251 | 170k | window_grps = info->max_win_len; |
252 | 170k | memset(factors, 0, MAXBANDS); |
253 | 170k | band = trans_sfb - 1; |
254 | | |
255 | 611k | for (group = 0; group < window_grps;) { |
256 | 440k | temp_codebook_ptr = &ptr_code_book[group * 16]; |
257 | 440k | ptr_scale_fac = temp_ptr_scale_fac; |
258 | 440k | group = *groups++; |
259 | 10.0M | for (band = trans_sfb - 1; band >= 0; band--) { |
260 | 9.63M | WORD32 cb_num = *temp_codebook_ptr++; |
261 | | |
262 | 9.63M | if ((band == trans_sfb - 1) && (is_1_group == 1)) { |
263 | 170k | *temp_ptr_scale_fac = factor; |
264 | 170k | temp_ptr_scale_fac++; |
265 | 170k | continue; |
266 | 170k | } |
267 | | |
268 | 9.46M | if (cb_num == ZERO_HCB) |
269 | 7.54M | *temp_ptr_scale_fac++ = 0; |
270 | 1.91M | else { |
271 | 1.91M | WORD32 pns_band; |
272 | 1.91M | WORD16 curr_energy = 0; |
273 | | |
274 | 1.91M | UWORD32 read_word1; |
275 | | |
276 | 1.91M | read_word1 = read_word << bit_pos; |
277 | | |
278 | 1.91M | ixheaacd_huffman_decode(read_word1, &index, &length, hscf, idx_tab); |
279 | | |
280 | 1.91M | bit_pos += length; |
281 | 1.91M | ixheaacd_aac_read_byte_corr1(&ptr_read_next, &bit_pos, &read_word, |
282 | 1.91M | g_bs->ptr_bit_buf_end); |
283 | 1.91M | norm_val = index - 60; |
284 | | |
285 | 1.91M | if (cb_num > NOISE_HCB) { |
286 | 0 | position = position + norm_val; |
287 | 0 | *temp_ptr_scale_fac++ = -position; |
288 | |
|
289 | 1.91M | } else if (cb_num < NOISE_HCB) { |
290 | 1.91M | factor = factor + norm_val; |
291 | 1.91M | *temp_ptr_scale_fac++ = factor; |
292 | | |
293 | 1.91M | } else { |
294 | 0 | curr_energy += norm_val; |
295 | |
|
296 | 0 | pns_band = (group << 4) + trans_sfb - band - 1; |
297 | |
|
298 | 0 | temp_ptr_scale_fac[pns_band] = curr_energy; |
299 | |
|
300 | 0 | temp_ptr_scale_fac++; |
301 | 0 | } |
302 | 1.91M | } |
303 | 9.46M | } |
304 | 440k | is_1_group = 0; |
305 | | |
306 | 440k | if (!(info->islong)) { |
307 | 477k | for (bb++; bb < group; bb++) { |
308 | 2.35M | for (i = 0; i < trans_sfb; i++) { |
309 | 2.20M | ptr_scale_fac[i + trans_sfb] = ptr_scale_fac[i]; |
310 | 2.20M | } |
311 | 148k | temp_ptr_scale_fac += trans_sfb; |
312 | 148k | ptr_scale_fac += trans_sfb; |
313 | 148k | } |
314 | 328k | } |
315 | 440k | } |
316 | 170k | ptr_read_next = ptr_read_next - increment; |
317 | 170k | ixheaacd_aac_read_byte_corr1(&ptr_read_next, &bit_pos, &read_word, |
318 | 170k | g_bs->ptr_bit_buf_end); |
319 | | |
320 | 170k | g_bs->ptr_read_next = ptr_read_next; |
321 | | |
322 | 170k | g_bs->bit_pos = 7 - bit_pos; |
323 | 170k | { |
324 | 170k | WORD32 bits_consumed; |
325 | 170k | bits_consumed = (WORD32)(((g_bs->ptr_read_next - start_read_pos) << 3) + |
326 | 170k | (start_bit_pos - g_bs->bit_pos)); |
327 | 170k | g_bs->cnt_bits -= bits_consumed; |
328 | 170k | } |
329 | 170k | } |
330 | | |
331 | | WORD32 ixheaacd_fd_channel_stream( |
332 | | ia_usac_data_struct *usac_data, |
333 | | ia_usac_tmp_core_coder_struct *pstr_core_coder, UWORD8 *max_sfb, |
334 | | WORD32 window_sequence_last, WORD32 chn, WORD32 noise_filling, WORD32 ch, |
335 | | ia_bit_buf_struct *it_bit_buff |
336 | | |
337 | | ) |
338 | | |
339 | 171k | { |
340 | 171k | WORD32 i; |
341 | | |
342 | 171k | WORD32 tot_sfb; |
343 | 171k | WORD32 noise_level = 0; |
344 | 171k | WORD32 arith_reset_flag; |
345 | | |
346 | 171k | WORD32 arth_size; |
347 | 171k | WORD16 global_gain; |
348 | 171k | WORD32 max_spec_coefficients; |
349 | 171k | WORD32 err_code = 0; |
350 | 171k | WORD32 noise_offset; |
351 | | |
352 | 171k | WORD32 *fac_data; |
353 | 171k | ia_sfb_info_struct *info; |
354 | | |
355 | 171k | WORD8 *ptr_code_book = (WORD8 *)&usac_data->scratch_buffer; |
356 | | |
357 | 171k | global_gain = ixheaacd_read_bits_buf(it_bit_buff, 8); |
358 | | |
359 | 171k | if (noise_filling) { |
360 | 102k | noise_level = ixheaacd_read_bits_buf(it_bit_buff, 3); |
361 | 102k | noise_offset = ixheaacd_read_bits_buf(it_bit_buff, 5); |
362 | | |
363 | 102k | } else { |
364 | 68.5k | noise_level = 0; |
365 | 68.5k | noise_offset = 0; |
366 | 68.5k | } |
367 | | |
368 | 171k | if (!pstr_core_coder->common_window) { |
369 | 117k | err_code = ixheaacd_ics_info(usac_data, chn, max_sfb, it_bit_buff, |
370 | 117k | window_sequence_last); |
371 | | |
372 | 117k | if (err_code == -1) { |
373 | 170 | if (usac_data->ec_flag) { |
374 | 0 | memcpy(usac_data->max_sfb, pstr_core_coder->max_sfb, sizeof(pstr_core_coder->max_sfb)); |
375 | 0 | longjmp(*(it_bit_buff->xaac_jmp_buf), |
376 | 0 | IA_XHEAAC_DEC_EXE_NONFATAL_INSUFFICIENT_INPUT_BYTES); |
377 | 170 | } else { |
378 | 170 | return err_code; |
379 | 170 | } |
380 | 170 | } |
381 | 117k | } |
382 | 171k | info = usac_data->pstr_sfb_info[chn]; |
383 | | |
384 | 171k | if (!pstr_core_coder->common_tw && usac_data->tw_mdct[0] == 1) { |
385 | 0 | usac_data->tw_data_present[chn] = ixheaacd_read_bits_buf(it_bit_buff, 1); |
386 | 0 | if (usac_data->tw_data_present[chn]) { |
387 | 0 | WORD32 i; |
388 | 0 | for (i = 0; i < NUM_TW_NODES; i++) { |
389 | 0 | usac_data->tw_ratio[chn][i] = ixheaacd_read_bits_buf(it_bit_buff, 3); |
390 | 0 | } |
391 | 0 | } |
392 | 0 | } |
393 | | |
394 | 171k | if (*max_sfb == 0) { |
395 | 68.4k | tot_sfb = 0; |
396 | 102k | } else { |
397 | 102k | i = 0; |
398 | 102k | tot_sfb = info->sfb_per_sbk; |
399 | | |
400 | 262k | while (usac_data->group_dis[chn][i++] < info->max_win_len) { |
401 | 159k | tot_sfb += info->sfb_per_sbk; |
402 | 159k | } |
403 | 102k | } |
404 | | |
405 | 171k | ixheaacd_scale_factor_data(info, tot_sfb, *max_sfb, info->sfb_per_sbk, |
406 | 171k | ptr_code_book); |
407 | | |
408 | 171k | if ((it_bit_buff->ptr_read_next > it_bit_buff->ptr_bit_buf_end - 3) && |
409 | 72 | (it_bit_buff->size == it_bit_buff->max_size)) { |
410 | 0 | return -1; |
411 | 0 | } |
412 | | |
413 | 171k | ixheaacd_section_data(usac_data, it_bit_buff, info, global_gain, |
414 | 171k | usac_data->factors[chn], usac_data->group_dis[chn], |
415 | 171k | ptr_code_book); |
416 | | |
417 | 171k | if (pstr_core_coder->tns_data_present[ch] == 0) |
418 | 136k | ixheaacd_tns_reset(info, usac_data->pstr_tns[chn]); |
419 | | |
420 | 171k | if (pstr_core_coder->tns_data_present[ch] == 1) |
421 | 28.1k | ixheaacd_read_tns_u(info, usac_data->pstr_tns[chn], it_bit_buff); |
422 | | |
423 | 171k | if (*max_sfb > 0) { |
424 | 102k | max_spec_coefficients = |
425 | 102k | info->sfb_idx_tbl[*max_sfb - 1] / info->group_len[0]; |
426 | 102k | } else { |
427 | 68.5k | max_spec_coefficients = 0; |
428 | 68.5k | } |
429 | | |
430 | 171k | if (usac_data->usac_independency_flg) |
431 | 13.7k | arith_reset_flag = 1; |
432 | 157k | else |
433 | 157k | arith_reset_flag = ixheaacd_read_bits_buf(it_bit_buff, 1); |
434 | | |
435 | 171k | switch (usac_data->window_sequence[chn]) { |
436 | 59.6k | case EIGHT_SHORT_SEQUENCE: |
437 | 59.6k | arth_size = usac_data->ccfl / 8; |
438 | 59.6k | break; |
439 | 111k | default: |
440 | 111k | arth_size = usac_data->ccfl; |
441 | 111k | break; |
442 | 171k | } |
443 | | |
444 | 170k | err_code = ixheaacd_ac_spectral_data( |
445 | 170k | usac_data, max_spec_coefficients, noise_level, noise_offset, arth_size, |
446 | 170k | it_bit_buff, *max_sfb, arith_reset_flag, noise_filling, chn); |
447 | | |
448 | 170k | if (err_code != 0) return err_code; |
449 | | |
450 | 170k | usac_data->fac_data_present[chn] = ixheaacd_read_bits_buf(it_bit_buff, 1); |
451 | | |
452 | 170k | if (usac_data->fac_data_present[chn]) { |
453 | 55.6k | WORD32 fac_len; |
454 | 55.6k | if ((usac_data->window_sequence[chn]) == EIGHT_SHORT_SEQUENCE) { |
455 | 18.3k | fac_len = (usac_data->ccfl) / 16; |
456 | 37.2k | } else { |
457 | 37.2k | fac_len = (usac_data->ccfl) / 8; |
458 | 37.2k | } |
459 | | |
460 | 55.6k | fac_data = usac_data->fac_data[chn]; |
461 | 55.6k | fac_data[0] = ixheaacd_read_bits_buf(it_bit_buff, 7); |
462 | 55.6k | ixheaacd_fac_decoding(fac_len, 0, &fac_data[1], it_bit_buff); |
463 | 55.6k | } |
464 | | |
465 | 170k | return 0; |
466 | 170k | } |