Home
last modified time | relevance | path

Searched refs:rem_bits (Results 1 – 8 of 8) sorted by relevance

/external/libxaac/decoder/
Dixheaacd_sbr_crc.c52 WORD32 num_full_bytes, rem_bits; in ixheaacd_sbr_crc() local
57 rem_bits = (num_crc_bits & 0x7); in ixheaacd_sbr_crc()
64 byte_value = ixheaacd_read_bits_buf(it_bit_buff, rem_bits); in ixheaacd_sbr_crc()
65 ixheaacd_calc_chk_sum(&crc_state, byte_value, rem_bits); in ixheaacd_sbr_crc()
/external/libavc/encoder/
Dih264e_bitstream.c186 WORD32 i, rem_bits = (code_len - bits_left_in_cw); in ih264e_put_bits() local
189 u4_cur_word |= u4_code_val >> rem_bits; in ih264e_put_bits()
200 u4_cur_word = rem_bits ? (u4_code_val << (WORD_SIZE - rem_bits)) : 0; in ih264e_put_bits()
204 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE - rem_bits; in ih264e_put_bits()
Dih264e_cabac.c265 WORD32 rem_bits; in ih264e_cabac_flush() local
303 rem_bits = (u4_low >> (u4_bits_gen + CABAC_BITS - bits_left)); in ih264e_cabac_flush()
307 last_byte = (rem_bits >> (bits_left - 8)) & 0xFF; in ih264e_cabac_flush()
313 last_byte = (rem_bits << (8 - bits_left)) in ih264e_cabac_flush()
/external/libhevc/encoder/
Dihevce_bitstream.c181 WORD32 i, rem_bits = (code_len - bits_left_in_cw); in ihevce_put_bits() local
194 u4_cur_word |= u4_code_val >> rem_bits; in ihevce_put_bits()
205 u4_cur_word = rem_bits ? (u4_code_val << (WORD_SIZE - rem_bits)) : 0; in ihevce_put_bits()
209 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE - rem_bits; in ihevce_put_bits()
Dihevce_cabac.c788 WORD32 rem_bits; in ihevce_cabac_flush() local
837 rem_bits = (u4_low >> (u4_bits_gen + CABAC_BITS - bits_left)); in ihevce_cabac_flush()
841 last_byte = (rem_bits >> (bits_left - 8)) & 0xFF; in ihevce_cabac_flush()
847 last_byte = (rem_bits << (8 - bits_left)) | (1 << (7 - bits_left)); in ihevce_cabac_flush()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9.cc731 uint64_t rem_bits = parser.RemainingBitCount(); in Parse() local
732 assert(rem_bits % 8 == 0); in Parse()
733 parsed_payload->payload_length = rem_bits / 8; in Parse()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c99 const int rem_bits = aom_read_literal(r, 3, ACCT_STR) + 1; in read_delta_qindex() local
100 const int thr = (1 << rem_bits) + 1; in read_delta_qindex()
101 abs = aom_read_literal(r, rem_bits, ACCT_STR) + thr; in read_delta_qindex()
129 const int rem_bits = aom_read_literal(r, 3, ACCT_STR) + 1; in read_delta_lflevel() local
130 const int thr = (1 << rem_bits) + 1; in read_delta_lflevel()
131 abs = aom_read_literal(r, rem_bits, ACCT_STR) + thr; in read_delta_lflevel()
/external/libaom/libaom/av1/encoder/
Dbitstream.c294 int rem_bits, thr; in write_delta_qindex() local
302 rem_bits = get_msb(abs - 1); in write_delta_qindex()
303 thr = (1 << rem_bits) + 1; in write_delta_qindex()
304 aom_write_literal(w, rem_bits - 1, 3); in write_delta_qindex()
305 aom_write_literal(w, abs - thr, rem_bits); in write_delta_qindex()
317 int rem_bits, thr; in write_delta_lflevel() local
332 rem_bits = get_msb(abs - 1); in write_delta_lflevel()
333 thr = (1 << rem_bits) + 1; in write_delta_lflevel()
334 aom_write_literal(w, rem_bits - 1, 3); in write_delta_lflevel()
335 aom_write_literal(w, abs - thr, rem_bits); in write_delta_lflevel()