Lines Matching refs:copycode
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 kCopyBase[copycode]; in GetCopyBase()
103 static BROTLI_INLINE uint32_t GetCopyExtra(uint16_t copycode) { in GetCopyExtra() argument
104 return kCopyExtra[copycode]; in GetCopyExtra()