Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references_cost_enc.c191 float* costs_; member
236 WebPSafeFree(manager->costs_); in CostManagerClear()
256 manager->costs_ = NULL; in CostManagerInit()
308 manager->costs_ = (float*)WebPSafeMalloc(pix_count, sizeof(*manager->costs_)); in CostManagerInit()
309 if (manager->costs_ == NULL) { in CostManagerInit()
314 for (i = 0; i < pix_count; ++i) manager->costs_[i] = 1e38f; in CostManagerInit()
326 if (manager->costs_[i] > cost) { in UpdateCost()
327 manager->costs_[i] = cost; in UpdateCost()
479 if (manager->costs_[j] > cost_tmp) { in PushInterval()
480 manager->costs_[j] = cost_tmp; in PushInterval()
[all …]