Contents

kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle

Declaration

let kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle: CFString

Discussion

CGRect within the image to be used for content analysis, cropped before applying rotation.

This value specifies a rectangle within the original frame that should be used for content analysis. The cropping is applied before any rotation specified by kVTDecodeFrameOptionKey_ContentAnalyzerRotation. The value should be a CFDictionary representing a CGRect created using CGRectCreateDictionaryRepresentation(). This key is not used unless you have attached a SCVideoStreamAnalyzer to the decompression session.

See Also

Per-Frame Decoder Options