CVPixelBuffer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A CVImageBuffer that holds pixels.
public class CVPixelBuffer : CoreVideo.CVImageBuffer
type CVPixelBuffer = class
inherit CVImageBuffer
- Inheritance
Constructors
| Name | Description |
|---|---|
| CVPixelBuffer(IntPtr, IntPtr, CVPixelFormatType, CVPixelBufferAttributes) | |
| CVPixelBuffer(IntPtr, IntPtr, CVPixelFormatType) | |
Properties
| Name | Description |
|---|---|
| BaseAddress |
Pointers to the base address storing the pixels. Must call Lock(CVPixelBufferLock) to to lock the base address |
| BytesPerRow |
The number of bytes per row in the pixel buffer. |
| BytesPerRowAlignmentKey | |
| CGBitmapContextCompatibilityKey | |
| CGImageCompatibilityKey | |
| CleanRect | (Inherited from CVImageBuffer) |
| ColorSpace |
Get the color space for this image buffer (Inherited from CVImageBuffer) |
| DataSize | |
| DisplaySize | (Inherited from CVImageBuffer) |
| EncodedSize | (Inherited from CVImageBuffer) |
| ExtendedPixelsBottomKey | |
| ExtendedPixelsLeftKey | |
| ExtendedPixelsRightKey | |
| ExtendedPixelsTopKey | |
| Handle | (Inherited from DisposableObject) |
| Height | |
| HeightKey | |
| IOSurfacePropertiesKey | |
| IOSurfacePurgeableKey |
Represents the value associated with the constant 'kCVPixelBufferIOSurfacePurgeableKey'. |
| IsFlipped | (Inherited from CVImageBuffer) |
| IsPlanar | |
| MemoryAllocatorKey | |
| MetadataExtension |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_MetadataExtension'. |
| MetalCompatibilityKey | |
| OpenGLCompatibilityKey | |
| OpenGLESCompatibilityKey | |
| OpenGLESTextureCacheCompatibilityKey | |
| OpenGLTextureCacheCompatibilityKey | |
| Owns | (Inherited from DisposableObject) |
| PixelFormatType | |
| PixelFormatTypeKey | |
| PlaneAlignmentKey | |
| PlaneCount | |
| ProResRawKey_BlackLevel |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_BlackLevel'. |
| ProResRawKey_ColorMatrix |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_ColorMatrix'. |
| ProResRawKey_GainFactor |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_GainFactor'. |
| ProResRawKey_RecommendedCrop |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_RecommendedCrop'. |
| ProResRawKey_SenselSitingOffsets |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_SenselSitingOffsets'. |
| ProResRawKey_WhiteBalanceBlueFactor |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_WhiteBalanceBlueFactor'. |
| ProResRawKey_WhiteBalanceCct |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_WhiteBalanceCCT'. |
| ProResRawKey_WhiteBalanceRedFactor |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_WhiteBalanceRedFactor'. |
| ProResRawKey_WhiteLevel |
Represents the value associated with the constant 'kCVPixelBufferProResRAWKey_WhiteLevel'. |
| VersatileBayerKey_BayerPattern |
Represents the value associated with the constant 'kCVPixelBufferVersatileBayerKey_BayerPattern'. |
| Width | |
| WidthKey | |
Methods
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |
| ToCGImage(CVPixelBuffer, CGImage) | |