Searched refs:distance_symbol (Results 1 – 2 of 2) sorted by relevance
122 static WEBP_INLINE int GetCopyDistance(int distance_symbol, in GetCopyDistance() argument125 if (distance_symbol < 4) { in GetCopyDistance()126 return distance_symbol + 1; in GetCopyDistance()128 extra_bits = (distance_symbol - 2) >> 1; in GetCopyDistance()129 offset = (2 + (distance_symbol & 1)) << extra_bits; in GetCopyDistance()
149 static WEBP_INLINE int GetCopyDistance(int distance_symbol, in GetCopyDistance() argument152 if (distance_symbol < 4) { in GetCopyDistance()153 return distance_symbol + 1; in GetCopyDistance()155 extra_bits = (distance_symbol - 2) >> 1; in GetCopyDistance()156 offset = (2 + (distance_symbol & 1)) << extra_bits; in GetCopyDistance()