Lines Matching refs:PopulationCost
226 static double PopulationCost(const uint32_t* const population, int length, in PopulationCost() function
252 PopulationCost( in VP8LHistogramEstimateBits()
254 + PopulationCost(p->red_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits()
255 + PopulationCost(p->blue_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits()
256 + PopulationCost(p->alpha_, NUM_LITERAL_CODES, NULL) in VP8LHistogramEstimateBits()
257 + PopulationCost(p->distance_, NUM_DISTANCE_CODES, NULL) in VP8LHistogramEstimateBits()
368 PopulationCost(h->alpha_, NUM_LITERAL_CODES, &alpha_sym); in UpdateHistogramCost()
370 PopulationCost(h->distance_, NUM_DISTANCE_CODES, NULL) + in UpdateHistogramCost()
373 h->literal_cost_ = PopulationCost(h->literal_, num_codes, NULL) + in UpdateHistogramCost()
376 h->red_cost_ = PopulationCost(h->red_, NUM_LITERAL_CODES, &red_sym); in UpdateHistogramCost()
377 h->blue_cost_ = PopulationCost(h->blue_, NUM_LITERAL_CODES, &blue_sym); in UpdateHistogramCost()