Searched refs:PopulationCost (Results 1 – 1 of 1) sorted by relevance
/external/webp/src/enc/ |
D | histogram_enc.c | 244 static double PopulationCost(const uint32_t* const population, int length, in PopulationCost() function 286 PopulationCost( in VP8LHistogramEstimateBits() 288 + PopulationCost(p->red_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits() 289 + PopulationCost(p->blue_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits() 290 + PopulationCost(p->alpha_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits() 291 + PopulationCost(p->distance_, NUM_DISTANCE_CODES, NULL) in VP8LHistogramEstimateBits() 427 PopulationCost(h->alpha_, NUM_LITERAL_CODES, &alpha_sym); in UpdateHistogramCost() 429 PopulationCost(h->distance_, NUM_DISTANCE_CODES, NULL) + in UpdateHistogramCost() 432 h->literal_cost_ = PopulationCost(h->literal_, num_codes, NULL) + in UpdateHistogramCost() 435 h->red_cost_ = PopulationCost(h->red_, NUM_LITERAL_CODES, &red_sym); in UpdateHistogramCost() [all …]
|