Searched refs:surfacePlaneCount (Results 1 – 4 of 4) sorted by relevance
225 size_t surfacePlaneCount = std::max(size_t(1), IOSurfaceGetPlaneCount(ioSurface)); in validateAttributes() local227 if (plane < 0 || static_cast<size_t>(plane) >= surfacePlaneCount) in validateAttributes()
188 size_t surfacePlaneCount = std::max(size_t(1), IOSurfaceGetPlaneCount(ioSurface));190 if (plane < 0 || static_cast<size_t>(plane) >= surfacePlaneCount)
170 size_t surfacePlaneCount = std::max(size_t(1), IOSurfaceGetPlaneCount(ioSurface));172 if (plane < 0 || static_cast<size_t>(plane) >= surfacePlaneCount)
297 size_t surfacePlaneCount = std::max(size_t(1), IOSurfaceGetPlaneCount(ioSurface));299 if (plane < 0 || static_cast<size_t>(plane) >= surfacePlaneCount)