Home
last modified time | relevance | path

Searched refs:bits_available (Results 1 – 3 of 3) 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/v4l2_codec2/vda/
Dvp9_bool_decoder.cc70 int bits_left = reader_->bits_available(); in Fill()
139 if (count_to_fill_ > reader_->bits_available()) { in ConsumePaddingBits()
151 while (reader_->bits_available() > 0) { in ConsumePaddingBits()
154 std::min(reader_->bits_available(), static_cast<int>(sizeof(data) * 8)); in ConsumePaddingBits()
Dbit_reader.h42 int bits_available() const { in NON_EXPORTED_BASE()