Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dbackward_references_cost_enc.c125 double cost_val = prev_cost; in AddSingleLiteralWithCostModel() local
131 cost_val += GetCacheCost(cost_model, ix) * mul0; in AddSingleLiteralWithCostModel()
135 cost_val += GetLiteralCost(cost_model, color) * mul1; in AddSingleLiteralWithCostModel()
137 if (cost[idx] > cost_val) { in AddSingleLiteralWithCostModel()
138 cost[idx] = (float)cost_val; in AddSingleLiteralWithCostModel()
297 const double cost_val = manager->cost_cache_[i]; in CostManagerInit() local
298 if (cost_val != cur->cost_) { in CostManagerInit()
302 cur->cost_ = cost_val; in CostManagerInit()

Completed in 4 milliseconds