/external/brotli/c/enc/ |
D | backward_references_hq.c | 138 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 …]
|
D | backward_references_inc.h | 12 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()
|
D | backward_references_hq.h | 28 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,
|
D | hash_longest_match_quickly_inc.h | 121 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()
|
D | hash_longest_match64_inc.h | 134 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()
|
D | hash_longest_match_inc.h | 130 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()
|
D | backward_references.c | 124 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliCreateBackwardReferences() argument 132 position, ringbuffer, ringbuffer_mask, \ in BrotliCreateBackwardReferences()
|
D | backward_references.h | 30 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
|
D | hash_to_binary_tree_inc.h | 300 size_t ringbuffer_mask) { in FN() 321 FN(StoreAndFindMatches)(self, ringbuffer, i, ringbuffer_mask, in FN()
|
/external/brotli/c/dec/ |
D | state.h | 260 int ringbuffer_mask; member
|
D | state.c | 51 s->ringbuffer_mask = 0; in BrotliDecoderStateInit()
|
D | decode.c | 1271 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()
|