VideoFormat
public protocol VideoFormat
Video format information.
-
Video format description
Declaration
Swift
var format: VideoFormatDescriptor { get }
-
Video frame resolution (in pixels)
Declaration
Swift
var resolution: VideoFormatResolution { get }
-
Video framerate
Declaration
Swift
var framerate: VideoFormatFramerate { get }
-
Bit depth
Declaration
Swift
var bitDepth: UInt32 { get }
-
true
for full color range, otherwisefalse
Declaration
Swift
var fullColorRange: Bool { get }
-
Color primaries, or
nil
if not availableDeclaration
Swift
var colorPrimaries: VideoFormatColorPrimaries? { get }
-
Transfer function, or
nil
if not availableDeclaration
Swift
var transferFunction: VideoFormatTransferFunction? { get }
-
Matrix coefficients, or
nil
if not availableDeclaration
Swift
var matrixCoefficients: VideoFormatMatrixCoefficients? { get }
-
Dynamic range, or
nil
if not availableDeclaration
Swift
var dynamicRange: VideoFormatDynamicRange? { get }
-
Tone mapping, or
nil
if not availableDeclaration
Swift
var toneMapping: VideoFormatToneMapping? { get }
-
Sample aspect ratio
Declaration
Swift
var sampleAspectRatio: VideoFormatAspectRatio { get }
-
Mastering display color volume, or
nil
if not availableDeclaration
Swift
var masteringDisplayColorVolume: VideoFormatMasteringDisplayColorVolume? { get }
-
Content light level, or
nil
if not availableDeclaration
Swift
var contentLightLevel: VideoFormatContentLightLevel? { get }