Platforms to show: All Mac Windows Linux Cross-Platform

CVPixelBufferMBS.BaseAddress as Ptr
Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Returns the base address of the pixel buffer.
Notes:
For chunky buffers, returns a pointer to the pixel at (0,0) in the buffer.
For planar buffers, returns a pointer to a PlanarComponentInfo structure (as defined by QuickTime in ImageCodec.h).

Retrieving the base address for a pixel buffer requires that the buffer base address be locked via a successful call to CVPixelBufferLockBaseAddress.
(Read only property)

Feedback, Comments & Corrections

CVPixelBufferMBS.BytesPerRow as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Returns the number of bytes per row of the pixel buffer.
Example:
dim p as new Picture(300, 200)
dim b as new CVPixelBufferMBS(p)
MsgBox str(b.BytesPerRow)
Notes:
The number of bytes per row of the image data. For planar buffers, this function returns a rowBytes value such that bytesPerRow * height covers the entire image, including all planes.
(Read only property)

Feedback, Comments & Corrections

CVPixelBufferMBS.DataSize as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Returns the data size for contiguous planes of the pixel buffer.
Example:
dim p as new Picture(300, 200)
dim b as new CVPixelBufferMBS(p)
MsgBox str(b.DataSize)
Notes: (Read only property)

Feedback, Comments & Corrections

CVPixelBufferMBS.Height as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Returns the height of the pixel buffer.
Example:
dim p as new Picture(300, 200)
dim b as CVPixelBufferMBS = CVPixelBufferMBS.PixelBufferWithPicture(p)
MsgBox str(b.Width)+" x "+str(b.Height)
Notes: (Read only property)

Feedback, Comments & Corrections

CVPixelBufferMBS.IsPlanar as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Determines whether the pixel buffer is planar.
Notes:
Returns true if the pixel buffer was created using CVPixelBufferCreateWithPlanarBytes; otherwise, false.
(Read only property)

Feedback, Comments & Corrections

CVPixelBufferMBS.PixelFormatType as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Returns the pixel format type of the pixel buffer.
Notes:
Returns a four-character code OSType identifier for the pixel format.
(Read only property)

Feedback, Comments & Corrections

CVPixelBufferMBS.PlaneCount as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Returns number of planes of the pixel buffer.
Notes:
Returns the number of planes. Returns 0 for nonplanar pixel buffers.
(Read only property)

Feedback, Comments & Corrections

CVPixelBufferMBS.Width as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Returns the width of the pixel buffer.
Example:
dim p as new Picture(300, 200)
dim b as CVPixelBufferMBS = CVPixelBufferMBS.PixelBufferWithPicture(p)
MsgBox str(b.Width)+" x "+str(b.Height)
Notes: (Read only property)

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