<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTRAWProcessingSessionCreate",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@F@VTRAWProcessingSessionCreate"
  },
  "title" : "VTRAWProcessingSessionCreate"
}
-->

# VTRAWProcessingSessionCreate

Creates a RAW video frame processing session.

```
extern OSStatus VTRAWProcessingSessionCreate(CFAllocatorRef allocator, CMVideoFormatDescriptionRef formatDescription, CFDictionaryRef outputPixelBufferAttributes, CFDictionaryRef processingSessionOptions, VTRAWProcessingSessionRef*processingSessionOut);
```

## Parameters

`allocator`

An allocator for the session. Pass `NULL` to use the default allocator.

`formatDescription`

The <doc://com.apple.documentation/documentation/CoreMedia/CMVideoFormatDescription> corresponding to the original media samples, containing sequence-level processing parameters.

`outputPixelBufferAttributes`

A CoreVideo pixel buffer attributes dictionary describing the client’s requirements for pixel buffers for output frames. Pass `NULL` to receive the RAW processor’s native output format.

`processingSessionOptions`

A dictionary of creation-time options for the [VTRAWProcessingSession](/documentation/VideoToolbox/VTRAWProcessingSession-api-collection).

`processingSessionOut`

Points to a variable to receive the new RAW processing session. When you are done with the session, call [`VTRAWProcessingSessionInvalidate`](/documentation/VideoToolbox/VTRAWProcessingSessionInvalidate) to tear it down and then `CFRelease` to release your object reference.

---

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)