Instance Property

pixelBuffer

A CoreVideo pixel buffer containing the image data to be processed.

Required.

Declaration

@property(nonatomic, readonly) CVPixelBufferRef pixelBuffer;

Discussion

Use this property if you plan to process the image using routines that can make use of memory shared with Core Video. For example, if your image processing technology uses OpenGL or OpenGL ES, you can create a GL texture from a Core Video pixel buffer with the CVOpenGLBufferPoolRef or CVOpenGLESTextureCacheRef API.

Do not modify the contents of this buffer.

See Also

Accessing Input Image Data

baseAddress

A pointer to the image data in CPU memory to be processed.

Required.

metalTexture

A Metal texture containing the image data to be processed.

Required.

surface

An IOSurface object containing the image data to be processed.

Required.