Lines Matching refs:ringbuffer
137 const uint8_t* ringbuffer, in ZopfliCostModelSetFromCommands() argument
166 histogram_literal[ringbuffer[(pos + j) & ringbuffer_mask]]++; in ZopfliCostModelSetFromCommands()
191 cost_literal[ringbuffer[(position + i) & ringbuffer_mask]]; in ZopfliCostModelSetFromCommands()
200 const uint8_t* ringbuffer, in ZopfliCostModelSetFromLiteralCosts() argument
209 ringbuffer, &literal_costs[1]); in ZopfliCostModelSetFromLiteralCosts()
404 const uint8_t* ringbuffer, const size_t ringbuffer_mask, in UpdateNodes() argument
453 uint8_t continuation = ringbuffer[cur_ix_masked + best_len]; in UpdateNodes()
469 continuation != ringbuffer[prev_ix + best_len]) { in UpdateNodes()
472 len = FindMatchLengthWithLimit(&ringbuffer[prev_ix], in UpdateNodes()
473 &ringbuffer[cur_ix_masked], in UpdateNodes()
617 const uint8_t* ringbuffer, size_t ringbuffer_mask, in ZopfliIterate() argument
631 size_t skip = UpdateNodes(num_bytes, position, i, ringbuffer, 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()
821 ZopfliCostModelSetFromCommands(&model, position, ringbuffer, in BrotliCreateHqZopfliBackwardReferences()
829 *num_commands += ZopfliIterate(num_bytes, position, ringbuffer, in BrotliCreateHqZopfliBackwardReferences()