Home
last modified time | relevance | path

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

/external/chromium_org/third_party/brotli/src/brotli/enc/
Dringbuffer.h28 : window_bits_(window_bits), tail_bits_(tail_bits), pos_(0) { in RingBuffer()
30 const int buflen = (1 << window_bits_) + (1 << tail_bits_); in RingBuffer()
42 const size_t masked_pos = pos_ & ((1 << window_bits_) - 1); in Write()
46 if (masked_pos + n <= (1 << window_bits_)) { in Write()
54 ((1 << window_bits_) + (1 << tail_bits_)) - masked_pos)); in Write()
56 memcpy(&buffer_[0], bytes + ((1 << window_bits_) - masked_pos), in Write()
57 n - ((1 << window_bits_) - masked_pos)); in Write()
70 const size_t masked_pos = pos_ & ((1 << window_bits_) - 1); in WriteTail()
73 const size_t p = (1 << window_bits_) + masked_pos; in WriteTail()
79 const int window_bits_; variable
Dencode.h68 int window_bits_; variable
Dencode.cc877 window_bits_(kWindowBits), in BrotliCompressor()
930 if (window_bits_ == 16) { in WriteStreamHeader()
934 WriteBits(3, window_bits_ - 17, &storage_ix_, storage_); in WriteStreamHeader()