Lines Matching refs:PopulationCost
299 static double PopulationCost(const uint32_t* const population, int length, in PopulationCost() function
361 PopulationCost(p->literal_, VP8LHistogramNumCodes(p->palette_code_bits_), in VP8LHistogramEstimateBits()
363 + PopulationCost(p->red_, NUM_LITERAL_CODES, NULL, &p->is_used_[1]) in VP8LHistogramEstimateBits()
364 + PopulationCost(p->blue_, NUM_LITERAL_CODES, NULL, &p->is_used_[2]) in VP8LHistogramEstimateBits()
365 + PopulationCost(p->alpha_, NUM_LITERAL_CODES, NULL, &p->is_used_[3]) in VP8LHistogramEstimateBits()
366 + PopulationCost(p->distance_, NUM_DISTANCE_CODES, NULL, &p->is_used_[4]) in VP8LHistogramEstimateBits()
509 PopulationCost(h->alpha_, NUM_LITERAL_CODES, &alpha_sym, in UpdateHistogramCost()
512 PopulationCost(h->distance_, NUM_DISTANCE_CODES, NULL, &h->is_used_[4]) + in UpdateHistogramCost()
516 PopulationCost(h->literal_, num_codes, NULL, &h->is_used_[0]) + in UpdateHistogramCost()
519 PopulationCost(h->red_, NUM_LITERAL_CODES, &red_sym, &h->is_used_[1]); in UpdateHistogramCost()
521 PopulationCost(h->blue_, NUM_LITERAL_CODES, &blue_sym, &h->is_used_[2]); in UpdateHistogramCost()