Searched refs:window_bits (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/brotli/dist/c/enc/
H A Dringbuffer.h23 /* A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of
25 `position() % (1 << window_bits)'.
28 buffer_[i] == buffer_[i + (1 << window_bits)], if i < (1 << tail_bits),
30 buffer_[-1] == buffer_[(1 << window_bits) - 1] and
31 buffer_[-2] == buffer_[(1 << window_bits) - 2]. */
33 /* Size of the ring-buffer is (1 << window_bits) + tail_size_. */
58 int window_bits = ComputeRbBits(params); local in function:RingBufferSetup
60 *(uint32_t*)&rb->size_ = 1u << window_bits;
61 *(uint32_t*)&rb->mask_ = (1u << window_bits)
[all...]
/xsrc/external/mit/brotli/dist/c/dec/
H A Dstate.h322 uint32_t window_bits; member in struct:BrotliDecoderStateStruct
H A Ddecode.c141 s->window_bits = 16;
146 s->window_bits = 17 + n;
163 s->window_bits = 8 + n;
166 s->window_bits = 17;
1296 if (s->ringbuffer_size == (1 << s->window_bits) || force) {
1303 if (s->ringbuffer_size == (1 << s->window_bits) &&
1378 if (s->pos < 1 << s->window_bits) {
1395 if (s->ringbuffer_size == 1 << s->window_bits) {
1414 int window_size = 1 << s->window_bits;
2187 if (!BrotliSafeReadBits(br, 6, &s->window_bits)) {
[all...]
H A Dstate.c72 s->window_bits = 0;

Completed in 7 milliseconds