Searched defs:population (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/libwebp/enc/
H A Dhistogram.c154 static double HuffmanCost(const int* const population, int length) { argument
164 if (population[i] == population[i + 1]) {
168 // population[i] points now to the symbol in the streak of same values.
170 if (population[i] == 0) {
176 if (population[i] == 0) {
191 static double PopulationCost(const int* const population, int length) { argument
192 return BitsEntropy(population, length) + HuffmanCost(population, length);
195 static double ExtraCost(const int* const population, in argument
[all...]
/external/webp/src/enc/
H A Dhistogram.c154 static double HuffmanCost(const int* const population, int length) { argument
164 if (population[i] == population[i + 1]) {
168 // population[i] points now to the symbol in the streak of same values.
170 if (population[i] == 0) {
176 if (population[i] == 0) {
191 static double PopulationCost(const int* const population, int length) { argument
192 return BitsEntropy(population, length) + HuffmanCost(population, length);
195 static double ExtraCost(const int* const population, in argument
[all...]

Completed in 275 milliseconds