Searched refs:plane_code (Results 1 – 2 of 2) sorted by relevance
139 static WEBP_INLINE int PlaneCodeToDistance(int xsize, int plane_code) { in PlaneCodeToDistance() argument140 if (plane_code > CODE_TO_PLANE_CODES) { in PlaneCodeToDistance()141 return plane_code - CODE_TO_PLANE_CODES; in PlaneCodeToDistance()143 const int dist_code = code_to_plane_lut[plane_code - 1]; in PlaneCodeToDistance()
166 static WEBP_INLINE int PlaneCodeToDistance(int xsize, int plane_code) { in PlaneCodeToDistance() argument167 if (plane_code > CODE_TO_PLANE_CODES) { in PlaneCodeToDistance()168 return plane_code - CODE_TO_PLANE_CODES; in PlaneCodeToDistance()170 const int dist_code = kCodeToPlane[plane_code - 1]; in PlaneCodeToDistance()