Searched refs:costcontext (Results 1 – 1 of 1) sorted by relevance
/external/zopfli/src/zopfli/ |
D | squeeze.c | 158 static double GetCostModelMinCost(CostModelFun* costmodel, void* costcontext) { in GetCostModelMinCost() argument 176 double c = costmodel(i, 1, costcontext); in GetCostModelMinCost() 185 double c = costmodel(3, dsymbols[i], costcontext); in GetCostModelMinCost() 192 return costmodel(bestlength, bestdist, costcontext); in GetCostModelMinCost() 211 CostModelFun* costmodel, void* costcontext, in GetBestLengths() argument 225 double mincost = GetCostModelMinCost(costmodel, costcontext); in GetBestLengths() 254 double symbolcost = costmodel(ZOPFLI_MAX_MATCH, 1, costcontext); in GetBestLengths() 273 double newCost = costs[j] + costmodel(in[i], 0, costcontext); in GetBestLengths() 288 newCost = costs[j] + costmodel(k, sublen[k], costcontext); in GetBestLengths() 435 void* costcontext, ZopfliLZ77Store* store) { in LZ77OptimalRun() argument [all …]
|