Home
last modified time | relevance | path

Searched refs:ringbuffer_mask (Results 1 – 12 of 12) sorted by relevance

/external/brotli/enc/
Dbackward_references_hq.c119 size_t ringbuffer_mask, in ZopfliCostModelSetFromCommands() argument
147 histogram_literal[ringbuffer[(pos + j) & ringbuffer_mask]]++; in ZopfliCostModelSetFromCommands()
168 cost_literal[ringbuffer[(position + i) & ringbuffer_mask]]; in ZopfliCostModelSetFromCommands()
176 size_t ringbuffer_mask) { in ZopfliCostModelSetFromLiteralCosts() argument
182 BrotliEstimateBitCostsForLiterals(position, num_bytes, ringbuffer_mask, in ZopfliCostModelSetFromLiteralCosts()
374 const uint8_t* ringbuffer, const size_t ringbuffer_mask, in UpdateNodes() argument
380 const size_t cur_ix_masked = cur_ix & ringbuffer_mask; in UpdateNodes()
424 prev_ix &= ringbuffer_mask; in UpdateNodes()
426 if (cur_ix_masked + best_len > ringbuffer_mask || in UpdateNodes()
427 prev_ix + best_len > ringbuffer_mask || in UpdateNodes()
[all …]
Dbackward_references_inc.h13 const uint8_t* ringbuffer, size_t ringbuffer_mask, in FN()
45 ringbuffer, ringbuffer_mask, dist_cache, in FN()
61 dictionary_hash, ringbuffer, ringbuffer_mask, dist_cache, in FN()
99 FN(StoreRange)(hasher, ringbuffer, ringbuffer_mask, position + 2, in FN()
124 FN(Store)(hasher, ringbuffer, ringbuffer_mask, position); in FN()
133 FN(Store)(hasher, ringbuffer, ringbuffer_mask, position); in FN()
Dbackward_references_hq.h27 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
34 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
82 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
Dhash_longest_match_quickly_inc.h102 const uint8_t* ringbuffer, size_t ringbuffer_mask) { in FN()
107 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN()
108 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN()
109 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
Dhash_longest_match64_inc.h132 size_t ringbuffer_mask) { in FN()
137 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN()
138 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN()
139 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
Dhash_longest_match_inc.h125 size_t ringbuffer_mask) { in FN()
130 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN()
131 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN()
132 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
Dbackward_references.c105 size_t ringbuffer_mask, in BrotliCreateBackwardReferences() argument
118 ringbuffer_mask, params, hasher, dist_cache, \ in BrotliCreateBackwardReferences()
Dbackward_references.h30 const uint8_t* ringbuffer, size_t ringbuffer_mask,
Dhash_to_binary_tree_inc.h292 size_t ringbuffer_mask) { in FN()
314 FN(StoreAndFindMatches)(self, ringbuffer, i, ringbuffer_mask, in FN()
/external/brotli/dec/
Dstate.h121 int ringbuffer_mask; member
Dstate.c67 s->ringbuffer_mask = 0; in BrotliDecoderStateInitWithCustomAllocators()
Ddecode.c1193 s->ringbuffer + (s->partial_pos_out & (size_t)s->ringbuffer_mask); in WriteRingBuffer()
1282 s->ringbuffer_mask = s->new_ringbuffer_size - 1; in BrotliEnsureRingBuffer()
1667 uint8_t p1 = s->ringbuffer[(pos - 1) & s->ringbuffer_mask]; in ProcessCommandsInternal()
1668 uint8_t p2 = s->ringbuffer[(pos - 2) & s->ringbuffer_mask]; in ProcessCommandsInternal()
1698 BROTLI_LOG_ARRAY_INDEX(s->ringbuffer, pos & s->ringbuffer_mask); in ProcessCommandsInternal()
1784 int src_start = (pos - s->distance_code) & s->ringbuffer_mask; in ProcessCommandsInternal()
1830 s->ringbuffer[(pos - s->distance_code) & s->ringbuffer_mask]; in ProcessCommandsInternal()