Searched refs:copycode (Results 1 – 6 of 6) sorted by relevance
/third_party/node/deps/brotli/c/enc/ |
D | command.h | 63 uint16_t inscode, uint16_t copycode, BROTLI_BOOL use_last_distance) { in CombineLengthCodes() argument 65 (uint16_t)((copycode & 0x7u) | ((inscode & 0x7u) << 3u)); in CombineLengthCodes() 66 if (use_last_distance && inscode < 8u && copycode < 16u) { in CombineLengthCodes() 67 return (copycode < 8u) ? bits64 : (bits64 | 64u); in CombineLengthCodes() 71 uint32_t offset = 2u * ((copycode >> 3u) + 3u * (inscode >> 3u)); in CombineLengthCodes() 87 uint16_t copycode = GetCopyLengthCode(copylen); in GetLengthCode() local 88 *code = CombineLengthCodes(inscode, copycode, use_last_distance); in GetLengthCode() 99 static BROTLI_INLINE uint32_t GetCopyBase(uint16_t copycode) { in GetCopyBase() argument 100 return kBrotliCopyBase[copycode]; in GetCopyBase() 103 static BROTLI_INLINE uint32_t GetCopyExtra(uint16_t copycode) { in GetCopyExtra() argument [all …]
|
D | backward_references_hq.c | 485 const uint16_t copycode = GetCopyLengthCode(l); in UpdateNodes() local 487 CombineLengthCodes(inscode, copycode, j == 0); in UpdateNodes() 489 (float)GetCopyExtra(copycode) + in UpdateNodes() 539 const uint16_t copycode = GetCopyLengthCode(len_code); in UpdateNodes() local 540 const uint16_t cmdcode = CombineLengthCodes(inscode, copycode, 0); in UpdateNodes() 541 const float cost = dist_cost + (float)GetCopyExtra(copycode) + in UpdateNodes()
|
D | brotli_bit_stream.c | 89 uint16_t copycode = GetCopyLengthCode(copylen_code); in StoreCommandExtra() local 92 uint64_t copyextraval = copylen_code - GetCopyBase(copycode); in StoreCommandExtra() 95 insnumextra + GetCopyExtra(copycode), bits, storage_ix, storage); in StoreCommandExtra()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | command.h | 63 uint16_t inscode, uint16_t copycode, BROTLI_BOOL use_last_distance) { in CombineLengthCodes() argument 65 (uint16_t)((copycode & 0x7u) | ((inscode & 0x7u) << 3u)); in CombineLengthCodes() 66 if (use_last_distance && inscode < 8u && copycode < 16u) { in CombineLengthCodes() 67 return (copycode < 8u) ? bits64 : (bits64 | 64u); in CombineLengthCodes() 71 uint32_t offset = 2u * ((copycode >> 3u) + 3u * (inscode >> 3u)); in CombineLengthCodes() 87 uint16_t copycode = GetCopyLengthCode(copylen); in GetLengthCode() local 88 *code = CombineLengthCodes(inscode, copycode, use_last_distance); in GetLengthCode() 99 static BROTLI_INLINE uint32_t GetCopyBase(uint16_t copycode) { in GetCopyBase() argument 100 return kBrotliCopyBase[copycode]; in GetCopyBase() 103 static BROTLI_INLINE uint32_t GetCopyExtra(uint16_t copycode) { in GetCopyExtra() argument [all …]
|
D | backward_references_hq.c | 485 const uint16_t copycode = GetCopyLengthCode(l); in UpdateNodes() local 487 CombineLengthCodes(inscode, copycode, j == 0); in UpdateNodes() 489 (float)GetCopyExtra(copycode) + in UpdateNodes() 539 const uint16_t copycode = GetCopyLengthCode(len_code); in UpdateNodes() local 540 const uint16_t cmdcode = CombineLengthCodes(inscode, copycode, 0); in UpdateNodes() 541 const float cost = dist_cost + (float)GetCopyExtra(copycode) + in UpdateNodes()
|
D | brotli_bit_stream.c | 89 uint16_t copycode = GetCopyLengthCode(copylen_code); in StoreCommandExtra() local 92 uint64_t copyextraval = copylen_code - GetCopyBase(copycode); in StoreCommandExtra() 95 insnumextra + GetCopyExtra(copycode), bits, storage_ix, storage); in StoreCommandExtra()
|