Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dbackward_references_hq.c185 float* literal_costs = self->literal_costs_; in ZopfliCostModelSetFromCommands() local
188 literal_costs[0] = 0.0; in ZopfliCostModelSetFromCommands()
192 literal_costs[i + 1] = literal_costs[i] + literal_carry; in ZopfliCostModelSetFromCommands()
193 literal_carry -= literal_costs[i + 1] - literal_costs[i]; in ZopfliCostModelSetFromCommands()
202 float* literal_costs = self->literal_costs_; in ZopfliCostModelSetFromLiteralCosts() local
209 ringbuffer, &literal_costs[1]); in ZopfliCostModelSetFromLiteralCosts()
210 literal_costs[0] = 0.0; in ZopfliCostModelSetFromLiteralCosts()
212 literal_carry += literal_costs[i + 1]; in ZopfliCostModelSetFromLiteralCosts()
213 literal_costs[i + 1] = literal_costs[i] + literal_carry; in ZopfliCostModelSetFromLiteralCosts()
214 literal_carry -= literal_costs[i + 1] - literal_costs[i]; in ZopfliCostModelSetFromLiteralCosts()