Lines Matching refs:costs_
729 float* costs_; member
788 WebPSafeFree(manager->costs_); in CostManagerClear()
812 manager->costs_ = NULL; in CostManagerInit()
906 manager->costs_ = (float*)WebPSafeMalloc(pix_count, sizeof(*manager->costs_)); in CostManagerInit()
907 if (manager->costs_ == NULL) { in CostManagerInit()
912 for (i = 0; i < pix_count; ++i) manager->costs_[i] = 1e38f; in CostManagerInit()
974 if (manager->costs_[i] > cost_tmp) { in UpdateCost()
975 manager->costs_[i] = (float)cost_tmp; in UpdateCost()
1283 use_color_cache, 0.0, cost_manager->costs_, in BackwardReferencesHashChainDistanceOnly()
1288 double prev_cost = cost_manager->costs_[i - 1]; in BackwardReferencesHashChainDistanceOnly()
1317 prev_cost = cost_manager->costs_[i - 1]; in BackwardReferencesHashChainDistanceOnly()
1355 cost_manager->costs_, dist_array); in BackwardReferencesHashChainDistanceOnly()
1384 if (cost_manager->costs_[i + 1] > cost_total) { in BackwardReferencesHashChainDistanceOnly()
1385 cost_manager->costs_[i + 1] = (float)cost_total; in BackwardReferencesHashChainDistanceOnly()
1396 cost_manager->costs_, dist_array); in BackwardReferencesHashChainDistanceOnly()
1404 cost_manager->costs_[pix_count - 2], cost_manager->costs_, dist_array); in BackwardReferencesHashChainDistanceOnly()