Home
last modified time | relevance | path

Searched refs:distance_cache (Results 1 – 6 of 6) sorted by relevance

/external/brotli/enc/
Dhash.h89 int* BROTLI_RESTRICT distance_cache, const int num_distances) { in PrepareDistanceCache() argument
91 int last_distance = distance_cache[0]; in PrepareDistanceCache()
92 distance_cache[4] = last_distance - 1; in PrepareDistanceCache()
93 distance_cache[5] = last_distance + 1; in PrepareDistanceCache()
94 distance_cache[6] = last_distance - 2; in PrepareDistanceCache()
95 distance_cache[7] = last_distance + 2; in PrepareDistanceCache()
96 distance_cache[8] = last_distance - 3; in PrepareDistanceCache()
97 distance_cache[9] = last_distance + 3; in PrepareDistanceCache()
99 int next_last_distance = distance_cache[1]; in PrepareDistanceCache()
100 distance_cache[10] = next_last_distance - 1; in PrepareDistanceCache()
[all …]
Dhash_longest_match_quickly_inc.h114 HasherHandle handle, int* BROTLI_RESTRICT distance_cache) { in FN()
116 BROTLI_UNUSED(distance_cache); in FN()
130 const size_t ring_buffer_mask, const int* BROTLI_RESTRICT distance_cache, in FN()
140 size_t cached_backward = (size_t)distance_cache[0]; in FN()
Dhash_longest_match64_inc.h144 HasherHandle handle, int* BROTLI_RESTRICT distance_cache) { in FN()
145 PrepareDistanceCache(distance_cache, in FN()
163 const int* BROTLI_RESTRICT distance_cache, const size_t cur_ix, in FN()
180 const size_t backward = (size_t)distance_cache[i]; in FN()
Dhash_longest_match_inc.h137 HasherHandle handle, int* BROTLI_RESTRICT distance_cache) { in FN()
138 PrepareDistanceCache(distance_cache, in FN()
156 const int* BROTLI_RESTRICT distance_cache, const size_t cur_ix, in FN()
173 const size_t backward = (size_t)distance_cache[i]; in FN()
Dhash_forgetful_chain_inc.h140 HasherHandle handle, int* BROTLI_RESTRICT distance_cache) { in FN()
142 PrepareDistanceCache(distance_cache, NUM_LAST_DISTANCES_TO_CHECK); in FN()
159 const int* BROTLI_RESTRICT distance_cache, in FN()
175 const size_t backward = (size_t)distance_cache[i]; in FN()
Dbackward_references_hq.c232 int distance_cache[4]; member
366 pos, starting_dist_cache, nodes, posdata.distance_cache); in EvaluateNode()
416 (size_t)(posdata->distance_cache[idx] + kDistanceCacheOffset[j]); in UpdateNodes()