Lines Matching refs:it_bit_buff
407 UWORD8 ixheaacd_rvlc_read_bits(ia_bit_buf_struct *it_bit_buff, in ixheaacd_rvlc_read_bits() argument
411 *ptr_position - (it_bit_buff->size - it_bit_buff->cnt_bits); in ixheaacd_rvlc_read_bits()
413 if (read_bit_offset) it_bit_buff->cnt_bits -= read_bit_offset; in ixheaacd_rvlc_read_bits()
415 it_bit_buff->ptr_read_next = in ixheaacd_rvlc_read_bits()
416 it_bit_buff->ptr_bit_buf_base + in ixheaacd_rvlc_read_bits()
417 ((it_bit_buff->size - it_bit_buff->cnt_bits) >> 3); in ixheaacd_rvlc_read_bits()
418 it_bit_buff->bit_pos = ((it_bit_buff->size - it_bit_buff->cnt_bits) & 7); in ixheaacd_rvlc_read_bits()
421 bit = ixheaacd_aac_read_bit_rev(it_bit_buff); in ixheaacd_rvlc_read_bits()
425 bit = ixheaacd_aac_read_bit(it_bit_buff); in ixheaacd_rvlc_read_bits()
434 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_rvlc_decode_escape_word() argument
450 ixheaacd_rvlc_read_bits(it_bit_buff, ptr_bitstream_index_esc, FWD); in ixheaacd_rvlc_decode_escape_word()
469 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_rvlc_decode_escape() argument
477 esc_word = ixheaacd_rvlc_decode_escape_word(ptr_rvlc, it_bit_buff); in ixheaacd_rvlc_decode_escape()
493 WORD8 ixheaacd_decode_rvlc_code_word(ia_bit_buf_struct *it_bit_buff, in ixheaacd_decode_rvlc_code_word() argument
509 ixheaacd_rvlc_read_bits(it_bit_buff, ptr_bit_str_idx_rvl, direction); in ixheaacd_decode_rvlc_code_word()
527 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_rvlc_decode_forward() argument
570 dpcm = ixheaacd_decode_rvlc_code_word(it_bit_buff, ptr_rvlc); in ixheaacd_rvlc_decode_forward()
606 dpcm = ixheaacd_decode_rvlc_code_word(it_bit_buff, ptr_rvlc); in ixheaacd_rvlc_decode_forward()
638 memcpy(&temp_buf, it_bit_buff, sizeof(ia_bit_buf_struct)); in ixheaacd_rvlc_decode_forward()
640 dpcm = ixheaacd_decode_rvlc_code_word(it_bit_buff, ptr_rvlc); in ixheaacd_rvlc_decode_forward()
672 dpcm = ixheaacd_decode_rvlc_code_word(it_bit_buff, ptr_rvlc); in ixheaacd_rvlc_decode_forward()
701 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_rvlc_decode_backward() argument
726 dpcm = ixheaacd_decode_rvlc_code_word(it_bit_buff, ptr_rvlc); in ixheaacd_rvlc_decode_backward()
768 dpcm = ixheaacd_decode_rvlc_code_word(it_bit_buff, ptr_rvlc); in ixheaacd_rvlc_decode_backward()
803 dpcm = ixheaacd_decode_rvlc_code_word(it_bit_buff, ptr_rvlc); in ixheaacd_rvlc_decode_backward()
831 dpcm = ixheaacd_decode_rvlc_code_word(it_bit_buff, ptr_rvlc); in ixheaacd_rvlc_decode_backward()
864 ia_bit_buf_struct *it_bit_buff, in ixheaacd_rvlc_read() argument
880 ptr_rvlc->sf_concealment = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_rvlc_read()
881 ptr_rvlc->rev_global_gain = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_rvlc_read()
885 ptr_rvlc->rvlc_sf_len = ixheaacd_read_bits_buf(it_bit_buff, 11); in ixheaacd_rvlc_read()
887 ptr_rvlc->rvlc_sf_len = ixheaacd_read_bits_buf(it_bit_buff, 9); in ixheaacd_rvlc_read()
901 ptr_rvlc->dpcm_noise_nrg = ixheaacd_read_bits_buf(it_bit_buff, 9); in ixheaacd_rvlc_read()
903 ptr_rvlc->sf_esc_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_rvlc_read()
906 ptr_rvlc->rvlc_esc_len = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_rvlc_read()
910 ptr_rvlc->dpcm_noise_last_pos = ixheaacd_read_bits_buf(it_bit_buff, 9); in ixheaacd_rvlc_read()
918 VOID ixheaacd_hcr_read(ia_bit_buf_struct *it_bit_buff, in ixheaacd_hcr_read() argument
927 len_reordered_spec_data = ixheaacd_read_bits_buf(it_bit_buff, 14); in ixheaacd_hcr_read()
948 len_longest_code_word = ixheaacd_read_bits_buf(it_bit_buff, 6); in ixheaacd_hcr_read()
961 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_rvlc_init() argument
990 ptr_rvlc->rvl_fwd_bit_str_idx = it_bit_buff->size - it_bit_buff->cnt_bits; in ixheaacd_rvlc_init()
992 it_bit_buff->size - it_bit_buff->cnt_bits + ptr_rvlc->rvlc_sf_len - 1; in ixheaacd_rvlc_init()
994 it_bit_buff->cnt_bits -= ptr_rvlc->rvlc_sf_len; in ixheaacd_rvlc_init()
995 it_bit_buff->ptr_read_next = in ixheaacd_rvlc_init()
996 it_bit_buff->ptr_bit_buf_base + in ixheaacd_rvlc_init()
997 ((it_bit_buff->size - it_bit_buff->cnt_bits) >> 3); in ixheaacd_rvlc_init()
998 it_bit_buff->bit_pos = ((it_bit_buff->size - it_bit_buff->cnt_bits) & 7); in ixheaacd_rvlc_init()
1001 ptr_rvlc->esc_bit_str_idx = it_bit_buff->size - it_bit_buff->cnt_bits; in ixheaacd_rvlc_init()
1003 it_bit_buff->cnt_bits -= ptr_rvlc->rvlc_esc_len; in ixheaacd_rvlc_init()
1004 it_bit_buff->ptr_read_next = in ixheaacd_rvlc_init()
1005 it_bit_buff->ptr_bit_buf_base + in ixheaacd_rvlc_init()
1006 ((it_bit_buff->size - it_bit_buff->cnt_bits) >> 3); in ixheaacd_rvlc_init()
1007 it_bit_buff->bit_pos = ((it_bit_buff->size - it_bit_buff->cnt_bits) & 7); in ixheaacd_rvlc_init()
1009 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_rvlc_init()
1749 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_rvlc_dec() argument
1754 ixheaacd_rvlc_init(ptr_rvlc, ptr_aac_dec_channel_info, it_bit_buff); in ixheaacd_rvlc_dec()
1757 ixheaacd_bitbuf_checkpoint(*it_bit_buff, saved_it_bit_buff); in ixheaacd_rvlc_dec()
1760 ptr_rvlc, ptr_aac_dec_channel_info->rvlc_scf_esc_arr, it_bit_buff); in ixheaacd_rvlc_dec()
1762 ixheaacd_rvlc_decode_forward(ptr_rvlc, ptr_aac_dec_channel_info, it_bit_buff); in ixheaacd_rvlc_dec()
1764 it_bit_buff); in ixheaacd_rvlc_dec()
1771 ixheaacd_bitbuf_restore(*it_bit_buff, saved_it_bit_buff); in ixheaacd_rvlc_dec()