Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/brotli/c/enc/
Dblock_splitter_inc.h109 double min_cost = 1e99; in FN() local
115 if (cost[k] < min_cost) { in FN()
116 min_cost = cost[k]; in FN()
125 cost[k] -= min_cost; in FN()
Dbackward_references_hq.c307 float min_cost = start_cost; in ComputeMinimumCopyLength() local
311 while (pos + len <= num_bytes && nodes[pos + len].u.cost <= min_cost) { in ComputeMinimumCopyLength()
319 min_cost += 1.0f; in ComputeMinimumCopyLength()
428 float min_cost = (posdata->cost + ZopfliCostModelGetMinCostCmd(model) + in UpdateNodes() local
430 min_len = ComputeMinimumCopyLength(min_cost, nodes, num_bytes, pos); in UpdateNodes()
/third_party/node/deps/brotli/c/enc/
Dblock_splitter_inc.h109 double min_cost = 1e99; in FN() local
115 if (cost[k] < min_cost) { in FN()
116 min_cost = cost[k]; in FN()
125 cost[k] -= min_cost; in FN()
Dbackward_references_hq.c307 float min_cost = start_cost; in ComputeMinimumCopyLength() local
311 while (pos + len <= num_bytes && nodes[pos + len].u.cost <= min_cost) { in ComputeMinimumCopyLength()
319 min_cost += 1.0f; in ComputeMinimumCopyLength()
428 float min_cost = (posdata->cost + ZopfliCostModelGetMinCostCmd(model) + in UpdateNodes() local
430 min_len = ComputeMinimumCopyLength(min_cost, nodes, num_bytes, pos); in UpdateNodes()