Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references_enc.c649 const CostModel* const cost_model, in AddSingleLiteralWithCostModel() argument
659 cost_val += GetCacheCost(cost_model, ix) * mul0; in AddSingleLiteralWithCostModel()
663 cost_val += GetLiteralCost(cost_model, color) * mul1; in AddSingleLiteralWithCostModel()
805 const CostModel* const cost_model) { in CostManagerInit() argument
825 manager->cost_cache_[i] = GetLengthCost(cost_model, i); in CostManagerInit()
936 if (cost_model->distance_[i] != 0) { in CostManagerInit()
938 offset_cost_min = cost_model->distance_[i]; in CostManagerInit()
939 } else if (cost_model->distance_[i] < offset_cost_min) { in CostManagerInit()
940 offset_cost_min = cost_model->distance_[i]; in CostManagerInit()
1254 CostModel* const cost_model = in BackwardReferencesHashChainDistanceOnly() local
[all …]