Home
last modified time | relevance | path

Searched refs:MIN_RATIO (Results 1 – 4 of 4) sorted by relevance

/external/brotli/c/enc/
Dcompress_fragment_two_pass.c521 #define MIN_RATIO 0.98 macro
527 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()
Dcompress_fragment.c391 #define MIN_RATIO 980 macro
400 return TO_BROTLI_BOOL(literal_ratio > MIN_RATIO); in ShouldUseUncompressedMode()
/external/cronet/third_party/brotli/enc/
Dcompress_fragment_two_pass.c533 #define MIN_RATIO 0.98 macro
539 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()
Dcompress_fragment.c394 #define MIN_RATIO 980 macro
403 return TO_BROTLI_BOOL(literal_ratio > MIN_RATIO); in ShouldUseUncompressedMode()