---
title: kVTDecodeFrameOptionKey_ContentAnalyzerRotation
framework: videotoolbox
role: symbol
role_heading: Global Variable
path: videotoolbox/kvtdecodeframeoptionkey_contentanalyzerrotation
---

# kVTDecodeFrameOptionKey_ContentAnalyzerRotation

## Declaration

```swift
let kVTDecodeFrameOptionKey_ContentAnalyzerRotation: CFString
```

## Discussion

Discussion Clockwise rotation (one of 0, 90, 180, 270) to be applied for proper display orientation. This value is used for content analysis to properly orient the image before analysis. The value should be a CFNumber with values of 0, 90, 180, or 270, representing degrees of clockwise rotation. This key is not used unless you have attached a SCVideoStreamAnalyzer to the decompression session.

## See Also

### Per-Frame Decoder Options

- [kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle](videotoolbox/kvtdecodeframeoptionkey_contentanalyzercroprectangle.md)
