Lines Matching refs:PopulationCost
191 static double PopulationCost(const int* const population, int length) { in PopulationCost() function
204 return PopulationCost(p->literal_, VP8LHistogramNumCodes(p)) in VP8LHistogramEstimateBits()
205 + PopulationCost(p->red_, 256) in VP8LHistogramEstimateBits()
206 + PopulationCost(p->blue_, 256) in VP8LHistogramEstimateBits()
207 + PopulationCost(p->alpha_, 256) in VP8LHistogramEstimateBits()
208 + PopulationCost(p->distance_, NUM_DISTANCE_CODES) in VP8LHistogramEstimateBits()
267 cost += PopulationCost(out->literal_, VP8LHistogramNumCodes(out)); in HistogramAddEval()
272 cost += PopulationCost(out->red_, 256); in HistogramAddEval()
276 cost += PopulationCost(out->blue_, 256); in HistogramAddEval()
282 cost += PopulationCost(out->distance_, NUM_DISTANCE_CODES); in HistogramAddEval()
287 cost += PopulationCost(out->alpha_, 256); in HistogramAddEval()
308 cost += PopulationCost(tmp, VP8LHistogramNumCodes(a)); in HistogramAddThresh()
313 cost += PopulationCost(tmp, 256); in HistogramAddThresh()
317 cost += PopulationCost(tmp, 256); in HistogramAddThresh()
323 cost += PopulationCost(tmp, NUM_DISTANCE_CODES); in HistogramAddThresh()
328 cost += PopulationCost(tmp, 256); in HistogramAddThresh()