Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dhistogram_enc.c236 static double PopulationCost(const uint32_t* const population, int length, in PopulationCost() function
278 PopulationCost( in VP8LHistogramEstimateBits()
280 + PopulationCost(p->red_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits()
281 + PopulationCost(p->blue_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits()
282 + PopulationCost(p->alpha_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits()
283 + PopulationCost(p->distance_, NUM_DISTANCE_CODES, NULL) in VP8LHistogramEstimateBits()
419 PopulationCost(h->alpha_, NUM_LITERAL_CODES, &alpha_sym); in UpdateHistogramCost()
421 PopulationCost(h->distance_, NUM_DISTANCE_CODES, NULL) + in UpdateHistogramCost()
424 h->literal_cost_ = PopulationCost(h->literal_, num_codes, NULL) + in UpdateHistogramCost()
427 h->red_cost_ = PopulationCost(h->red_, NUM_LITERAL_CODES, &red_sym); in UpdateHistogramCost()
[all …]