Lines Matching refs:ringbuffer_mask
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()
617 const uint8_t* ringbuffer, size_t ringbuffer_mask, in ZopfliIterate() argument
632 ringbuffer_mask, params, max_backward_limit, dist_cache, in ZopfliIterate()
658 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliZopfliComputeShortestPath() argument
678 &model, position, ringbuffer, ringbuffer_mask); in BrotliZopfliComputeShortestPath()
689 ringbuffer, ringbuffer_mask, pos, num_bytes - i, max_distance, in BrotliZopfliComputeShortestPath()
696 skip = UpdateNodes(num_bytes, position, i, ringbuffer, ringbuffer_mask, in BrotliZopfliComputeShortestPath()
706 ringbuffer, ringbuffer_mask, pos + 1, BROTLI_MIN( in BrotliZopfliComputeShortestPath()
723 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliCreateZopfliBackwardReferences() argument
731 position, ringbuffer, ringbuffer_mask, literal_context_lut, params, in BrotliCreateZopfliBackwardReferences()
740 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliCreateHqZopfliBackwardReferences() argument
781 ringbuffer, ringbuffer_mask, pos, max_length, in BrotliCreateHqZopfliBackwardReferences()
798 ringbuffer, ringbuffer_mask, pos + 1, in BrotliCreateHqZopfliBackwardReferences()
819 &model, position, ringbuffer, ringbuffer_mask); in BrotliCreateHqZopfliBackwardReferences()
822 ringbuffer_mask, commands, *num_commands - orig_num_commands, in BrotliCreateHqZopfliBackwardReferences()
830 ringbuffer_mask, params, gap, dist_cache, &model, num_matches, matches, in BrotliCreateHqZopfliBackwardReferences()