Lines Matching refs:CostModel
38 } CostModel; typedef
61 static int CostModelBuild(CostModel* const m, int xsize, int cache_bits, in CostModelBuild()
95 static WEBP_INLINE double GetLiteralCost(const CostModel* const m, uint32_t v) { in GetLiteralCost()
102 static WEBP_INLINE double GetCacheCost(const CostModel* const m, uint32_t idx) { in GetCacheCost()
107 static WEBP_INLINE double GetLengthCost(const CostModel* const m, in GetLengthCost()
114 static WEBP_INLINE double GetDistanceCost(const CostModel* const m, in GetDistanceCost()
123 const CostModel* const cost_model, int idx, int use_color_cache, in AddSingleLiteralWithCostModel()
252 const CostModel* const cost_model) { in CostManagerInit()
575 const size_t cost_model_size = sizeof(CostModel) + literal_array_size; in BackwardReferencesHashChainDistanceOnly()
576 CostModel* const cost_model = in BackwardReferencesHashChainDistanceOnly()
577 (CostModel*)WebPSafeCalloc(1ULL, cost_model_size); in BackwardReferencesHashChainDistanceOnly()