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.c193 WORD32 i, rem_bits = (code_len - bits_left_in_cw); in ih264e_put_bits() local
207 u4_cur_word |= u4_code_val >> rem_bits; in ih264e_put_bits()
218 u4_cur_word = rem_bits ? (u4_code_val << (WORD_SIZE - rem_bits)) : 0; in ih264e_put_bits()
222 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE - rem_bits; in ih264e_put_bits()
Dih264e_cabac.c267 WORD32 rem_bits; in ih264e_cabac_flush() local
305 rem_bits = (u4_low >> (u4_bits_gen + CABAC_BITS - bits_left)); in ih264e_cabac_flush()
309 last_byte = (rem_bits >> (bits_left - 8)) & 0xFF; in ih264e_cabac_flush()
315 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.c82 const int rem_bits = aom_read_literal(r, 3, ACCT_STR) + 1; in read_delta_qindex() local
83 const int thr = (1 << rem_bits) + 1; in read_delta_qindex()
84 abs = aom_read_literal(r, rem_bits, ACCT_STR) + thr; in read_delta_qindex()
112 const int rem_bits = aom_read_literal(r, 3, ACCT_STR) + 1; in read_delta_lflevel() local
113 const int thr = (1 << rem_bits) + 1; in read_delta_lflevel()
114 abs = aom_read_literal(r, rem_bits, ACCT_STR) + thr; in read_delta_lflevel()
/external/libaom/libaom/av1/encoder/
Dbitstream.c292 int rem_bits, thr; in write_delta_qindex() local
300 rem_bits = get_msb(abs - 1); in write_delta_qindex()
301 thr = (1 << rem_bits) + 1; in write_delta_qindex()
302 aom_write_literal(w, rem_bits - 1, 3); in write_delta_qindex()
303 aom_write_literal(w, abs - thr, rem_bits); in write_delta_qindex()
314 int rem_bits, thr; in write_delta_lflevel() local
329 rem_bits = get_msb(abs - 1); in write_delta_lflevel()
330 thr = (1 << rem_bits) + 1; in write_delta_lflevel()
331 aom_write_literal(w, rem_bits - 1, 3); in write_delta_lflevel()
332 aom_write_literal(w, abs - thr, rem_bits); in write_delta_lflevel()