Lines Matching refs:it_bit_buff
105 VOID ixheaacd_huff_sfb_table(WORD32 it_bit_buff, WORD16 *huff_index, in ixheaacd_huff_sfb_table() argument
124 temp = (UWORD32)((it_bit_buff & mask)); in ixheaacd_huff_sfb_table()
160 ia_bit_buf_struct *it_bit_buff, WORD32 *spec_coef, WORD16 *offsets, in ixheaacd_huffman_dec_word1() argument
170 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_word1()
171 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_word1()
177 read_word = ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->cnt_bits, in ixheaacd_huffman_dec_word1()
197 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
222 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
233 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
240 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
242 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
279 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
286 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
288 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
329 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
331 it_bit_buff->bit_pos = bit_pos; in ixheaacd_huffman_dec_word1()
332 it_bit_buff->ptr_read_next = ptr_read_next; in ixheaacd_huffman_dec_word1()
338 ia_bit_buf_struct *it_bit_buff, WORD32 width, const UWORD16 *code_book_tbl, in ixheaacd_huffman_dec_word2_11() argument
349 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_word2_11()
350 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_word2_11()
354 read_word = ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->cnt_bits, in ixheaacd_huffman_dec_word2_11()
367 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
393 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
404 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
410 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
415 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
451 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
457 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
460 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
490 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_11()
492 it_bit_buff->ptr_read_next = ptr_read_next; in ixheaacd_huffman_dec_word2_11()
493 it_bit_buff->bit_pos = bit_pos; in ixheaacd_huffman_dec_word2_11()
499 ia_bit_buf_struct *it_bit_buff, WORD32 *spec_coef, WORD16 *offsets, in ixheaacd_huffman_dec_quad() argument
506 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_quad()
507 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_quad()
511 read_word = ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->cnt_bits, in ixheaacd_huffman_dec_quad()
530 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_quad()
620 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_quad()
634 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_quad()
635 it_bit_buff->ptr_read_next = ptr_read_next; in ixheaacd_huffman_dec_quad()
636 it_bit_buff->bit_pos = bit_pos; in ixheaacd_huffman_dec_quad()
642 ia_bit_buf_struct *it_bit_buff, WORD32 width, const UWORD16 *code_book_tbl, in ixheaacd_huffman_dec_word2_quad() argument
647 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_word2_quad()
648 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_word2_quad()
652 read_word = ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->cnt_bits, in ixheaacd_huffman_dec_word2_quad()
666 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_quad()
791 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_quad()
796 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_quad()
797 it_bit_buff->ptr_read_next = ptr_read_next; in ixheaacd_huffman_dec_word2_quad()
798 it_bit_buff->bit_pos = bit_pos; in ixheaacd_huffman_dec_word2_quad()
804 ia_bit_buf_struct *it_bit_buff, WORD32 *spec_coef, WORD16 *offsets, in ixheaacd_huffman_dec_pair() argument
816 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_pair()
817 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_pair()
821 read_word = ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->cnt_bits, in ixheaacd_huffman_dec_pair()
838 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_pair()
883 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_pair()
898 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_pair()
899 it_bit_buff->ptr_read_next = ptr_read_next; in ixheaacd_huffman_dec_pair()
900 it_bit_buff->bit_pos = bit_pos; in ixheaacd_huffman_dec_pair()
906 ia_bit_buf_struct *it_bit_buff, WORD32 width, const UWORD16 *code_book_tbl, in ixheaacd_huffman_dec_word2_pair() argument
914 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_word2_pair()
915 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_word2_pair()
919 read_word = ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->cnt_bits, in ixheaacd_huffman_dec_word2_pair()
931 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_pair()
969 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_pair()
997 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_pair()
1002 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word2_pair()
1003 it_bit_buff->ptr_read_next = ptr_read_next; in ixheaacd_huffman_dec_word2_pair()
1004 it_bit_buff->bit_pos = bit_pos; in ixheaacd_huffman_dec_word2_pair()
1009 WORD ixheaacd_decode_huffman(ia_bit_buf_struct *it_bit_buff, WORD32 cb_no, in ixheaacd_decode_huffman() argument
1014 WORD start_bit_pos = it_bit_buff->bit_pos; in ixheaacd_decode_huffman()
1015 UWORD8 *start_read_pos = it_bit_buff->ptr_read_next; in ixheaacd_decode_huffman()
1030 ret_val = ixheaacd_huffman_dec_word1(it_bit_buff, spec_coef, band_offset, in ixheaacd_decode_huffman()
1040 ret_val = ixheaacd_huffman_dec_quad(it_bit_buff, spec_coef, band_offset, in ixheaacd_decode_huffman()
1056 it_bit_buff, spec_coef, band_offset, no_bands, group_len, cb_table, in ixheaacd_decode_huffman()
1062 bits_cons = ((it_bit_buff->ptr_read_next - start_read_pos) << 3) + in ixheaacd_decode_huffman()
1063 (it_bit_buff->bit_pos - start_bit_pos); in ixheaacd_decode_huffman()
1064 it_bit_buff->cnt_bits -= bits_cons; in ixheaacd_decode_huffman()
1069 WORD ixheaacd_huffman_dec_word2(ia_bit_buf_struct *it_bit_buff, WORD32 cb_no, in ixheaacd_huffman_dec_word2() argument
1075 WORD start_bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_word2()
1076 WORD32 cnt_bits = it_bit_buff->cnt_bits; in ixheaacd_huffman_dec_word2()
1079 UWORD8 *start_read_pos = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_word2()
1089 it_bit_buff, width, cb_table, x_invquant, pow_table, scratch_ptr, in ixheaacd_huffman_dec_word2()
1094 ret_val = ixheaacd_huffman_dec_word2_quad(it_bit_buff, width, cb_table, in ixheaacd_huffman_dec_word2()
1110 it_bit_buff, width, cb_table, x_invquant, pow_table, scratch_ptr, in ixheaacd_huffman_dec_word2()
1116 if (it_bit_buff->bit_pos <= 7) { in ixheaacd_huffman_dec_word2()
1117 bits_cons = ((it_bit_buff->ptr_read_next - start_read_pos) << 3) + in ixheaacd_huffman_dec_word2()
1118 (it_bit_buff->bit_pos - start_bit_pos); in ixheaacd_huffman_dec_word2()
1119 it_bit_buff->cnt_bits = cnt_bits - bits_cons; in ixheaacd_huffman_dec_word2()
1121 it_bit_buff->ptr_read_next += (it_bit_buff->bit_pos) >> 3; in ixheaacd_huffman_dec_word2()
1122 it_bit_buff->bit_pos = it_bit_buff->bit_pos & 0x7; in ixheaacd_huffman_dec_word2()
1124 bits_cons = ((it_bit_buff->ptr_read_next - start_read_pos) << 3) + in ixheaacd_huffman_dec_word2()
1125 ((it_bit_buff->bit_pos - start_bit_pos)); in ixheaacd_huffman_dec_word2()
1126 it_bit_buff->cnt_bits = cnt_bits - bits_cons; in ixheaacd_huffman_dec_word2()