<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/kVTDecompressionPropertyKey_GeneratePerFrameHDRDisplayMetadata",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@kVTDecompressionPropertyKey_GeneratePerFrameHDRDisplayMetadata"
  },
  "title" : "kVTDecompressionPropertyKey_GeneratePerFrameHDRDisplayMetadata"
}
-->

# kVTDecompressionPropertyKey_GeneratePerFrameHDRDisplayMetadata

A key that indicates to generate per frame HDR Metadata and attach it to the resulting decoded pixel buffers.

```
let kVTDecompressionPropertyKey_GeneratePerFrameHDRDisplayMetadata: CFString
```

## Discussion

If the color space and YCbCr matrix match a supported HDR format such as HLG (<doc://com.apple.documentation/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_ITU_R_2100_HLG>) the system analyzes the decoded frame and adds the metadata as an attachment to the pixel buffers.

---

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)