#[repr(u8)]pub enum TransferCharacteristics {
Bt709 = 1,
Unspecified = 2,
Bt470M = 4,
Bt470Bg = 5,
Smpte170M = 6,
Smpte240M = 7,
Linear = 8,
Srgb = 13,
Bt2020_10 = 14,
Bt2020_12 = 15,
Smpte2084 = 16,
Hlg = 18,
}Expand description
H.264 transfer_characteristics values (ITU-T H.264 Table E-4).
Specifies the opto-electronic transfer characteristic (gamma).
Variants§
Bt709 = 1
ITU-R BT.709-6 / ITU-R BT.1361 (HD television)
Unspecified = 2
Unspecified
Bt470M = 4
ITU-R BT.470-6 System M (2.2 gamma)
Bt470Bg = 5
ITU-R BT.470-6 System B, G (2.8 gamma)
Smpte170M = 6
SMPTE 170M / BT.601 (same curve as BT.709)
Smpte240M = 7
SMPTE 240M
Linear = 8
Linear transfer (gamma 1.0)
Srgb = 13
IEC 61966-2-1 (sRGB) - recommended for computer graphics
Bt2020_10 = 14
ITU-R BT.2020 10-bit (same curve as BT.709)
Bt2020_12 = 15
ITU-R BT.2020 12-bit (same curve as BT.709)
Smpte2084 = 16
SMPTE ST 2084 (PQ / HDR10)
Hlg = 18
ARIB STD-B67 (HLG)
Implementations§
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 Default for TransferCharacteristics
impl Default for TransferCharacteristics
Source§fn default() -> TransferCharacteristics
fn default() -> TransferCharacteristics
Returns the “default value” for a type. Read more
Source§impl Hash for TransferCharacteristics
impl Hash for TransferCharacteristics
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