Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dbackward_references.c27 const int* dist_cache) { in ComputeDistanceCode() argument
30 size_t offset0 = distance_plus_3 - (size_t)dist_cache[0]; in ComputeDistanceCode()
31 size_t offset1 = distance_plus_3 - (size_t)dist_cache[1]; in ComputeDistanceCode()
32 if (distance == (size_t)dist_cache[0]) { in ComputeDistanceCode()
34 } else if (distance == (size_t)dist_cache[1]) { in ComputeDistanceCode()
40 } else if (distance == (size_t)dist_cache[2]) { in ComputeDistanceCode()
42 } else if (distance == (size_t)dist_cache[3]) { in ComputeDistanceCode()
126 Hasher* hasher, int* dist_cache, size_t* last_insert_len, in BrotliCreateBackwardReferences() argument
133 literal_context_lut, params, hasher, dist_cache, \ in BrotliCreateBackwardReferences()
Dbackward_references_inc.h14 Hasher* hasher, int* dist_cache, size_t* last_insert_len, in EXPORT_FN()
38 FN(PrepareDistanceCache)(privat, dist_cache); in EXPORT_FN()
51 ringbuffer, ringbuffer_mask, dist_cache, position, max_length, in EXPORT_FN()
70 ringbuffer, ringbuffer_mask, dist_cache, position + 1, max_length, in EXPORT_FN()
94 sr.distance, dictionary_start + gap, dist_cache); in EXPORT_FN()
96 dist_cache[3] = dist_cache[2]; in EXPORT_FN()
97 dist_cache[2] = dist_cache[1]; in EXPORT_FN()
98 dist_cache[1] = dist_cache[0]; in EXPORT_FN()
99 dist_cache[0] = (int)sr.distance; in EXPORT_FN()
100 FN(PrepareDistanceCache)(privat, dist_cache); in EXPORT_FN()
Dbackward_references_hq.c363 int* dist_cache) { in ComputeDistanceCache() argument
370 dist_cache[idx++] = (int)dist; in ComputeDistanceCache()
375 dist_cache[idx] = *starting_dist_cache++; in ComputeDistanceCache()
572 const size_t block_start, const ZopfliNode* nodes, int* dist_cache, in BrotliZopfliCreateCommands() argument
603 dist_cache[3] = dist_cache[2]; in BrotliZopfliCreateCommands()
604 dist_cache[2] = dist_cache[1]; in BrotliZopfliCreateCommands()
605 dist_cache[1] = dist_cache[0]; in BrotliZopfliCreateCommands()
606 dist_cache[0] = (int)distance; in BrotliZopfliCreateCommands()
618 const BrotliEncoderParams* params, const size_t gap, const int* dist_cache, in ZopfliIterate() argument
632 ringbuffer_mask, params, max_backward_limit, dist_cache, in ZopfliIterate()
[all …]
Dbackward_references_hq.h30 Hasher* hasher, int* dist_cache, size_t* last_insert_len,
37 Hasher* hasher, int* dist_cache, size_t* last_insert_len,
84 const int* dist_cache, Hasher* hasher, ZopfliNode* nodes);
88 int* dist_cache, size_t* last_insert_len, const BrotliEncoderParams* params,
Dbackward_references.h32 Hasher* hasher, int* dist_cache, size_t* last_insert_len,
Dencode.c567 int* dist_cache, in WriteMetaBlockInternal() argument
587 memcpy(dist_cache, saved_dist_cache, 4 * sizeof(dist_cache[0])); in WriteMetaBlockInternal()
652 memcpy(dist_cache, saved_dist_cache, 4 * sizeof(dist_cache[0])); in WriteMetaBlockInternal()
1211 int dist_cache[4] = { 4, 11, 15, 16 }; in BrotliCompressBufferQuality10() local
1286 input_buffer, mask, literal_context_lut, &params, dist_cache, &hasher, in BrotliCompressBufferQuality10()
1309 BrotliZopfliCreateCommands(block_size, block_start, &nodes[0], dist_cache, in BrotliCompressBufferQuality10()
1342 memcpy(dist_cache, saved_dist_cache, 4 * sizeof(dist_cache[0])); in BrotliCompressBufferQuality10()
1382 memcpy(dist_cache, saved_dist_cache, 4 * sizeof(dist_cache[0])); in BrotliCompressBufferQuality10()
1401 memcpy(saved_dist_cache, dist_cache, 4 * sizeof(dist_cache[0])); in BrotliCompressBufferQuality10()