<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaExtension",
  "identifier" : "/documentation/MediaExtension/MEVideoDecoderPixelBufferManager",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MediaExtension"
    ],
    "preciseIdentifier" : "c:objc(cs)MEVideoDecoderPixelBufferManager"
  },
  "title" : "MEVideoDecoderPixelBufferManager"
}
-->

# MEVideoDecoderPixelBufferManager

Describes pixel buffer requirements and creates new pixel buffers.

```
class MEVideoDecoderPixelBufferManager
```

## Discussion

Contains the interfaces that the [`MEVideoDecoder`](/documentation/MediaExtension/MEVideoDecoder) uses for two tasks. First, to declare its set of requirements for output `CVPixelBuffer` objects in the form of a [`pixelBufferAttributes`](/documentation/MediaExtension/MEVideoDecoderPixelBufferManager/pixelBufferAttributes) dictionary. Second, to create pixel buffers that match decoder output requirements but also satisfy <doc://com.apple.documentation/documentation/VideoToolbox> and client requirements.

## Topics

### Creating a pixel buffer

[`pixelBufferAttributes`](/documentation/MediaExtension/MEVideoDecoderPixelBufferManager/pixelBufferAttributes)

A dictionary that contains the attributes Video Toolbox uses to create a pixel buffer for the decoder.

[`-  createPixelBufferAndReturnError:`](/documentation/MediaExtension/MEVideoDecoderPixelBufferManager/makePixelBuffer())

Generates a pixel buffer using the session’s pixel buffer pool.

### Registering Custom Pixel Formats

[`-  registerCustomPixelFormat:`](/documentation/MediaExtension/MEVideoDecoderPixelBufferManager/registerCustomPixelFormat(_:))

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)