Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dbackward_references_inc.h14 const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache, in EXPORT_FN()
35 FN(PrepareDistanceCache)(hasher, dist_cache); in EXPORT_FN()
46 ringbuffer_mask, dist_cache, position, in EXPORT_FN()
62 ringbuffer_mask, dist_cache, position + 1, in EXPORT_FN()
84 ComputeDistanceCode(sr.distance, max_distance + gap, dist_cache); in EXPORT_FN()
86 dist_cache[3] = dist_cache[2]; in EXPORT_FN()
87 dist_cache[2] = dist_cache[1]; in EXPORT_FN()
88 dist_cache[1] = dist_cache[0]; in EXPORT_FN()
89 dist_cache[0] = (int)sr.distance; in EXPORT_FN()
90 FN(PrepareDistanceCache)(hasher, dist_cache); in EXPORT_FN()
Dbackward_references.c26 const int* dist_cache) { in ComputeDistanceCode() argument
29 size_t offset0 = distance_plus_3 - (size_t)dist_cache[0]; in ComputeDistanceCode()
30 size_t offset1 = distance_plus_3 - (size_t)dist_cache[1]; in ComputeDistanceCode()
31 if (distance == (size_t)dist_cache[0]) { in ComputeDistanceCode()
33 } else if (distance == (size_t)dist_cache[1]) { in ComputeDistanceCode()
39 } else if (distance == (size_t)dist_cache[2]) { in ComputeDistanceCode()
41 } else if (distance == (size_t)dist_cache[3]) { in ComputeDistanceCode()
112 int* dist_cache, in BrotliCreateBackwardReferences() argument
122 ringbuffer_mask, params, hasher, dist_cache, \ in BrotliCreateBackwardReferences()
Dbackward_references_hq.c334 int* dist_cache) { in ComputeDistanceCache() argument
341 dist_cache[idx++] = (int)dist; in ComputeDistanceCache()
346 dist_cache[idx] = *starting_dist_cache++; in ComputeDistanceCache()
536 int* dist_cache, in BrotliZopfliCreateCommands() argument
568 dist_cache[3] = dist_cache[2]; in BrotliZopfliCreateCommands()
569 dist_cache[2] = dist_cache[1]; in BrotliZopfliCreateCommands()
570 dist_cache[1] = dist_cache[0]; in BrotliZopfliCreateCommands()
571 dist_cache[0] = (int)distance; in BrotliZopfliCreateCommands()
588 const int* dist_cache, in ZopfliIterate() argument
602 ringbuffer_mask, params, max_backward_limit, dist_cache, in ZopfliIterate()
[all …]
Dbackward_references_hq.h28 const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache,
35 const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache,
84 const int* dist_cache, HasherHandle hasher, ZopfliNode* nodes);
89 int* dist_cache, size_t* last_insert_len, const BrotliEncoderParams* params,
Dencode.c535 int* dist_cache, in WriteMetaBlockInternal() argument
555 memcpy(dist_cache, saved_dist_cache, 4 * sizeof(dist_cache[0])); in WriteMetaBlockInternal()
633 memcpy(dist_cache, saved_dist_cache, 4 * sizeof(dist_cache[0])); in WriteMetaBlockInternal()
1086 int dist_cache[4] = { 4, 11, 15, 16 }; in BrotliCompressBufferQuality10() local
1153 max_backward_limit, dist_cache, hasher, nodes); in BrotliCompressBufferQuality10()
1176 &nodes[0], dist_cache, &last_insert_len, in BrotliCompressBufferQuality10()
1209 memcpy(dist_cache, saved_dist_cache, 4 * sizeof(dist_cache[0])); in BrotliCompressBufferQuality10()
1250 memcpy(dist_cache, saved_dist_cache, 4 * sizeof(dist_cache[0])); in BrotliCompressBufferQuality10()
1266 memcpy(saved_dist_cache, dist_cache, 4 * sizeof(dist_cache[0])); in BrotliCompressBufferQuality10()
Dbackward_references.h31 const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache,