#[repr(transparent)]pub struct AVCaptureColorSpace(pub NSInteger);AVCaptureDevice only.Expand description
Constants indicating active or supported video color space.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVCaptureColorSpace
impl AVCaptureColorSpace
Sourcepub const P3_D65: Self
pub const P3_D65: Self
The P3 D65 wide color space which uses Illuminant D65 as the white point.
Sourcepub const HLG_BT2020: Self
pub const HLG_BT2020: Self
The BT2020 wide color space which uses Illuminant D65 as the white point and Hybrid Log-Gamma as the transfer function.
Sourcepub const AppleLog: Self
pub const AppleLog: Self
The Apple Log Color space, which uses BT2020 as the color primaries, and an Apple defined Log curve as a transfer function. When you set this as the active color space on an AVCaptureDevice, any AVCapturePhotoOutput or AVCaptureStillImageOutput connected to the same AVCaptureDevice is made inactive (its AVCaptureConnection/active property returns false).
Sourcepub const AppleLog2: Self
pub const AppleLog2: Self
The Apple Log 2 Color space, which uses Apple Gamut as the color primaries, and an Apple defined Log curve as a transfer function. When you set this as the active color space on an AVCaptureDevice, any AVCapturePhotoOutput or AVCaptureStillImageOutput connected to the same AVCaptureDevice is made inactive (its AVCaptureConnection/active property returns false).
Trait Implementations§
Source§impl Clone for AVCaptureColorSpace
impl Clone for AVCaptureColorSpace
Source§fn clone(&self) -> AVCaptureColorSpace
fn clone(&self) -> AVCaptureColorSpace
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more