Lines Matching refs:ringbuffer_mask
140 size_t ringbuffer_mask, in ZopfliCostModelSetFromCommands() argument
168 histogram_literal[ringbuffer[(pos + j) & ringbuffer_mask]]++; in ZopfliCostModelSetFromCommands()
193 cost_literal[ringbuffer[(position + i) & ringbuffer_mask]]; in ZopfliCostModelSetFromCommands()
203 size_t ringbuffer_mask) { in ZopfliCostModelSetFromLiteralCosts() argument
210 BrotliEstimateBitCostsForLiterals(position, num_bytes, ringbuffer_mask, in ZopfliCostModelSetFromLiteralCosts()
406 const uint8_t* ringbuffer, const size_t ringbuffer_mask, in UpdateNodes() argument
412 const size_t cur_ix_masked = cur_ix & ringbuffer_mask; in UpdateNodes()
453 if (cur_ix_masked + best_len > ringbuffer_mask) { in UpdateNodes()
466 prev_ix &= ringbuffer_mask; in UpdateNodes()
467 if (prev_ix + best_len > ringbuffer_mask || in UpdateNodes()
612 const uint8_t* ringbuffer, size_t ringbuffer_mask, in ZopfliIterate() argument
626 ringbuffer_mask, params, max_backward_limit, dist_cache, in ZopfliIterate()
652 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliZopfliComputeShortestPath() argument
670 &model, position, ringbuffer, ringbuffer_mask); in BrotliZopfliComputeShortestPath()
679 ringbuffer, ringbuffer_mask, pos, num_bytes - i, max_distance, in BrotliZopfliComputeShortestPath()
686 skip = UpdateNodes(num_bytes, position, i, ringbuffer, ringbuffer_mask, in BrotliZopfliComputeShortestPath()
695 StoreRangeH10(hasher, ringbuffer, ringbuffer_mask, pos + 1, BROTLI_MIN( in BrotliZopfliComputeShortestPath()
712 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliCreateZopfliBackwardReferences() argument
721 position, ringbuffer, ringbuffer_mask, params, in BrotliCreateZopfliBackwardReferences()
730 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliCreateHqZopfliBackwardReferences() argument
764 ringbuffer, ringbuffer_mask, pos, max_length, in BrotliCreateHqZopfliBackwardReferences()
780 StoreRangeH10(hasher, ringbuffer, ringbuffer_mask, pos + 1, in BrotliCreateHqZopfliBackwardReferences()
801 &model, position, ringbuffer, ringbuffer_mask); in BrotliCreateHqZopfliBackwardReferences()
804 ringbuffer_mask, commands, *num_commands - orig_num_commands, in BrotliCreateHqZopfliBackwardReferences()
812 ringbuffer_mask, params, gap, dist_cache, &model, num_matches, matches, in BrotliCreateHqZopfliBackwardReferences()