Platforms to show: All Mac Windows Linux Cross-Platform

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
Function: One of the attribute keys.
Notes: Indicates the number of bytes per row in the pixel buffer (type Number).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: Indicates whether the pixel buffer is compatible with Core Graphics bitmap contexts (type Boolean).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: Indicates whether the pixel buffer is compatible with CGImage types (type Boolean).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: The number of pixels padding the bottom of the image (type Number).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: The number of pixels padding the left of the image (type Number).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: The number of pixels padding the right of the image (type Number).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: The number of pixels padding the top of the image (type Number).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: The height of the pixel buffer (type Number).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: A boolean value

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: Ensures that the CVPixelBuffer's IOSurfaceRef can be displayed in an CoreAnimation CALayer.

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: 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.

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes:
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.

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: The allocator used with this buffer (type CFAllocatorRef).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: Indicates whether the pixel buffer is compatible with Core Graphics bitmap contexts (type Boolean).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: 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.

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: 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).

Feedback, Comments & Corrections

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
Function: One of the attribute keys.
Notes: The width of the pixel buffer (type Number).

Feedback, Comments & Corrections

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
Function: Creates a pixel buffer for a CGImage by making a copy of the picture.
Notes:
Image parameter must be a CGImageMBS object.
For Carbon and Cocoa.
Returns nil on any error.

Feedback, Comments & Corrections

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
Function: Creates pixel buffer object with handle.
Notes: Handle must be a CVPixelBufferRef, which we retain.

Feedback, Comments & Corrections

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
Function: Creates a pixel buffer for a picture by making a copy of the picture.
Example:
dim p as new Picture(300, 200)
dim b as CVPixelBufferMBS = CVPixelBufferMBS.PixelBufferWithPicture(p)
MsgBox str(b.Width)+" x "+str(b.Height)
Notes:
For Carbon and Cocoa.
Returns nil on any error.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS AVFoundation Plugin.

The biggest plugin in space...




Links
MBS Xojo Chart Plugins

Start Chat