Contents

Pixel Buffer Attribute Keys

The attributes associated with a pixel buffer.

Overview

Use the pixel buffer attribute keys to tell Core Video how to allocate pixel buffers for compatibility with client requirements. A pixel buffer attributes dictionary is a Core Foundation dictionary that contains zero or more key-value pairs. You can pass this dictionary to functions such as CVPixelBufferCreate(_:_:_:_:_:_:) and CVPixelBufferPoolCreate(_:_:_:_:).

To create an attributes dictionary that’s compatible for multiple clients, pass an array of each client’s attributes dictionary to CVPixelBufferCreateResolvedAttributesDictionary(_:_:_:).

Topics

Constants