Home
last modified time | relevance | path

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

/external/puffin/src/
Dbit_reader.cc12 if ((in_size_ - index_) * 8 + in_cache_bits_ < nbits) { in CacheBits()
18 while (in_cache_bits_ < nbits) { in CacheBits()
19 in_cache_ |= in_buf_[index_++] << in_cache_bits_; in CacheBits()
20 in_cache_bits_ += 8; in CacheBits()
31 in_cache_bits_ -= nbits; in DropBits()
35 return in_cache_ & ((1 << (in_cache_bits_ & 7)) - 1); in ReadBoundaryBits()
39 size_t nbits = in_cache_bits_ & 7; in SkipBoundaryBits()
41 in_cache_bits_ -= nbits; in SkipBoundaryBits()
47 index_ -= (in_cache_bits_ + 7) / 8; in GetByteReaderFn()
49 in_cache_bits_ = 0; in GetByteReaderFn()
[all …]
Dbit_reader.h85 in_cache_bits_(0) {} in BufferBitReader()
106 size_t in_cache_bits_; // The number of bits available in |in_cache_|. variable