Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dbackward_references_inc.h38 size_t max_distance = BROTLI_MIN(size_t, position, max_backward_limit); in EXPORT_FN() local
46 max_distance, gap, params->dist.max_distance, &sr); in EXPORT_FN()
59 max_distance = BROTLI_MIN(size_t, position + 1, max_backward_limit); in EXPORT_FN()
63 max_distance, gap, params->dist.max_distance, &sr2); in EXPORT_FN()
79 max_distance = BROTLI_MIN(size_t, position, max_backward_limit); in EXPORT_FN()
84 sr.distance, max_distance + gap, dist_cache); in EXPORT_FN()
85 if ((sr.distance <= (max_distance + gap)) && distance_code > 0) { in EXPORT_FN()
Dmetablock.c31 uint32_t alphabet_size, max_distance; in BrotliInitDistanceParams() local
38 max_distance = ndirect + (1U << (BROTLI_MAX_DISTANCE_BITS + npostfix + 2)) - in BrotliInitDistanceParams()
50 max_distance = BROTLI_MAX_ALLOWED_DISTANCE - (bound[npostfix] - ndirect); in BrotliInitDistanceParams()
52 max_distance = (3U << 29) - 4 + (ndirect - bound[npostfix]); in BrotliInitDistanceParams()
54 max_distance = BROTLI_MAX_ALLOWED_DISTANCE; in BrotliInitDistanceParams()
59 dist_params->max_distance = max_distance; in BrotliInitDistanceParams()
112 if (distance > new_params->max_distance) { in ComputeDistanceCost()
Dbackward_references_hq.c413 const size_t max_distance = BROTLI_MIN(size_t, cur_ix, max_backward_limit); in UpdateNodes() local
456 if (BROTLI_PREDICT_FALSE(backward > max_distance + gap)) { in UpdateNodes()
460 if (backward <= max_distance) { in UpdateNodes()
509 TO_BROTLI_BOOL(dist > max_distance + gap); in UpdateNodes()
590 size_t max_distance = in BrotliZopfliCreateCommands() local
592 BROTLI_BOOL is_dictionary = TO_BROTLI_BOOL(distance > max_distance + gap); in BrotliZopfliCreateCommands()
674 const size_t max_distance = BROTLI_MIN(size_t, pos, max_backward_limit); in BrotliZopfliComputeShortestPath() local
679 ringbuffer, ringbuffer_mask, pos, num_bytes - i, max_distance, in BrotliZopfliComputeShortestPath()
753 size_t max_distance = BROTLI_MIN(size_t, pos, max_backward_limit); in BrotliCreateHqZopfliBackwardReferences() local
765 max_distance, gap, params, in BrotliCreateHqZopfliBackwardReferences()
Dhash_composite_inc.h125 const size_t gap, const size_t max_distance, in FN()
130 max_distance, out); in FN()
133 max_distance, out); in FN()
Dbackward_references.c25 size_t max_distance, in ComputeDistanceCode() argument
27 if (distance <= max_distance) { in ComputeDistanceCode()
Dhash.h154 size_t max_distance, HasherSearchResult* out) { in TestStaticDictionaryItem() argument
180 if (backward > max_distance) { in TestStaticDictionaryItem()
197 size_t max_backward, size_t max_distance, in SearchInStaticDictionary() argument
212 max_length, max_backward, max_distance, out); in SearchInStaticDictionary()
Dparams.h27 size_t max_distance; member
Dhash_rolling_inc.h159 const size_t gap, const size_t max_distance, in FN()
213 BROTLI_UNUSED(max_distance); in FN()
Dhash_longest_match_quickly_inc.h132 const size_t gap, const size_t max_distance, in FN()
227 max_distance, out, BROTLI_TRUE); in FN()
Dhash_longest_match64_inc.h165 const size_t gap, const size_t max_distance, in FN()
263 max_distance, out, BROTLI_FALSE); in FN()
Dhash_forgetful_chain_inc.h161 const size_t gap, const size_t max_distance, in FN()
246 max_distance, out, BROTLI_FALSE); in FN()
Dhash_longest_match_inc.h158 const size_t gap, const size_t max_distance, in FN()
255 max_distance, out, BROTLI_FALSE); in FN()
Dhash_to_binary_tree_inc.h256 if (distance <= params->dist.max_distance) { in FN()
Dencode.c722 params->dist.max_distance = BROTLI_MAX_DISTANCE; in BrotliEncoderInitParams()
891 uint64_t max_distance = last_processed_pos < max_backward_distance ? in ExtendLastCommand() local
898 if (cmd_dist <= max_distance) { in ExtendLastCommand()
/external/v8/src/asmjs/
Dswitch-logic.cc32 const int max_distance = 2; in OrderCases() local
40 if (cases->at(i) - cases->at(i - 1) > max_distance) { in OrderCases()
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dvalidators_unittest.py509 max_distance = self._get_max_distance(filename, self.criteria, lumpy)
510 self.assertAlmostEqual(max_distance, 5.464430436926)
521 max_distance = self._get_max_distance(filename, self.criteria, lumpy)
522 self.assertAlmostEqual(max_distance, 4.670861210146)
/external/brotli/c/dec/
Dstate.h122 int max_distance; member
Dstate.c78 s->max_distance = 0; in BrotliDecoderStateInit()
Ddecode.c1386 s->max_distance = s->max_backward_distance; in CopyUncompressedBlockToOutput()
1792 if (s->max_distance != s->max_backward_distance) { in ProcessCommandsInternal()
1793 s->max_distance = in ProcessCommandsInternal()
1799 if (s->distance_code > s->max_distance) { in ProcessCommandsInternal()
1811 int address = s->distance_code - s->max_distance - 1; in ProcessCommandsInternal()
2379 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.c576 max_distance, in TriangleThreshold() local
632 max_distance=0.0; in TriangleThreshold()
638 if ((distance > max_distance) && (segment > 0.0)) in TriangleThreshold()
641 max_distance=distance; in TriangleThreshold()
649 if ((distance > max_distance) && (segment < 0.0)) in TriangleThreshold()
652 max_distance=distance; in TriangleThreshold()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dvalidators.py804 max_distance = self.packets.get_max_distance(self.slot, UNIT.MM)
806 self.log_details(msg % (self.slot, max_distance))
808 firmware_log.Metric(self.mnprops.MAX_DISTANCE, max_distance)
810 self.vlog.score = self.fc.mf.grade(max_distance)