Lines Matching refs:it_bit_buff
55 WORD32 ixheaacd_get_mode_lpc(WORD32 lpc_set, ia_bit_buf_struct *it_bit_buff, in ixheaacd_get_mode_lpc() argument
64 mode_lpc = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_get_mode_lpc()
68 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
71 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
78 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
81 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
84 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
97 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_qn_data() argument
102 while (ixheaacd_read_bits_buf(it_bit_buff, 1) == 1) { in ixheaacd_qn_data()
112 qn[k] = 2 + ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_qn_data()
119 while (ixheaacd_read_bits_buf(it_bit_buff, 1) == 1) qn[k] += 1; in ixheaacd_qn_data()
128 while (ixheaacd_read_bits_buf(it_bit_buff, 1) == 1) qn_ext += 1; in ixheaacd_qn_data()
154 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_code_book_indices() argument
157 ixheaacd_qn_data(nk_mode, &qn[0], it_bit_buff); in ixheaacd_code_book_indices()
172 ixheaacd_read_bits_buf(it_bit_buff, 4 * n); in ixheaacd_code_book_indices()
176 ixheaacd_read_bits_buf(it_bit_buff, nk); in ixheaacd_code_book_indices()
184 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_lpc_data() argument
187 mode_lpc = ixheaacd_get_mode_lpc(4, it_bit_buff, &nk_mode); in ixheaacd_lpc_data()
190 ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_lpc_data()
192 ixheaacd_code_book_indices(pstr_td_frame_data, nk_mode, &j, it_bit_buff); in ixheaacd_lpc_data()
194 mode_lpc = ixheaacd_get_mode_lpc(0, it_bit_buff, &nk_mode); in ixheaacd_lpc_data()
199 ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_lpc_data()
201 ixheaacd_code_book_indices(pstr_td_frame_data, nk_mode, &j, it_bit_buff); in ixheaacd_lpc_data()
204 mode_lpc = ixheaacd_get_mode_lpc(2, it_bit_buff, &nk_mode); in ixheaacd_lpc_data()
209 ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_lpc_data()
211 ixheaacd_code_book_indices(pstr_td_frame_data, nk_mode, &j, it_bit_buff); in ixheaacd_lpc_data()
214 mode_lpc = ixheaacd_get_mode_lpc(1, it_bit_buff, &nk_mode); in ixheaacd_lpc_data()
219 ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_lpc_data()
222 ixheaacd_code_book_indices(pstr_td_frame_data, nk_mode, &j, it_bit_buff); in ixheaacd_lpc_data()
225 mode_lpc = ixheaacd_get_mode_lpc(3, it_bit_buff, &nk_mode); in ixheaacd_lpc_data()
230 ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_lpc_data()
232 ixheaacd_code_book_indices(pstr_td_frame_data, nk_mode, &j, it_bit_buff); in ixheaacd_lpc_data()
238 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_fac_decoding() argument
244 while (ixheaacd_read_bits_buf(it_bit_buff, 1) == 1) { in ixheaacd_fac_decoding()
256 code_book_index = ixheaacd_read_bits_buf(it_bit_buff, 4 * n); in ixheaacd_fac_decoding()
259 kv[j] = ixheaacd_read_bits_buf(it_bit_buff, nk); in ixheaacd_fac_decoding()
273 ia_bit_buf_struct *it_bit_buff, WORD32 chan) { in ixheaacd_acelp_decoding() argument
280 pstr_td_frame_data->mean_energy[k] = ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_acelp_decoding()
287 ixheaacd_read_bits_buf(it_bit_buff, 9); in ixheaacd_acelp_decoding()
291 ixheaacd_read_bits_buf(it_bit_buff, 6); in ixheaacd_acelp_decoding()
294 ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_acelp_decoding()
298 ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_acelp_decoding()
300 ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_acelp_decoding()
302 ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_acelp_decoding()
304 ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_acelp_decoding()
306 ixheaacd_read_bits_buf(it_bit_buff, 14); in ixheaacd_acelp_decoding()
308 ixheaacd_read_bits_buf(it_bit_buff, 14); in ixheaacd_acelp_decoding()
310 ixheaacd_read_bits_buf(it_bit_buff, 14); in ixheaacd_acelp_decoding()
312 ixheaacd_read_bits_buf(it_bit_buff, 14); in ixheaacd_acelp_decoding()
315 ixheaacd_read_bits_buf(it_bit_buff, ptr_num_bits[0]); in ixheaacd_acelp_decoding()
317 ixheaacd_read_bits_buf(it_bit_buff, ptr_num_bits[1]); in ixheaacd_acelp_decoding()
319 ixheaacd_read_bits_buf(it_bit_buff, ptr_num_bits[2]); in ixheaacd_acelp_decoding()
321 ixheaacd_read_bits_buf(it_bit_buff, ptr_num_bits[3]); in ixheaacd_acelp_decoding()
324 pstr_td_frame_data->gains[kk] = ixheaacd_read_bits_buf(it_bit_buff, 7); in ixheaacd_acelp_decoding()
331 ia_bit_buf_struct *it_bit_buff in ixheaacd_tcx_coding() argument
334 pstr_td_frame_data->noise_factor[k] = ixheaacd_read_bits_buf(it_bit_buff, 3); in ixheaacd_tcx_coding()
336 pstr_td_frame_data->global_gain[k] = ixheaacd_read_bits_buf(it_bit_buff, 7); in ixheaacd_tcx_coding()
355 ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_tcx_coding()
359 ixheaacd_arith_data(pstr_td_frame_data, quant, usac_data, it_bit_buff, in ixheaacd_tcx_coding()
365 ia_bit_buf_struct *it_bit_buff, in ixheaacd_lpd_channel_stream() argument
384 pstr_td_frame_data->acelp_core_mode = ixheaacd_read_bits_buf(it_bit_buff, 3); in ixheaacd_lpd_channel_stream()
386 lpd_mode = ixheaacd_read_bits_buf(it_bit_buff, 5); in ixheaacd_lpd_channel_stream()
411 bpf_control_info = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_lpd_channel_stream()
413 core_mode_last = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_lpd_channel_stream()
415 fac_data_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_lpd_channel_stream()
426 pstr_td_frame_data->fac, it_bit_buff); in ixheaacd_lpd_channel_stream()
431 pstr_td_frame_data->fac, it_bit_buff); in ixheaacd_lpd_channel_stream()
435 ixheaacd_acelp_decoding(k, usac_data, pstr_td_frame_data, it_bit_buff, in ixheaacd_lpd_channel_stream()
442 pstr_td_frame_data, it_bit_buff); in ixheaacd_lpd_channel_stream()
457 it_bit_buff); in ixheaacd_lpd_channel_stream()
461 short_fac_flag = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_lpd_channel_stream()
467 fac_data[0] = ixheaacd_read_bits_buf(it_bit_buff, 7); in ixheaacd_lpd_channel_stream()
468 ixheaacd_fac_decoding(fac_length, 0, &fac_data[1], it_bit_buff); in ixheaacd_lpd_channel_stream()