Searched refs:entropy (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/brotli/dist/c/enc/
H A Dencode.c334 prediction ability is calculated as Shannon entropy. Here we need
335 Shannon entropy instead of 'BitsEntropy' since the prefix will be
361 double entropy[4]; local in function:ChooseContextMap
366 entropy[1] = ShannonEntropy(monogram_histo, 3, &dummy);
367 entropy[2] = (ShannonEntropy(two_prefix_histo, 3, &dummy) +
369 entropy[3] = 0;
371 entropy[3] += ShannonEntropy(bigram_histo + 3 * i, 3, &dummy);
376 entropy[0] = 1.0 / (double)total;
377 entropy[1] *= entropy[
435 double entropy[3]; local in function:ShouldUseComplexStaticContextMap
[all...]
H A Dmetablock_inc.h20 entropy(A+B) < entropy(A) + entropy(B) + split_threshold_,
105 double entropy = BitsEntropy(histograms[self->curr_histogram_ix_].data_, local in function:FN
118 diff[j] = combined_entropy[j] - entropy - last_entropy[j];
130 last_entropy[0] = entropy;
H A Dmetablock.c310 entropy(A+B) < entropy(A) + entropy(B) + split_threshold_,
414 Decide over the split based on the total reduction of entropy across
416 double entropy[BROTLI_MAX_STATIC_CONTEXTS]; local in function:ContextBlockSplitterFinishBlock
426 entropy[i] = BitsEntropy(histograms[curr_histo_ix].data_,
436 diff[j] += combined_entropy[jx] - entropy[i] - last_entropy[jx];
450 last_entropy[i] = entropy[i];

Completed in 5 milliseconds