Home
last modified time | relevance | path

Searched refs:max_distance (Results 1 – 21 of 21) sorted by relevance

/external/brotli/c/common/
Dconstants.h107 uint32_t max_distance; member
128 uint32_t max_distance, uint32_t npostfix, uint32_t ndirect) { in BrotliCalculateDistanceCodeLimit() argument
133 if (max_distance <= ndirect) { in BrotliCalculateDistanceCodeLimit()
135 result.max_alphabet_size = max_distance + BROTLI_NUM_DISTANCE_SHORT_CODES; in BrotliCalculateDistanceCodeLimit()
136 result.max_distance = max_distance; in BrotliCalculateDistanceCodeLimit()
140 uint32_t forbidden_distance = max_distance + 1; in BrotliCalculateDistanceCodeLimit()
167 result.max_distance = ndirect; in BrotliCalculateDistanceCodeLimit()
184 result.max_distance = ((start + extra) << npostfix) + postfix + ndirect + 1; in BrotliCalculateDistanceCodeLimit()
/external/brotli/c/enc/
Dbackward_references_inc.h42 size_t max_distance = BROTLI_MIN(size_t, position, max_backward_limit); in EXPORT_FN() local
52 max_distance, dictionary_start + gap, params->dist.max_distance, &sr); in EXPORT_FN()
65 max_distance = BROTLI_MIN(size_t, position + 1, max_backward_limit); in EXPORT_FN()
71 max_distance, dictionary_start + gap, params->dist.max_distance, in EXPORT_FN()
Dhash_composite_inc.h115 const size_t dictionary_distance, const size_t max_distance, in FN()
119 max_distance, out); in FN()
122 max_distance, out); in FN()
Dbackward_references.c26 size_t max_distance, in ComputeDistanceCode() argument
28 if (distance <= max_distance) { in ComputeDistanceCode()
Dmetablock.c33 uint32_t max_distance; in BrotliInitDistanceParams() local
41 max_distance = ndirect + (1U << (BROTLI_MAX_DISTANCE_BITS + npostfix + 2)) - in BrotliInitDistanceParams()
50 max_distance = limit.max_distance; in BrotliInitDistanceParams()
55 dist_params->max_distance = max_distance; in BrotliInitDistanceParams()
108 if (distance > new_params->max_distance) { in ComputeDistanceCost()
Dhash.h139 size_t max_distance, HasherSearchResult* out) { in TestStaticDictionaryItem() argument
161 if (backward > max_distance) { in TestStaticDictionaryItem()
178 size_t max_backward, size_t max_distance, in SearchInStaticDictionary() argument
192 max_length, max_backward, max_distance, out); in SearchInStaticDictionary()
Dparams.h28 size_t max_distance; member
Dhash_rolling_inc.h156 const size_t dictionary_distance, const size_t max_distance, in FN()
209 BROTLI_UNUSED(max_distance); in FN()
Dbackward_references_hq.c412 const size_t max_distance = BROTLI_MIN(size_t, cur_ix, max_backward_limit); in UpdateNodes() local
461 if (backward <= max_distance) { in UpdateNodes()
682 const size_t max_distance = BROTLI_MIN(size_t, pos, max_backward_limit); in BrotliZopfliComputeShortestPath() local
689 ringbuffer, ringbuffer_mask, pos, num_bytes - i, max_distance, in BrotliZopfliComputeShortestPath()
768 size_t max_distance = BROTLI_MIN(size_t, pos, max_backward_limit); in BrotliCreateHqZopfliBackwardReferences() local
782 max_distance, dictionary_start + gap, params, in BrotliCreateHqZopfliBackwardReferences()
Dhash_longest_match_quickly_inc.h153 const size_t dictionary_distance, const size_t max_distance, in FN()
254 max_distance, out, BROTLI_TRUE); in FN()
Dhash_longest_match64_inc.h168 const size_t dictionary_distance, const size_t max_distance, in FN()
263 max_distance, out, BROTLI_FALSE); in FN()
Dhash_longest_match_inc.h164 const size_t dictionary_distance, const size_t max_distance, in FN()
258 max_distance, out, BROTLI_FALSE); in FN()
Dhash_forgetful_chain_inc.h197 const size_t dictionary_distance, const size_t max_distance, in FN()
285 max_distance, out, BROTLI_FALSE); in FN()
Dhash_to_binary_tree_inc.h257 if (distance <= params->dist.max_distance) { in FN()
Dencode.c754 params->dist.max_distance = BROTLI_MAX_DISTANCE; in BrotliEncoderInitParams()
923 uint64_t max_distance = last_processed_pos < max_backward_distance ? in ExtendLastCommand() local
930 if (cmd_dist <= max_distance) { in ExtendLastCommand()
/external/brotli/c/dec/
Dstate.h258 int max_distance; member
Dstate.c73 s->max_distance = 0; in BrotliDecoderStateInit()
Ddecode.c1396 s->max_distance = s->max_backward_distance; in CopyUncompressedBlockToOutput()
1889 if (s->max_distance != s->max_backward_distance) { in ProcessCommandsInternal()
1890 s->max_distance = in ProcessCommandsInternal()
1896 if (s->distance_code > s->max_distance) { in ProcessCommandsInternal()
1908 int address = s->distance_code - s->max_distance - 1; in ProcessCommandsInternal()
2481 s->max_distance = s->max_backward_distance; in BrotliDecoderDecompressStream()
/external/brotli/research/
Ddraw_histogram.cc28 DEFINE_uint64(max_distance, 1 << 30, "Maximum distance.");
/external/ImageMagick/MagickCore/
Dthreshold.c581 max_distance, in TriangleThreshold() local
636 max_distance=0.0; in TriangleThreshold()
642 if ((distance > max_distance) && (segment > 0.0)) in TriangleThreshold()
645 max_distance=distance; in TriangleThreshold()
653 if ((distance > max_distance) && (segment < 0.0)) in TriangleThreshold()
656 max_distance=distance; in TriangleThreshold()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_schedule.c645 unsigned max_distance = 36; in mir_choose_instruction() local
656 if ((max_active - i) >= max_distance) in mir_choose_instruction()