Contents

CVPixelBufferGetExtendedPixels(_:_:_:_:_:)

Returns the amount of extended pixel padding in the pixel buffer.

Declaration

func CVPixelBufferGetExtendedPixels(_ pixelBuffer: CVPixelBuffer, _ extraColumnsOnLeft: UnsafeMutablePointer<Int>?, _ extraColumnsOnRight: UnsafeMutablePointer<Int>?, _ extraRowsOnTop: UnsafeMutablePointer<Int>?, _ extraRowsOnBottom: UnsafeMutablePointer<Int>?)

Parameters

  • pixelBuffer:

    The pixel buffer whose extended pixel size you want to obtain.

  • extraColumnsOnLeft:

    On output, the pixel row padding to the left. Pass NULL if you do not want this information.

  • extraColumnsOnRight:

    On output, the pixel row padding to the right. Pass NULL if you do not want this information.

  • extraRowsOnTop:

    On output, the pixel row padding to the top. Pass NULL if you do not want this information.

  • extraRowsOnBottom:

    On output, the pixel row padding to the bottom. Pass NULL if you do not want this information.

See Also

Inspecting Pixel Buffers