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 | 83 size_t distance_code = ComputeDistanceCode( in EXPORT_FN() local 85 if ((sr.distance <= (max_distance + gap)) && distance_code > 0) { in EXPORT_FN() 93 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 | 894 uint32_t distance_code = CommandRestoreDistanceCode(last_command, in ExtendLastCommand() local 896 if (distance_code < BROTLI_NUM_DISTANCE_SHORT_CODES || in ExtendLastCommand() 897 distance_code - (BROTLI_NUM_DISTANCE_SHORT_CODES - 1) == cmd_dist) { in ExtendLastCommand()
|
/external/brotli/c/dec/ |
D | decode.c | 1460 if (s->distance_code == 0) { in TakeDistanceFromRingBuffer() 1462 s->distance_code = s->dist_rb[s->dist_rb_idx & 3]; in TakeDistanceFromRingBuffer() 1466 int distance_code = s->distance_code << 1; in TakeDistanceFromRingBuffer() local 1474 (int)(kDistanceShortCodeIndexOffset >> distance_code)) & 0x3; in TakeDistanceFromRingBuffer() 1475 s->distance_code = s->dist_rb[v]; in TakeDistanceFromRingBuffer() 1476 v = (int)(kDistanceShortCodeValueOffset >> distance_code) & 0x3; in TakeDistanceFromRingBuffer() 1477 if ((distance_code & 0x3) != 0) { in TakeDistanceFromRingBuffer() 1478 s->distance_code += v; in TakeDistanceFromRingBuffer() 1480 s->distance_code -= v; in TakeDistanceFromRingBuffer() 1481 if (s->distance_code <= 0) { in TakeDistanceFromRingBuffer() [all …]
|
D | prefix.h | 37 int8_t distance_code; member
|
D | state.h | 165 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()
|