Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dbackward_references_hq.c138 size_t ringbuffer_mask, in ZopfliCostModelSetFromCommands() argument
166 histogram_literal[ringbuffer[(pos + j) & ringbuffer_mask]]++; in ZopfliCostModelSetFromCommands()
191 cost_literal[ringbuffer[(position + i) & ringbuffer_mask]]; in ZopfliCostModelSetFromCommands()
201 size_t ringbuffer_mask) { in ZopfliCostModelSetFromLiteralCosts() argument
208 BrotliEstimateBitCostsForLiterals(position, num_bytes, ringbuffer_mask, in ZopfliCostModelSetFromLiteralCosts()
404 const uint8_t* ringbuffer, const size_t ringbuffer_mask, in UpdateNodes() argument
411 const size_t cur_ix_masked = cur_ix & ringbuffer_mask; in UpdateNodes()
454 if (cur_ix_masked + best_len > ringbuffer_mask) { in UpdateNodes()
467 prev_ix &= ringbuffer_mask; in UpdateNodes()
468 if (prev_ix + best_len > ringbuffer_mask || in UpdateNodes()
[all …]
Dbackward_references_inc.h12 const uint8_t* ringbuffer, size_t ringbuffer_mask, in EXPORT_FN()
51 ringbuffer, ringbuffer_mask, dist_cache, position, max_length, in EXPORT_FN()
70 ringbuffer, ringbuffer_mask, dist_cache, position + 1, max_length, in EXPORT_FN()
118 FN(StoreRange)(privat, ringbuffer, ringbuffer_mask, range_start, in EXPORT_FN()
144 FN(Store)(privat, ringbuffer, ringbuffer_mask, position); in EXPORT_FN()
153 FN(Store)(privat, ringbuffer, ringbuffer_mask, position); in EXPORT_FN()
Dbackward_references_hq.h28 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
35 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.h121 const uint8_t* ringbuffer, size_t ringbuffer_mask) { in FN()
126 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 3); in FN()
127 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 2); in FN()
128 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 1); in FN()
Dhash_longest_match64_inc.h134 size_t ringbuffer_mask) { in FN()
139 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 3); in FN()
140 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 2); in FN()
141 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 1); in FN()
Dhash_longest_match_inc.h130 size_t ringbuffer_mask) { in FN()
135 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 3); in FN()
136 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 2); in FN()
137 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 1); in FN()
Dbackward_references.c124 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliCreateBackwardReferences() argument
132 position, ringbuffer, ringbuffer_mask, \ in BrotliCreateBackwardReferences()
Dbackward_references.h30 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
Dhash_to_binary_tree_inc.h300 size_t ringbuffer_mask) { in FN()
321 FN(StoreAndFindMatches)(self, ringbuffer, i, ringbuffer_mask, in FN()
/external/brotli/c/dec/
Dstate.h260 int ringbuffer_mask; member
Dstate.c51 s->ringbuffer_mask = 0; in BrotliDecoderStateInit()
Ddecode.c1271 s->ringbuffer + (s->partial_pos_out & (size_t)s->ringbuffer_mask); in WriteRingBuffer()
1349 s->ringbuffer_mask = s->new_ringbuffer_size - 1; in BrotliEnsureRingBuffer()
1825 uint8_t p1 = s->ringbuffer[(pos - 1) & s->ringbuffer_mask]; in ProcessCommandsInternal()
1826 uint8_t p2 = s->ringbuffer[(pos - 2) & s->ringbuffer_mask]; in ProcessCommandsInternal()
1856 BROTLI_LOG_ARRAY_INDEX(s->ringbuffer, pos & s->ringbuffer_mask); in ProcessCommandsInternal()
1956 int src_start = (pos - s->distance_code) & s->ringbuffer_mask; in ProcessCommandsInternal()
2001 s->ringbuffer[(pos - s->distance_code) & s->ringbuffer_mask]; in ProcessCommandsInternal()