CVPixelBuffer
An image buffer that holds pixels in main memory.
Overview
A Core Video pixel buffer is an image buffer that holds pixels in main memory. Applications generating frames, compressing or decompressing video, or using Core Image can all make use of Core Video pixel buffers.
Topics
Creating pixel buffers
CVPixelBufferCreate(_:_:_:_:_:_:)CVPixelBufferCreateWithBytes(_:_:_:_:_:_:_:_:_:_:)CVPixelBufferCreateWithPlanarBytes(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)CVPixelBufferCreateWithIOSurface(_:_:_:_:)
Inspecting Pixel Buffers
CVPixelBufferGetBaseAddress(_:)CVPixelBufferGetBaseAddressOfPlane(_:_:)CVPixelBufferGetBytesPerRow(_:)CVPixelBufferGetBytesPerRowOfPlane(_:_:)CVPixelBufferGetHeight(_:)CVPixelBufferGetHeightOfPlane(_:_:)CVPixelBufferGetWidth(_:)CVPixelBufferGetWidthOfPlane(_:_:)CVPixelBufferIsPlanar(_:)CVPixelBufferGetPlaneCount(_:)CVPixelBufferGetDataSize(_:)CVPixelBufferGetPixelFormatType(_:)CVPixelBufferGetExtendedPixels(_:_:_:_:_:)CVPixelBufferGetIOSurface(_:)CVPixelBufferCreateResolvedAttributesDictionary(_:_:_:)CVPixelBufferIsCompatibleWithAttributes(_:_:)CVPixelBufferGetTypeID()
Modifying Pixel Buffers
CVPixelBufferFillExtendedPixels(_:)CVPixelBufferLockBaseAddress(_:_:)CVPixelBufferUnlockBaseAddress(_:_:)
Protocols
Swift overlay types
CVReadOnlyPixelBufferCVMutablePixelBufferCVPixelBufferAttributesCVPixelBufferCreationAttributesCVPixelBufferPaddingCVPixelBufferPlanePropertiesCVProResRawMetadata
Data Types
CVPixelBufferCVPixelBufferLockFlagsCVPlanarComponentInfoCVPlanarPixelBufferInfoCVPlanarPixelBufferInfo_YCbCrPlanarCVPlanarPixelBufferInfo_YCbCrBiPlanar