#[non_exhaustive]#[repr(u32)]pub enum Dav1dTransferCharacteristics {
Show 18 variants
DAV1D_TRC_BT709 = 1,
DAV1D_TRC_UNKNOWN = 2,
DAV1D_TRC_BT470M = 4,
DAV1D_TRC_BT470BG = 5,
DAV1D_TRC_BT601 = 6,
DAV1D_TRC_SMPTE240 = 7,
DAV1D_TRC_LINEAR = 8,
DAV1D_TRC_LOG100 = 9,
DAV1D_TRC_LOG100_SQRT10 = 10,
DAV1D_TRC_IEC61966 = 11,
DAV1D_TRC_BT1361 = 12,
DAV1D_TRC_SRGB = 13,
DAV1D_TRC_BT2020_10BIT = 14,
DAV1D_TRC_BT2020_12BIT = 15,
DAV1D_TRC_SMPTE2084 = 16,
DAV1D_TRC_SMPTE428 = 17,
DAV1D_TRC_HLG = 18,
DAV1D_TRC_RESERVED = 255,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DAV1D_TRC_BT709 = 1
DAV1D_TRC_UNKNOWN = 2
DAV1D_TRC_BT470M = 4
DAV1D_TRC_BT470BG = 5
DAV1D_TRC_BT601 = 6
DAV1D_TRC_SMPTE240 = 7
DAV1D_TRC_LINEAR = 8
DAV1D_TRC_LOG100 = 9
< logarithmic (100:1 range)
DAV1D_TRC_LOG100_SQRT10 = 10
< lograithmic (100*sqrt(10):1 range)
DAV1D_TRC_IEC61966 = 11
DAV1D_TRC_BT1361 = 12
DAV1D_TRC_SRGB = 13
DAV1D_TRC_BT2020_10BIT = 14
DAV1D_TRC_BT2020_12BIT = 15
DAV1D_TRC_SMPTE2084 = 16
< PQ
DAV1D_TRC_SMPTE428 = 17
DAV1D_TRC_HLG = 18
< hybrid log/gamma (BT.2100 / ARIB STD-B67)
DAV1D_TRC_RESERVED = 255
Trait Implementations§
source§impl Clone for Dav1dTransferCharacteristics
impl Clone for Dav1dTransferCharacteristics
source§fn clone(&self) -> Dav1dTransferCharacteristics
fn clone(&self) -> Dav1dTransferCharacteristics
Returns a copy 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 Dav1dTransferCharacteristics
impl Debug for Dav1dTransferCharacteristics
source§impl Hash for Dav1dTransferCharacteristics
impl Hash for Dav1dTransferCharacteristics
source§impl PartialEq for Dav1dTransferCharacteristics
impl PartialEq for Dav1dTransferCharacteristics
source§fn eq(&self, other: &Dav1dTransferCharacteristics) -> bool
fn eq(&self, other: &Dav1dTransferCharacteristics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Dav1dTransferCharacteristics
impl Eq for Dav1dTransferCharacteristics
impl StructuralPartialEq for Dav1dTransferCharacteristics
Auto Trait Implementations§
impl Freeze for Dav1dTransferCharacteristics
impl RefUnwindSafe for Dav1dTransferCharacteristics
impl Send for Dav1dTransferCharacteristics
impl Sync for Dav1dTransferCharacteristics
impl Unpin for Dav1dTransferCharacteristics
impl UnwindSafe for Dav1dTransferCharacteristics
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)