Lines Matching refs:it_bit_buff

170 WORD32 ixheaacd_read_pulse_data(ia_bit_buf_struct *it_bit_buff,  in ixheaacd_read_pulse_data()  argument
176 WORD32 value = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_read_pulse_data()
188 WORD32 value = ixheaacd_read_bits_buf(it_bit_buff, 9); in ixheaacd_read_pulse_data()
202 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_block_data() argument
220 it_bit_buff, ptr_aac_dec_channel_info, aac_spect_data_resil_flag, in ixheaacd_read_block_data()
228 ixheaacd_rvlc_read(it_bit_buff, ptr_aac_dec_channel_info); in ixheaacd_read_block_data()
230 ixheaacd_read_scale_factor_data(it_bit_buff, ptr_aac_dec_channel_info, in ixheaacd_read_block_data()
236 ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_block_data()
239 it_bit_buff, &ptr_aac_dec_channel_info->str_pulse_info, in ixheaacd_read_block_data()
249 (FLAG)ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_block_data()
255 ixheaacd_read_tns_data(it_bit_buff, ptr_aac_dec_channel_info); in ixheaacd_read_block_data()
264 gain_control_data_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_block_data()
275 ixheaacd_read_tns_data(it_bit_buff, ptr_aac_dec_channel_info); in ixheaacd_read_block_data()
281 ixheaacd_hcr_read(it_bit_buff, ptr_aac_dec_channel_info, ele_type); in ixheaacd_read_block_data()
286 ptr_aac_dec_channel_info, ptr_aac_dec_static_channel_info, it_bit_buff); in ixheaacd_read_block_data()
289 it_bit_buff->bit_pos = 7 - it_bit_buff->bit_pos; in ixheaacd_read_block_data()
295 ixheaacd_read_tns_data(it_bit_buff, ptr_aac_dec_channel_info); in ixheaacd_read_block_data()
299 { it_bit_buff->bit_pos = 7 - it_bit_buff->bit_pos; } in ixheaacd_read_block_data()
302 it_bit_buff, ptr_aac_dec_channel_info, ptr_aac_tables, total_channels, in ixheaacd_read_block_data()
306 it_bit_buff->bit_pos = (7 - it_bit_buff->bit_pos); in ixheaacd_read_block_data()
311 WORD16 ixheaacd_ltp_decode(ia_bit_buf_struct *it_bit_buff, in ixheaacd_ltp_decode() argument
319 ptr_ics_info->ltp.data_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_ltp_decode()
322 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ltp_decode()
329 ptr_ics_info->ltp2.data_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_ltp_decode()
332 &(ptr_ics_info->ltp2), it_bit_buff, in ixheaacd_ltp_decode()
341 WORD16 ixheaacd_ics_read(ia_bit_buf_struct *it_bit_buff, in ixheaacd_ics_read() argument
356 value = ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_ics_read()
368 ptr_ics_info->max_sfb = ixheaacd_read_bits_buf(it_bit_buff, 6); in ixheaacd_ics_read()
371 value = ixheaacd_read_bits_buf(it_bit_buff, 7); in ixheaacd_ics_read()
390 ixheaacd_read_bits_buf(it_bit_buff, 1)) & in ixheaacd_ics_read()
393 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ics_read()
401 ixheaacd_read_bits_buf(it_bit_buff, 1)) & in ixheaacd_ics_read()
405 it_bit_buff, frame_size)) > 0) { in ixheaacd_ics_read()
414 ixheaacd_read_bits_buf(it_bit_buff, 1)) & in ixheaacd_ics_read()
417 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ics_read()
431 value = ixheaacd_read_bits_buf(it_bit_buff, 11); in ixheaacd_ics_read()
463 ia_bit_buf_struct *it_bit_buff, ia_aac_decoder_struct *aac_dec_handle, in ixheaacd_individual_ch_stream() argument
476 if (it_bit_buff->pstr_adts_crc_info->crc_active == 1 && in ixheaacd_individual_ch_stream()
477 (it_bit_buff->pstr_adts_crc_info->no_reg < 7)) { in ixheaacd_individual_ch_stream()
479 ixheaacd_adts_crc_start_reg(it_bit_buff->pstr_adts_crc_info, in ixheaacd_individual_ch_stream()
480 it_bit_buff, CRC_ADTS_RAW_IIND_ICS); in ixheaacd_individual_ch_stream()
484 (WORD16)ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_individual_ch_stream()
488 it_bit_buff, ptr_ics_info, aac_dec_handle->num_swb_window, in ixheaacd_individual_ch_stream()
497 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_individual_ch_stream()
506 it_bit_buff, ptr_aac_dec_ch_info, aac_dec_handle->pstr_aac_tables, in ixheaacd_individual_ch_stream()
513 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_individual_ch_stream()
526 ixheaacd_ltp_decode(it_bit_buff, ptr_ics_info, object_type, in ixheaacd_individual_ch_stream()
537 if (it_bit_buff->pstr_adts_crc_info->crc_active == 1) { in ixheaacd_individual_ch_stream()
538 ixheaacd_adts_crc_end_reg(it_bit_buff->pstr_adts_crc_info, it_bit_buff, in ixheaacd_individual_ch_stream()
548 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_ms_data() argument
557 ms_mask_present = ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_read_ms_data()
569 (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_ms_data()
726 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_spectral_data() argument
783 ret_val = ixheaacd_huffman_dec_word2(it_bit_buff, sect_cb, sfb_width, in ixheaacd_read_spectral_data()
836 it_bit_buff, sect_cb, ptr_spec_coef_out, (WORD16 *)swb_offset, in ixheaacd_read_spectral_data()
879 pstr_hcr_info, ptr_aac_dec_channel_info, ptr_aac_tables, it_bit_buff); in ixheaacd_read_spectral_data()
885 ptr_aac_tables, it_bit_buff); in ixheaacd_read_spectral_data()
891 if (it_bit_buff->cnt_bits < in ixheaacd_read_spectral_data()
893 longjmp(*(it_bit_buff->xaac_jmp_buf), in ixheaacd_read_spectral_data()
897 it_bit_buff->cnt_bits += in ixheaacd_read_spectral_data()
899 it_bit_buff->ptr_read_next = in ixheaacd_read_spectral_data()
900 it_bit_buff->ptr_bit_buf_base + in ixheaacd_read_spectral_data()
901 ((it_bit_buff->size - it_bit_buff->cnt_bits) >> 3); in ixheaacd_read_spectral_data()
902 it_bit_buff->bit_pos = (it_bit_buff->size - it_bit_buff->cnt_bits) & 7; in ixheaacd_read_spectral_data()
905 it_bit_buff->ptr_read_next = in ixheaacd_read_spectral_data()
906 it_bit_buff->ptr_bit_buf_base + in ixheaacd_read_spectral_data()
907 ((it_bit_buff->size - it_bit_buff->cnt_bits) >> 3); in ixheaacd_read_spectral_data()
908 it_bit_buff->bit_pos = (it_bit_buff->size - it_bit_buff->cnt_bits) & 7; in ixheaacd_read_spectral_data()
916 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_tns_data() argument
945 (WORD16)ixheaacd_read_bits_buf(it_bit_buff, n_filt_bits); in ixheaacd_read_tns_data()
951 coef_res = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_tns_data()
959 start_band = ixheaacd_read_bits_buf(it_bit_buff, start_band_bits); in ixheaacd_read_tns_data()
974 filter->order = order = ixheaacd_read_bits_buf(it_bit_buff, order_bits); in ixheaacd_read_tns_data()
987 (WORD8)(ixheaacd_read_bits_buf(it_bit_buff, 1) ? -1 : 1); in ixheaacd_read_tns_data()
989 coef_compress = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_tns_data()
998 coef = ixheaacd_read_bits_buf(it_bit_buff, resolution); in ixheaacd_read_tns_data()