Home
last modified time | relevance | path

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

/external/zopfli/src/zopfli/
Dsqueeze.c273 double newCost = costs[j] + costmodel(in[i], 0, costcontext); in GetBestLengths() local
274 assert(newCost >= 0); in GetBestLengths()
275 if (newCost < costs[j + 1]) { in GetBestLengths()
276 costs[j + 1] = newCost; in GetBestLengths()
282 double newCost; in GetBestLengths() local
288 newCost = costs[j] + costmodel(k, sublen[k], costcontext); in GetBestLengths()
289 assert(newCost >= 0); in GetBestLengths()
290 if (newCost < costs[j + k]) { in GetBestLengths()
292 costs[j + k] = newCost; in GetBestLengths()