<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaExtension",
  "identifier" : "/documentation/MediaExtension/MERAWProcessorExtension",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "MediaExtension"
    ],
    "preciseIdentifier" : "c:objc(pl)MERAWProcessorExtension"
  },
  "title" : "MERAWProcessorExtension"
}
-->

# MERAWProcessorExtension

A protocol that defines a factory to create RAW processors for a codec type that the extension implements.

```
protocol MERAWProcessorExtension : NSObjectProtocol
```

## Discussion

This protocol provides a factory method to create a new [`MERAWProcessor`](/documentation/MediaExtension/MERAWProcessor) instance for a codecType implemented by the extension. The Video Toolbox instantiates a single [`MERAWProcessorExtension`](/documentation/MediaExtension/MERAWProcessorExtension), and creates individual [`MERAWProcessor`](/documentation/MediaExtension/MERAWProcessor) instances as needed. If the `CMVideoFormatDescription` passed to [`makeProcessor(formatDescription:pixelBufferManager:)`](/documentation/MediaExtension/MERAWProcessorExtension/makeProcessor(formatDescription:pixelBufferManager:)) is not compatible with the [`MERAWProcessor`](/documentation/MediaExtension/MERAWProcessor) implementation, the factory call should fail and return [`MEError.Code.unsupportedFeature`](/documentation/MediaExtension/MEError-swift.struct/Code/unsupportedFeature).

## Topics

### Creating an extension

[`-  init`](/documentation/MediaExtension/MERAWProcessorExtension/init())

Creates a video RAW processor factory.

### Creating a RAW processor

[`-  processorWithFormatDescription:extensionPixelBufferManager:error:`](/documentation/MediaExtension/MERAWProcessorExtension/makeProcessor(formatDescription:pixelBufferManager:))

A factory method to create a video RAW processor.

## Relationships

### Inherits From

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

---

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)