Searched refs:plane_code (Results 1 – 2 of 2) sorted by relevance
594 int plane_code; in BackwardReferencesLz77Box() local597 plane_code = VP8LDistanceToPlaneCode(xsize, offset) - 1; in BackwardReferencesLz77Box()598 if (plane_code >= WINDOW_OFFSETS_SIZE_MAX) continue; in BackwardReferencesLz77Box()599 window_offsets[plane_code] = offset; in BackwardReferencesLz77Box()
167 static WEBP_INLINE int PlaneCodeToDistance(int xsize, int plane_code) { in PlaneCodeToDistance() argument168 if (plane_code > CODE_TO_PLANE_CODES) { in PlaneCodeToDistance()169 return plane_code - CODE_TO_PLANE_CODES; in PlaneCodeToDistance()171 const int dist_code = kCodeToPlane[plane_code - 1]; in PlaneCodeToDistance()