Type Alias AVAssetImageGeneratorDynamicRangePolicy

Source
pub type AVAssetImageGeneratorDynamicRangePolicy = NSString;
Available on crate feature AVAssetImageGenerator only.
Expand description

Configures the video dynamic range for the output CGImage

Default. Force standard dynamic range by converting PQ or HLG transfer functions to 709, while maintaining color primaries and matrix.

SDR movies will vend SDR CGImages matching the source color parameters. HDR movies will vend HDR CGImages matching the source color parameters. HTTP Live Streaming assets will currently vend only SDR CGImages.

See also Apple’s documentation

Aliased Type§

struct AVAssetImageGeneratorDynamicRangePolicy { /* private fields */ }