CVPixelBufferGetDataSize(_:)
Returns the data size for contiguous planes of the pixel buffer.
Declaration
func CVPixelBufferGetDataSize(_ pixelBuffer: CVPixelBuffer) -> IntParameters
- pixelBuffer:
The pixel buffer whose data size you want to obtain.
Return Value
The size of the memory if the planes are contiguous, or NULL if it is not.
See Also
Inspecting Pixel Buffers
CVPixelBufferGetBaseAddress(_:)CVPixelBufferGetBaseAddressOfPlane(_:_:)CVPixelBufferGetBytesPerRow(_:)CVPixelBufferGetBytesPerRowOfPlane(_:_:)CVPixelBufferGetHeight(_:)CVPixelBufferGetHeightOfPlane(_:_:)CVPixelBufferGetWidth(_:)CVPixelBufferGetWidthOfPlane(_:_:)CVPixelBufferIsPlanar(_:)CVPixelBufferGetPlaneCount(_:)CVPixelBufferGetPixelFormatType(_:)CVPixelBufferGetExtendedPixels(_:_:_:_:_:)CVPixelBufferGetIOSurface(_:)CVPixelBufferCreateResolvedAttributesDictionary(_:_:_:)CVPixelBufferGetTypeID()