Searched refs:literal_histo (Results 1 – 2 of 2) sorted by relevance
499 uint32_t literal_histo[256] = { 0 }; in ShouldCompress() local503 ++literal_histo[input[i]]; in ShouldCompress()505 return TO_BROTLI_BOOL(BitsEntropy(literal_histo, 256) < max_total_bit_cost); in ShouldCompress()
502 uint32_t literal_histo[256] = { 0 }; in ShouldCompress() local511 ++literal_histo[data[pos & mask]]; in ShouldCompress()514 if (BitsEntropy(literal_histo, 256) > bit_cost_threshold) { in ShouldCompress()