Contents

CVPixelBufferGetDataSize(_:)

Returns the data size for contiguous planes of the pixel buffer.

Declaration

func CVPixelBufferGetDataSize(_ pixelBuffer: CVPixelBuffer) -> Int

Parameters

  • 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