Lines Matching refs:PopulationCost
255 static double PopulationCost(const uint32_t* const population, int length) { in PopulationCost() function
267 PopulationCost(p->literal_, VP8LHistogramNumCodes(p->palette_code_bits_)) in VP8LHistogramEstimateBits()
268 + PopulationCost(p->red_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits()
269 + PopulationCost(p->blue_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits()
270 + PopulationCost(p->alpha_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits()
271 + PopulationCost(p->distance_, NUM_DISTANCE_CODES) in VP8LHistogramEstimateBits()
389 const double alpha_cost = PopulationCost(h->alpha_, NUM_LITERAL_CODES); in UpdateHistogramCost()
391 PopulationCost(h->distance_, NUM_DISTANCE_CODES) + in UpdateHistogramCost()
394 h->literal_cost_ = PopulationCost(h->literal_, num_codes) + in UpdateHistogramCost()
397 h->red_cost_ = PopulationCost(h->red_, NUM_LITERAL_CODES); in UpdateHistogramCost()
398 h->blue_cost_ = PopulationCost(h->blue_, NUM_LITERAL_CODES); in UpdateHistogramCost()