Home
last modified time | relevance | path

Searched refs:bits_available (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/test/
Dfake_encoder.cc66 size_t bits_available = in Encode() local
70 if (bits_available < min_bits) in Encode()
71 bits_available = min_bits; in Encode()
74 if (max_bits > 0 && max_bits < bits_available) in Encode()
75 bits_available = max_bits; in Encode()
88 size_t stream_bits = (bits_available > max_stream_bits) ? max_stream_bits : in Encode()
89 bits_available; in Encode()
108 if (min_stream_bits > bits_available && i > 0) in Encode()
113 bits_available -= std::min(encoded._length * 8, bits_available); in Encode()
/external/libxaac/decoder/
Dixheaacd_sbr_crc.c75 WORD32 bits_available; in ixheaacd_sbr_crccheck() local
82 bits_available = it_bit_buff->cnt_bits; in ixheaacd_sbr_crccheck()
84 if (bits_available <= 0) { in ixheaacd_sbr_crccheck()
89 (crc_bits_len > bits_available) ? bits_available : crc_bits_len; in ixheaacd_sbr_crccheck()
/external/v4l2_codec2/vda/
Dvp9_bool_decoder.cc71 int bits_left = reader_->bits_available(); in Fill()
140 if (count_to_fill_ > reader_->bits_available()) { in ConsumePaddingBits()
152 while (reader_->bits_available() > 0) { in ConsumePaddingBits()
155 std::min(reader_->bits_available(), static_cast<int>(sizeof(data) * 8)); in ConsumePaddingBits()
Dbit_reader.h42 int bits_available() const { in bits_available() function