Lines Matching refs:cnt_bits
118 WORD32 cnt_bits = 0; in ixheaacd_aacdec_decodeframe() local
302 cnt_bits = it_bit_buff->cnt_bits; in ixheaacd_aacdec_decodeframe()
310 if (it_bit_buff->cnt_bits < 3) { in ixheaacd_aacdec_decodeframe()
311 it_bit_buff->cnt_bits = -1; in ixheaacd_aacdec_decodeframe()
327 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_aacdec_decodeframe()
389 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_aacdec_decodeframe()
414 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_aacdec_decodeframe()
475 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_aacdec_decodeframe()
506 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_aacdec_decodeframe()
525 bits_decoded = (it_bit_buff->size - it_bit_buff->cnt_bits); in ixheaacd_aacdec_decodeframe()
526 cnt_bits = (frame_size * 8 - bits_decoded); in ixheaacd_aacdec_decodeframe()
528 if (cnt_bits > it_bit_buff->cnt_bits) in ixheaacd_aacdec_decodeframe()
536 adtsheader, cnt_bits, ld_sbr_crc_flag, drc_dummy)) { in ixheaacd_aacdec_decodeframe()
541 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_aacdec_decodeframe()
638 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_aacdec_decodeframe()
675 if (it_bit_buff->cnt_bits < 0) { in ixheaacd_aacdec_decodeframe()
708 WORD32 bits_decoded, cnt_bits; in ixheaacd_aacdec_decodeframe() local
709 bits_decoded = (it_bit_buff->size - it_bit_buff->cnt_bits); in ixheaacd_aacdec_decodeframe()
711 cnt_bits = (frame_size * 8 - bits_decoded); in ixheaacd_aacdec_decodeframe()
712 if (cnt_bits >= 8) { in ixheaacd_aacdec_decodeframe()
713 ixheaacd_extension_payload(it_bit_buff, cnt_bits); in ixheaacd_aacdec_decodeframe()
719 if (it_bit_buff->cnt_bits) { in ixheaacd_aacdec_decodeframe()
721 it_bit_buff->cnt_bits = (it_bit_buff->cnt_bits + alignment) & 7; in ixheaacd_aacdec_decodeframe()
728 it_bit_buff->cnt_bits -= alignment + 1; in ixheaacd_aacdec_decodeframe()
734 WORD32 bits_decoded, cnt_bits; in ixheaacd_aacdec_decodeframe() local
735 bits_decoded = (it_bit_buff->size - it_bit_buff->cnt_bits); in ixheaacd_aacdec_decodeframe()
736 cnt_bits = (frame_size * 8 - bits_decoded); in ixheaacd_aacdec_decodeframe()
738 if (cnt_bits > it_bit_buff->cnt_bits) in ixheaacd_aacdec_decodeframe()
744 cnt_bits, ld_sbr_crc_flag, drc_dummy); in ixheaacd_aacdec_decodeframe()
753 (it_bit_buff->initial_cnt_bits - it_bit_buff->cnt_bits); in ixheaacd_aacdec_decodeframe()