Searched refs:distance_code (Results 1 – 7 of 7) sorted by relevance
/external/brotli/c/enc/ |
D | prefix.h | 24 static BROTLI_INLINE void PrefixEncodeCopyDistance(size_t distance_code, in PrefixEncodeCopyDistance() argument 29 if (distance_code < BROTLI_NUM_DISTANCE_SHORT_CODES + num_direct_codes) { in PrefixEncodeCopyDistance() 30 *code = (uint16_t)distance_code; in PrefixEncodeCopyDistance() 35 (distance_code - BROTLI_NUM_DISTANCE_SHORT_CODES - num_direct_codes); in PrefixEncodeCopyDistance()
|
D | backward_references_inc.h | 83 size_t distance_code = in EXPORT_FN() local 85 if ((sr.distance <= (max_distance + gap)) && distance_code > 0) { in EXPORT_FN() 93 distance_code); in EXPORT_FN()
|
D | command.h | 117 size_t copylen, int copylen_code_delta, size_t distance_code) { in InitCommand() argument 126 distance_code, 0, 0, &self->dist_prefix_, &self->dist_extra_); in InitCommand()
|
/external/brotli/c/dec/ |
D | decode.c | 1408 if (s->distance_code == 0) { in TakeDistanceFromRingBuffer() 1410 s->distance_code = s->dist_rb[s->dist_rb_idx & 3]; in TakeDistanceFromRingBuffer() 1414 int distance_code = s->distance_code << 1; in TakeDistanceFromRingBuffer() local 1422 (int)(kDistanceShortCodeIndexOffset >> distance_code)) & 0x3; in TakeDistanceFromRingBuffer() 1423 s->distance_code = s->dist_rb[v]; in TakeDistanceFromRingBuffer() 1424 v = (int)(kDistanceShortCodeValueOffset >> distance_code) & 0x3; in TakeDistanceFromRingBuffer() 1425 if ((distance_code & 0x3) != 0) { in TakeDistanceFromRingBuffer() 1426 s->distance_code += v; in TakeDistanceFromRingBuffer() 1428 s->distance_code -= v; in TakeDistanceFromRingBuffer() 1429 if (s->distance_code <= 0) { in TakeDistanceFromRingBuffer() [all …]
|
D | prefix.h | 38 int8_t distance_code; member
|
D | state.h | 163 int distance_code; member
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 1656 unsigned distance_code = lz77_encoded->data[++i]; in writeLZ77data() local 1658 unsigned distance_index = distance_code; in writeLZ77data() 1663 addHuffmanSymbol(bp, out, HuffmanTree_getCode(tree_d, distance_code), in writeLZ77data() 1664 HuffmanTree_getLength(tree_d, distance_code)); in writeLZ77data()
|