Contents

CVPixelBufferGetHeightOfPlane(_:_:)

Returns the height of the plane at planeIndex in the pixel buffer.

Declaration

func CVPixelBufferGetHeightOfPlane(_ pixelBuffer: CVPixelBuffer, _ planeIndex: Int) -> Int

Parameters

  • pixelBuffer:

    The pixel buffer whose plane height you want to obtain.

  • planeIndex:

    The index of the plane.

Return Value

The height of the buffer, in pixels, or 0 for nonplanar pixel buffers.

See Also

Inspecting Pixel Buffers