Platforms to show: All Mac Windows Linux Cross-Platform
Back to CVPixelBufferMBS class.
CVPixelBufferMBS.kCVPixelBufferBytesPerRowAlignmentKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Indicates the number of bytes per row in the pixel buffer (type Number).
CVPixelBufferMBS.kCVPixelBufferCGBitmapContextCompatibilityKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Indicates whether the pixel buffer is compatible with Core Graphics bitmap contexts (type Boolean).
Some examples using this method:
CVPixelBufferMBS.kCVPixelBufferCGImageCompatibilityKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Indicates whether the pixel buffer is compatible with CGImage types (type Boolean).
Some examples using this method:
CVPixelBufferMBS.kCVPixelBufferExtendedPixelsBottomKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The number of pixels padding the bottom of the image (type Number).
CVPixelBufferMBS.kCVPixelBufferExtendedPixelsLeftKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The number of pixels padding the left of the image (type Number).
CVPixelBufferMBS.kCVPixelBufferExtendedPixelsRightKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The number of pixels padding the right of the image (type Number).
CVPixelBufferMBS.kCVPixelBufferExtendedPixelsTopKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The number of pixels padding the top of the image (type Number).
CVPixelBufferMBS.kCVPixelBufferHeightKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The height of the pixel buffer (type Number).
Some examples using this method:
CVPixelBufferMBS.kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A boolean value
CVPixelBufferMBS.kCVPixelBufferIOSurfaceOpenGLFBOCompatibilityKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Ensures that the CVPixelBuffer's IOSurfaceRef can be displayed in an CoreAnimation CALayer.
CVPixelBufferMBS.kCVPixelBufferIOSurfaceOpenGLTextureCompatibilityKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Ensures that CGLTexImageIOSurface2D() will succeed in creating a valid texture object from the CVPixelBuffer's IOSurface AND that the resulting texture may be used as a color buffer attachment to a OpenGL frame buffer object.
CVPixelBufferMBS.kCVPixelBufferIOSurfacePropertiesKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Indicates optional properties in the IOSurface framework (type Dictionary). An empty dictionary indicates default values.
Presence of this key requests allocation via the IOSurface framework.
CVPixelBufferMBS.kCVPixelBufferMemoryAllocatorKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The allocator used with this buffer (type CFAllocatorRef).
CVPixelBufferMBS.kCVPixelBufferOpenGLCompatibilityKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Indicates whether the pixel buffer is compatible with Core Graphics bitmap contexts (type Boolean).
CVPixelBufferMBS.kCVPixelBufferPixelFormatTypeKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The pixel format for this buffer (type Number, or type Array containing an array of Number types (actually type OSType)). For a listing of common pixel formats, see the QuickTime Ice Floe Dispatch 20.
Some examples using this method:
- /AVFoundation/Extract video frames
- /AVFoundation/Live Barcode Detection
- /AVFoundation/Live Barcode Detection iOS/Live Barcode Detection iOS
- /AVFoundation/Live Barcode Detection with Vision/Live Barcode Detection with Vision
- /AVFoundation/Live picture processing
- /AVFoundation/Make Video From Images
- /AVFoundation/Make Video From Images with transparency
CVPixelBufferMBS.kCVPixelBufferPlaneAlignmentKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies the alignment of the planes within the buffer. Planes will start on a byte number which is a multiple of this value. (type Number).
CVPixelBufferMBS.kCVPixelBufferWidthKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The width of the pixel buffer (type Number).
Some examples using this method:
CVPixelBufferMBS.PixelBufferWithCGImage(CGImage as Variant) as CVPixelBufferMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Image parameter must be a CGImageMBS object.
For Carbon and Cocoa.
Returns nil on any error.
CVPixelBufferMBS.PixelBufferWithHandle(Handle as Integer) as CVPixelBufferMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Handle must be a CVPixelBufferRef, which we retain.
CVPixelBufferMBS.PixelBufferWithPicture(pic as picture) as CVPixelBufferMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
For Carbon and Cocoa.
Returns nil on any error.
The items on this page are in the following plugins: MBS AVFoundation Plugin.