Searched refs:TO_BROTLI_BOOL (Results 1 – 15 of 15) sorted by relevance
25 return TO_BROTLI_BOOL(p1->cost_diff > p2->cost_diff); in HistogramPairIsLess()27 return TO_BROTLI_BOOL((p1->idx2 - p1->idx1) > (p2->idx2 - p2->idx1)); in HistogramPairIsLess()
51 return TO_BROTLI_BOOL(v0->total_count_ < v1->total_count_); in SortHuffmanTree()53 return TO_BROTLI_BOOL(v0->index_right_or_value_ > v1->index_right_or_value_); in SortHuffmanTree()401 TO_BROTLI_BOOL(total_reps_non_zero > count_reps_non_zero * 2); in DecideOverRleUse()402 *use_rle_for_zero = TO_BROTLI_BOOL(total_reps_zero > count_reps_zero * 2); in DecideOverRleUse()
53 TO_BROTLI_BOOL(FindMatchLengthWithLimit(dict, data, w.len) == w.len); in IsMatch()57 return TO_BROTLI_BOOL(dict[0] >= 'a' && dict[0] <= 'z' && in IsMatch()280 TO_BROTLI_BOOL(w.transform != BROTLI_TRANSFORM_UPPERCASE_FIRST); in BrotliFindAllStaticDictionaryMatches()326 BROTLI_BOOL is_space = TO_BROTLI_BOOL(data[0] == ' '); in BrotliFindAllStaticDictionaryMatches()380 TO_BROTLI_BOOL(w.transform != BROTLI_TRANSFORM_UPPERCASE_FIRST); in BrotliFindAllStaticDictionaryMatches()
80 return TO_BROTLI_BOOL((double)size_utf8 > min_fraction * (double)length); in BrotliIsMostlyUTF8()
170 state->params.disable_literal_context_modeling = TO_BROTLI_BOOL(!!value); in BrotliEncoderSetParameter()178 state->params.large_window = TO_BROTLI_BOOL(!!value); in BrotliEncoderSetParameter()911 return TO_BROTLI_BOOL(wrapped_input_pos < wrapped_last_processed_pos); in UpdateLastProcessedPos()943 TO_BROTLI_BOOL((last_command->dist_prefix_ & 0x3FF) == 0), in ExtendLastCommand()1103 const BROTLI_BOOL next_input_fits_metablock = TO_BROTLI_BOOL( in EncodeData()1107 const BROTLI_BOOL should_flush = TO_BROTLI_BOOL( in EncodeData()1326 is_last = TO_BROTLI_BOOL(metablock_start + metablock_size == input_size); in BrotliCompressBufferQuality10()1868 BROTLI_BOOL is_last = TO_BROTLI_BOOL( in BrotliEncoderCompressStream()1870 BROTLI_BOOL force_flush = TO_BROTLI_BOOL( in BrotliEncoderCompressStream()1894 return TO_BROTLI_BOOL(s->stream_state_ == BROTLI_STREAM_FINISHED && in BrotliEncoderIsFinished()[all …]
135 TO_BROTLI_BOOL((self->dist_prefix_ & 0x3FF) == 0), &self->cmd_prefix_); in InitCommand()
59 return TO_BROTLI_BOOL( in IsMatch()386 return TO_BROTLI_BOOL(r >= 0.0); in ShouldMergeBlock()400 return TO_BROTLI_BOOL(literal_ratio > MIN_RATIO); in ShouldUseUncompressedMode()
62 return TO_BROTLI_BOOL(p1[4] == p2[4] && p1[5] == p2[5]); in IsMatch()536 return TO_BROTLI_BOOL(BitsEntropy(literal_histo, 256) < max_total_bit_cost); in ShouldCompress()
122 TO_BROTLI_BOOL(max_length >= MAX_TREE_COMP_LENGTH); in FN()
512 TO_BROTLI_BOOL(dist > dictionary_start + gap); in UpdateNodes()597 TO_BROTLI_BOOL(distance > dictionary_start + gap); in BrotliZopfliCreateCommands()
400 return TO_BROTLI_BOOL(v0->total_count_ < v1->total_count_); in SortHuffmanTree()711 BROTLI_BOOL use_rle = TO_BROTLI_BOOL(max_run_length_prefix > 0); in EncodeContextMap()
55 #define TO_BROTLI_BOOL(X) (!!(X) ? BROTLI_TRUE : BROTLI_FALSE) macro
100 return TO_BROTLI_BOOL(br->avail_in >= num); in BrotliCheckInputAmount()328 return TO_BROTLI_BOOL(pad_bits == 0); in BrotliJumpToByteBoundary()
70 state->large_window = TO_BROTLI_BOOL(!!value); in BrotliDecoderSetParameter()2547 return TO_BROTLI_BOOL( in BrotliDecoderHasMoreOutput()2577 return TO_BROTLI_BOOL(s->state != BROTLI_STATE_UNINITED || in BrotliDecoderIsUsed()2582 return TO_BROTLI_BOOL(s->state == BROTLI_STATE_DONE) && in BrotliDecoderIsFinished()
275 params->junk_source = TO_BROTLI_BOOL(c == 'j'); in ParseParams()