Searched refs:literal_histo (Results 1 – 2 of 2) sorted by relevance
530 uint32_t literal_histo[256] = { 0 }; in ShouldCompress() local534 ++literal_histo[input[i]]; in ShouldCompress()536 return TO_BROTLI_BOOL(BitsEntropy(literal_histo, 256) < max_total_bit_cost); in ShouldCompress()
503 uint32_t literal_histo[256] = { 0 }; in ShouldCompress() local512 ++literal_histo[data[pos & mask]]; in ShouldCompress()515 if (BitsEntropy(literal_histo, 256) > bit_cost_threshold) { in ShouldCompress()