Searched refs:PopulationCost (Results 1 – 1 of 1) sorted by relevance
/external/webp/src/enc/ |
D | histogram_enc.c | 298 static double PopulationCost(const uint32_t* const population, int length, in PopulationCost() function 360 PopulationCost(p->literal_, VP8LHistogramNumCodes(p->palette_code_bits_), in VP8LHistogramEstimateBits() 362 + PopulationCost(p->red_, NUM_LITERAL_CODES, NULL, &p->is_used_[1]) in VP8LHistogramEstimateBits() 363 + PopulationCost(p->blue_, NUM_LITERAL_CODES, NULL, &p->is_used_[2]) in VP8LHistogramEstimateBits() 364 + PopulationCost(p->alpha_, NUM_LITERAL_CODES, NULL, &p->is_used_[3]) in VP8LHistogramEstimateBits() 365 + PopulationCost(p->distance_, NUM_DISTANCE_CODES, NULL, &p->is_used_[4]) in VP8LHistogramEstimateBits() 508 PopulationCost(h->alpha_, NUM_LITERAL_CODES, &alpha_sym, in UpdateHistogramCost() 511 PopulationCost(h->distance_, NUM_DISTANCE_CODES, NULL, &h->is_used_[4]) + in UpdateHistogramCost() 515 PopulationCost(h->literal_, num_codes, NULL, &h->is_used_[0]) + in UpdateHistogramCost() 518 PopulationCost(h->red_, NUM_LITERAL_CODES, &red_sym, &h->is_used_[1]); in UpdateHistogramCost() [all …]
|