Home
last modified time | relevance | path

Searched refs:out_holder_bits_ (Results 1 – 2 of 2) sorted by relevance

/external/puffin/src/
Dbit_writer.cc14 TEST_AND_RETURN_FALSE(((out_size_ - index_) * 8) - out_holder_bits_ >= nbits); in WriteBits()
17 while (out_holder_bits_ >= 8) { in WriteBits()
20 out_holder_bits_ -= 8; in WriteBits()
22 while (out_holder_bits_ < 24 && nbits > 0) { in WriteBits()
23 out_holder_ |= (bits & 0x000000FF) << out_holder_bits_; in WriteBits()
25 out_holder_bits_ += min; in WriteBits()
36 TEST_AND_RETURN_FALSE(((out_size_ - index_) * 8) - out_holder_bits_ >= in WriteBytes()
38 TEST_AND_RETURN_FALSE(out_holder_bits_ % 8 == 0); in WriteBytes()
46 return WriteBits((8 - (out_holder_bits_ & 7)) & 7, bits); in WriteBoundaryBits()
51 while (out_holder_bits_ > 0) { in Flush()
[all …]
Dbit_writer.h74 out_holder_bits_(0) {} in BufferBitWriter()
100 uint8_t out_holder_bits_; variable