CVPixelBufferIsPlanar(_:)
Determines whether the pixel buffer is planar.
Declaration
func CVPixelBufferIsPlanar(_ pixelBuffer: CVPixelBuffer) -> BoolParameters
- pixelBuffer:
The pixel buffer to check.
Return Value
true if the pixel buffer is planar; otherwise, false.
Discussion
Planar buffers can be created using the CVPixelBufferCreateWithPlanarBytes(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:) function.
See Also
Inspecting Pixel Buffers
CVPixelBufferGetBaseAddress(_:)CVPixelBufferGetBaseAddressOfPlane(_:_:)CVPixelBufferGetBytesPerRow(_:)CVPixelBufferGetBytesPerRowOfPlane(_:_:)CVPixelBufferGetHeight(_:)CVPixelBufferGetHeightOfPlane(_:_:)CVPixelBufferGetWidth(_:)CVPixelBufferGetWidthOfPlane(_:_:)CVPixelBufferGetPlaneCount(_:)CVPixelBufferGetDataSize(_:)CVPixelBufferGetPixelFormatType(_:)CVPixelBufferGetExtendedPixels(_:_:_:_:_:)CVPixelBufferGetIOSurface(_:)CVPixelBufferCreateResolvedAttributesDictionary(_:_:_:)CVPixelBufferGetTypeID()