---
title: "makeProcessor(formatDescription:pixelBufferManager:)"
framework: MediaExtension
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "mediaextension/merawprocessorextension/makeprocessor(formatdescription:pixelbuffermanager:)"
---

# makeProcessor(formatDescription:pixelBufferManager:)

A factory method to create a video RAW processor.

## Declaration

```swift
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

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