Searched refs:MIN_RATIO (Results 1 – 4 of 4) sorted by relevance
521 #define MIN_RATIO 0.98 macro527 if ((double)num_literals < MIN_RATIO * corpus_size) { in ShouldCompress()531 const double max_total_bit_cost = corpus_size * 8 * MIN_RATIO / SAMPLE_RATE; in ShouldCompress()
391 #define MIN_RATIO 980 macro400 return TO_BROTLI_BOOL(literal_ratio > MIN_RATIO); in ShouldUseUncompressedMode()
533 #define MIN_RATIO 0.98 macro539 if ((double)num_literals < MIN_RATIO * corpus_size) { in ShouldCompress()542 const double max_total_bit_cost = corpus_size * 8 * MIN_RATIO / SAMPLE_RATE; in ShouldCompress()
394 #define MIN_RATIO 980 macro403 return TO_BROTLI_BOOL(literal_ratio > MIN_RATIO); in ShouldUseUncompressedMode()