Searched refs:PopulationCost (Results 1 – 5 of 5) sorted by relevance
/external/webp/src/enc/ |
D | histogram.c | 255 static double PopulationCost(const uint32_t* const population, int length) { in PopulationCost() function 267 PopulationCost(p->literal_, VP8LHistogramNumCodes(p->palette_code_bits_)) in VP8LHistogramEstimateBits() 268 + PopulationCost(p->red_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits() 269 + PopulationCost(p->blue_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits() 270 + PopulationCost(p->alpha_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits() 271 + PopulationCost(p->distance_, NUM_DISTANCE_CODES) in VP8LHistogramEstimateBits() 389 const double alpha_cost = PopulationCost(h->alpha_, NUM_LITERAL_CODES); in UpdateHistogramCost() 391 PopulationCost(h->distance_, NUM_DISTANCE_CODES) + in UpdateHistogramCost() 394 h->literal_cost_ = PopulationCost(h->literal_, num_codes) + in UpdateHistogramCost() 397 h->red_cost_ = PopulationCost(h->red_, NUM_LITERAL_CODES); in UpdateHistogramCost() [all …]
|
/external/chromium_org/third_party/libwebp/enc/ |
D | histogram.c | 255 static double PopulationCost(const uint32_t* const population, int length) { in PopulationCost() function 267 PopulationCost(p->literal_, VP8LHistogramNumCodes(p->palette_code_bits_)) in VP8LHistogramEstimateBits() 268 + PopulationCost(p->red_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits() 269 + PopulationCost(p->blue_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits() 270 + PopulationCost(p->alpha_, NUM_LITERAL_CODES) in VP8LHistogramEstimateBits() 271 + PopulationCost(p->distance_, NUM_DISTANCE_CODES) in VP8LHistogramEstimateBits() 389 const double alpha_cost = PopulationCost(h->alpha_, NUM_LITERAL_CODES); in UpdateHistogramCost() 391 PopulationCost(h->distance_, NUM_DISTANCE_CODES) + in UpdateHistogramCost() 394 h->literal_cost_ = PopulationCost(h->literal_, num_codes) + in UpdateHistogramCost() 397 h->red_cost_ = PopulationCost(h->red_, NUM_LITERAL_CODES); in UpdateHistogramCost() [all …]
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
D | cluster.h | 95 double cost_combo = PopulationCost(combo); in CompareAndPushToHeap() 189 return PopulationCost(tmp) - candidate.bit_cost_; in HistogramBitCostDistance() 261 (*out)[i].bit_cost_ = PopulationCost(in[i]); in ClusterHistograms()
|
D | bit_cost.h | 109 double PopulationCost(const Histogram<kSize>& histogram) { in PopulationCost() function
|
D | encode.cc | 63 retval += PopulationCost(histograms[i]); in TotalBitCost() 560 int bit_cost = PopulationCost(histogram); in BestMaxZeroRunLengthPrefix()
|