• Home
  • Raw
  • Download

Lines Matching refs:bit_pos

52   WORD bit_pos = it_bit_buff->bit_pos;  in ixheaacd_skip_bits_buf()  local
60 bit_pos -= (no_of_bits % 8); in ixheaacd_skip_bits_buf()
61 if (bit_pos < 0) { in ixheaacd_skip_bits_buf()
62 bit_pos += 8; in ixheaacd_skip_bits_buf()
65 assert(bit_pos >= 0 && bit_pos <= 7); in ixheaacd_skip_bits_buf()
68 it_bit_buff->bit_pos = (WORD16)bit_pos; in ixheaacd_skip_bits_buf()
75 WORD bit_pos = it_bit_buff->bit_pos; in ixheaacd_show_bits_buf() local
89 bit_pos -= no_of_bits; in ixheaacd_show_bits_buf()
90 while (bit_pos < -1) { in ixheaacd_show_bits_buf()
91 bit_pos += 8; in ixheaacd_show_bits_buf()
99 if (bit_pos == -1) { in ixheaacd_show_bits_buf()
100 bit_pos += 8; in ixheaacd_show_bits_buf()
105 ret_val = ret_val << ((31 - no_of_bits) - bit_pos) >> (32 - no_of_bits); in ixheaacd_show_bits_buf()
113 WORD bit_pos = it_bit_buff->bit_pos; in ixheaacd_read_bits_buf() local
128 bit_pos -= no_of_bits; in ixheaacd_read_bits_buf()
129 while (bit_pos < -1) { in ixheaacd_read_bits_buf()
130 bit_pos += 8; in ixheaacd_read_bits_buf()
138 if (bit_pos == -1) { in ixheaacd_read_bits_buf()
139 bit_pos += 8; in ixheaacd_read_bits_buf()
144 ret_val = ret_val << ((31 - no_of_bits) - bit_pos) >> (32 - no_of_bits); in ixheaacd_read_bits_buf()
146 it_bit_buff->bit_pos = (WORD16)bit_pos; in ixheaacd_read_bits_buf()
150 VOID ixheaacd_aac_read_byte(UWORD8 **ptr_read_next, WORD32 *bit_pos, in ixheaacd_aac_read_byte() argument
153 WORD32 bits_consumed = *bit_pos; in ixheaacd_aac_read_byte()
161 *bit_pos = bits_consumed; in ixheaacd_aac_read_byte()
209 WORD bit_pos = it_bit_buff->bit_pos; in ixheaacd_aac_read_bit() local
213 if (bit_pos < 0) { in ixheaacd_aac_read_bit()
214 bit_pos = 7; in ixheaacd_aac_read_bit()
225 bit_pos -= no_of_bits; in ixheaacd_aac_read_bit()
227 temp = (ret_val << 24) << (bit_pos + no_of_bits); in ixheaacd_aac_read_bit()
229 it_bit_buff->bit_pos = (WORD16)bit_pos; in ixheaacd_aac_read_bit()
237 WORD bit_pos = it_bit_buff->bit_pos; in ixheaacd_aac_read_bit_rev() local
246 if (bit_pos >= 8) { in ixheaacd_aac_read_bit_rev()
247 bit_pos -= 8; in ixheaacd_aac_read_bit_rev()
253 bit_pos += no_of_bits; in ixheaacd_aac_read_bit_rev()
255 temp = (ret_val << 24) << (bit_pos - no_of_bits); in ixheaacd_aac_read_bit_rev()
257 it_bit_buff->bit_pos = (WORD16)bit_pos; in ixheaacd_aac_read_bit_rev()