<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaExtension",
  "identifier" : "/documentation/MediaExtension/MERAWProcessorExtension/makeProcessor(formatDescription:pixelBufferManager:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MediaExtension"
    ],
    "preciseIdentifier" : "c:objc(pl)MERAWProcessorExtension(im)processorWithFormatDescription:extensionPixelBufferManager:error:"
  },
  "title" : "makeProcessor(formatDescription:pixelBufferManager:)"
}
-->

# makeProcessor(formatDescription:pixelBufferManager:)

A factory method to create a video RAW processor.

```
func makeProcessor(formatDescription: CMVideoFormatDescription, pixelBufferManager extensionPixelBufferManager: MERAWProcessorPixelBufferManager) throws -> any MERAWProcessor
```

## Parameters

`formatDescription`

A `CMVideoFormatDescription` describing the video data that was decoded to produce the RAW input for the video RAW processor.

`extensionPixelBufferManager`

An `MERAWProcessorPixelBufferManager` instance that should be retained by the new `MERAWProcessor` instance and used for output pixelBuffer configuration and allocation.

## Discussion

Creates a new `MERAWProcessor` matching the given `CMVideoFormatDescriptionRef`.  If these parameters are not compatible with the `MERAWProcessor`, the call should fail, returning `MEErrorUnsupportedFeature`.

---

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)