Home
last modified time | relevance | path

Searched refs:num_bits_left (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/media/cros-codecs/src/decoders/h264/
Dnalu_reader.rs77 pub fn num_bits_left(&self) -> usize { in num_bits_left() method
221 assert_eq!(reader.num_bits_left(), 47); in read_stream_without_escape_and_trailing_zero_bytes()
225 assert_eq!(reader.num_bits_left(), 39); in read_stream_without_escape_and_trailing_zero_bytes()
229 assert_eq!(reader.num_bits_left(), 8); in read_stream_without_escape_and_trailing_zero_bytes()
233 assert_eq!(reader.num_bits_left(), 7); in read_stream_without_escape_and_trailing_zero_bytes()
237 assert_eq!(reader.num_bits_left(), 6); in read_stream_without_escape_and_trailing_zero_bytes()
246 assert_eq!(reader.num_bits_left(), 8); in single_byte_stream()
257 assert_eq!(reader.num_bits_left(), 16); in stop_bit_occupy_full_byte()
261 assert_eq!(reader.num_bits_left(), 8); in stop_bit_occupy_full_byte()
Dparser.rs2591 header.header_bit_size = (nalu.size - epb) * 8 - r.num_bits_left(); in parse_slice_header()
/external/libxaac/decoder/
Dixheaacd_sbrdec_lpfuncs.c578 WORD16 num_bits_left, ia_ps_tables_struct *ps_tables_ptr) in ixheaacd_read_ps_data() argument
633 num_bits_left -= (cnt_bits - it_bit_buff->cnt_bits); in ixheaacd_read_ps_data()
635 while (num_bits_left > 8) { in ixheaacd_read_ps_data()
637 num_bits_left -= 8; in ixheaacd_read_ps_data()
639 if (num_bits_left >= 0) { in ixheaacd_read_ps_data()
640 ixheaacd_read_bits_buf(it_bit_buff, num_bits_left); in ixheaacd_read_ps_data()