Searched refs:ShannonEntropy (Results 1 – 2 of 2) sorted by relevance
/external/brotli/c/enc/ |
D | bit_cost.h | 21 static BROTLI_INLINE double ShannonEntropy( in ShannonEntropy() function 47 double retval = ShannonEntropy(population, size, &sum); in BitsEntropy()
|
D | encode.c | 366 entropy[1] = ShannonEntropy(monogram_histo, 3, &dummy); in ChooseContextMap() 367 entropy[2] = (ShannonEntropy(two_prefix_histo, 3, &dummy) + in ChooseContextMap() 368 ShannonEntropy(two_prefix_histo + 3, 3, &dummy)); in ChooseContextMap() 371 entropy[3] += ShannonEntropy(bigram_histo + 3 * i, 3, &dummy); in ChooseContextMap() 457 entropy[1] = ShannonEntropy(combined_histo, 32, &dummy); in ShouldUseComplexStaticContextMap() 460 entropy[2] += ShannonEntropy(&context_histo[i][0], 32, &dummy); in ShouldUseComplexStaticContextMap()
|