Searched refs:PopulationCost (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/libwebp/enc/
H A Dhistogram.c255 static double PopulationCost(const uint32_t* const population, int length) { function
267 PopulationCost(p->literal_, VP8LHistogramNumCodes(p->palette_code_bits_))
268 + PopulationCost(p->red_, NUM_LITERAL_CODES)
269 + PopulationCost(p->blue_, NUM_LITERAL_CODES)
270 + PopulationCost(p->alpha_, NUM_LITERAL_CODES)
271 + PopulationCost(p->distance_, NUM_DISTANCE_CODES)
389 const double alpha_cost = PopulationCost(h->alpha_, NUM_LITERAL_CODES);
391 PopulationCost(h->distance_, NUM_DISTANCE_CODES) +
394 h->literal_cost_ = PopulationCost(h->literal_, num_codes) +
397 h->red_cost_ = PopulationCost(
[all...]
/external/webp/src/enc/
H A Dhistogram.c255 static double PopulationCost(const uint32_t* const population, int length) { function
267 PopulationCost(p->literal_, VP8LHistogramNumCodes(p->palette_code_bits_))
268 + PopulationCost(p->red_, NUM_LITERAL_CODES)
269 + PopulationCost(p->blue_, NUM_LITERAL_CODES)
270 + PopulationCost(p->alpha_, NUM_LITERAL_CODES)
271 + PopulationCost(p->distance_, NUM_DISTANCE_CODES)
389 const double alpha_cost = PopulationCost(h->alpha_, NUM_LITERAL_CODES);
391 PopulationCost(h->distance_, NUM_DISTANCE_CODES) +
394 h->literal_cost_ = PopulationCost(h->literal_, num_codes) +
397 h->red_cost_ = PopulationCost(
[all...]
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dcluster.h95 double cost_combo = PopulationCost(combo);
189 return PopulationCost(tmp) - candidate.bit_cost_;
261 (*out)[i].bit_cost_ = PopulationCost(in[i]);
H A Dbit_cost.h109 double PopulationCost(const Histogram<kSize>& histogram) { function in namespace:brotli
H A Dencode.cc63 retval += PopulationCost(histograms[i]);
560 int bit_cost = PopulationCost(histogram);

Completed in 282 milliseconds