Home
last modified time | relevance | path

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

/external/clang/test/CodeGenCXX/
Darray-operator-delete-call.cpp26 unsigned *cost_val; member
37 cost_val = new unsigned[10]; in COST()
48 if (cost_val) in ~COST()
49 delete [] cost_val; in ~COST()
/external/opencv3/3rdparty/libwebp/enc/
Dbackward_references.c539 const double cost_val = distance_cost + GetLengthCost(cost_model, k); in BackwardReferencesHashChainDistanceOnly() local
540 if (cost[i + k] > cost_val) { in BackwardReferencesHashChainDistanceOnly()
541 cost[i + k] = (float)cost_val; in BackwardReferencesHashChainDistanceOnly()
575 double cost_val = prev_cost; in BackwardReferencesHashChainDistanceOnly() local
578 cost_val += GetCacheCost(cost_model, ix) * mul0; in BackwardReferencesHashChainDistanceOnly()
580 cost_val += GetLiteralCost(cost_model, argb[i]) * mul1; in BackwardReferencesHashChainDistanceOnly()
582 if (cost[i] > cost_val) { in BackwardReferencesHashChainDistanceOnly()
583 cost[i] = (float)cost_val; in BackwardReferencesHashChainDistanceOnly()
/external/webp/src/enc/
Dbackward_references.c566 double cost_val = prev_cost; in AddSingleLiteralWithCostModel() local
574 cost_val += GetCacheCost(cost_model, ix) * mul0; in AddSingleLiteralWithCostModel()
578 cost_val += GetLiteralCost(cost_model, color) * mul1; in AddSingleLiteralWithCostModel()
580 if (cost[idx] > cost_val) { in AddSingleLiteralWithCostModel()
581 cost[idx] = (float)cost_val; in AddSingleLiteralWithCostModel()
643 const double cost_val = distance_cost + GetLengthCost(cost_model, k); in BackwardReferencesHashChainDistanceOnly() local
644 if (cost[i + k] > cost_val) { in BackwardReferencesHashChainDistanceOnly()
645 cost[i + k] = (float)cost_val; in BackwardReferencesHashChainDistanceOnly()