Lines Matching refs:cnt_bits
60 WORD32 cnt_bits, WORD32 ld_sbr_crc_flag, ia_drc_dec_struct *drc_dummy) { in ixheaacd_check_for_sbr_payload() argument
65 count = it_bit_buff->cnt_bits >> 3; in ixheaacd_check_for_sbr_payload()
66 if (adtsheader == 1) count = cnt_bits >> 3; in ixheaacd_check_for_sbr_payload()
120 cnt_bits = cnt_bits - 8; in ixheaacd_check_for_sbr_payload()
128 cnt_bits = cnt_bits - 8; in ixheaacd_check_for_sbr_payload()
129 if (cnt_bits > 0) { in ixheaacd_check_for_sbr_payload()
130 WORD32 unaligned_bits = (8 - it_bit_buff->cnt_bits); in ixheaacd_check_for_sbr_payload()
132 (WORD8)ixheaacd_read_bits_buf(it_bit_buff, cnt_bits); in ixheaacd_check_for_sbr_payload()
137 if (it_bit_buff->cnt_bits > 0) { in ixheaacd_check_for_sbr_payload()
138 WORD32 unaligned_bits = (8 - it_bit_buff->cnt_bits); in ixheaacd_check_for_sbr_payload()
140 it_bit_buff, it_bit_buff->cnt_bits); in ixheaacd_check_for_sbr_payload()
155 if (it_bit_buff->cnt_bits < ((count - 1) << 3)) { in ixheaacd_check_for_sbr_payload()
160 it_bit_buff->cnt_bits -= ((count - 1) << 3); in ixheaacd_check_for_sbr_payload()
164 if (it_bit_buff->cnt_bits < 0) ret = -1; in ixheaacd_check_for_sbr_payload()