#[repr(u8)]pub enum TransferCharacteristics {
Show 18 variants
Reserved = 0,
BT709 = 1,
Unspecified = 2,
BT470M = 4,
BT470BG = 5,
BT601 = 6,
SMPTE240 = 7,
Linear = 8,
Log100 = 9,
Log100Sqrt10 = 10,
IEC61966 = 11,
BT1361 = 12,
SRGB = 13,
BT2020_10bit = 14,
BT2020_12bit = 15,
SMPTE2084 = 16,
SMPTE428 = 17,
HLG = 18,
}Expand description
Transfer characteristics (EOTF / gamma curve)
Variants§
Reserved = 0
BT709 = 1
Unspecified = 2
BT470M = 4
BT470BG = 5
BT601 = 6
SMPTE240 = 7
Linear = 8
Log100 = 9
Log100Sqrt10 = 10
IEC61966 = 11
BT1361 = 12
SRGB = 13
BT2020_10bit = 14
BT2020_12bit = 15
SMPTE2084 = 16
SMPTE 2084 - Perceptual Quantizer for HDR10
SMPTE428 = 17
HLG = 18
Hybrid Log-Gamma for HLG HDR
Trait Implementations§
Source§impl Clone for TransferCharacteristics
impl Clone for TransferCharacteristics
Source§fn clone(&self) -> TransferCharacteristics
fn clone(&self) -> TransferCharacteristics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransferCharacteristics
impl Debug for TransferCharacteristics
Source§impl From<Rav1dTransferCharacteristics> for TransferCharacteristics
impl From<Rav1dTransferCharacteristics> for TransferCharacteristics
Source§fn from(trc: Rav1dTransferCharacteristics) -> Self
fn from(trc: Rav1dTransferCharacteristics) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransferCharacteristics
impl PartialEq for TransferCharacteristics
impl Copy for TransferCharacteristics
impl Eq for TransferCharacteristics
impl StructuralPartialEq for TransferCharacteristics
Auto Trait Implementations§
impl Freeze for TransferCharacteristics
impl RefUnwindSafe for TransferCharacteristics
impl Send for TransferCharacteristics
impl Sync for TransferCharacteristics
impl Unpin for TransferCharacteristics
impl UnsafeUnpin for TransferCharacteristics
impl UnwindSafe for TransferCharacteristics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more