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
NULLif you do not want this information. - extraColumnsOnRight:
On output, the pixel row padding to the right. Pass
NULLif you do not want this information. - extraRowsOnTop:
On output, the pixel row padding to the top. Pass
NULLif you do not want this information. - extraRowsOnBottom:
On output, the pixel row padding to the bottom. Pass
NULLif you do not want this information.
See Also
Inspecting Pixel Buffers
CVPixelBufferGetBaseAddress(_:)CVPixelBufferGetBaseAddressOfPlane(_:_:)CVPixelBufferGetBytesPerRow(_:)CVPixelBufferGetBytesPerRowOfPlane(_:_:)CVPixelBufferGetHeight(_:)CVPixelBufferGetHeightOfPlane(_:_:)CVPixelBufferGetWidth(_:)CVPixelBufferGetWidthOfPlane(_:_:)CVPixelBufferIsPlanar(_:)CVPixelBufferGetPlaneCount(_:)CVPixelBufferGetDataSize(_:)CVPixelBufferGetPixelFormatType(_:)CVPixelBufferGetIOSurface(_:)CVPixelBufferCreateResolvedAttributesDictionary(_:_:_:)CVPixelBufferGetTypeID()