Searched refs:distance_code (Results 1 – 8 of 8) 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 | 93 size_t distance_code = ComputeDistanceCode( in EXPORT_FN() local 95 if ((sr.distance <= (dictionary_start + gap)) && distance_code > 0) { in EXPORT_FN() 103 sr.len, sr.len_code_delta, distance_code); in EXPORT_FN()
|
D | command.h | 122 size_t copylen, int copylen_code_delta, size_t distance_code) { in InitCommand() argument 131 distance_code, dist->num_direct_distance_codes, in InitCommand()
|
D | encode.c | 926 uint32_t distance_code = CommandRestoreDistanceCode(last_command, in ExtendLastCommand() local 928 if (distance_code < BROTLI_NUM_DISTANCE_SHORT_CODES || in ExtendLastCommand() 929 distance_code - (BROTLI_NUM_DISTANCE_SHORT_CODES - 1) == cmd_dist) { in ExtendLastCommand()
|
/external/brotli/c/dec/ |
D | decode.c | 1470 int offset = s->distance_code - 3; in TakeDistanceFromRingBuffer() 1471 if (s->distance_code <= 3) { in TakeDistanceFromRingBuffer() 1473 s->distance_context = 1 >> s->distance_code; in TakeDistanceFromRingBuffer() 1474 s->distance_code = s->dist_rb[(s->dist_rb_idx - offset) & 3]; in TakeDistanceFromRingBuffer() 1479 int base = s->distance_code - 10; in TakeDistanceFromRingBuffer() 1480 if (s->distance_code < 10) { in TakeDistanceFromRingBuffer() 1481 base = s->distance_code - 4; in TakeDistanceFromRingBuffer() 1487 s->distance_code = s->dist_rb[(s->dist_rb_idx + index_delta) & 0x3] + delta; in TakeDistanceFromRingBuffer() 1488 if (s->distance_code <= 0) { in TakeDistanceFromRingBuffer() 1491 s->distance_code = 0x7FFFFFFF; in TakeDistanceFromRingBuffer() [all …]
|
D | prefix.h | 19 int8_t distance_code; member
|
D | state.h | 297 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()
|