Enum CicpTransferCharacteristics
#[repr(u8)]
#[non_exhaustive]
pub enum CicpTransferCharacteristics
The transfer characteristics, expressing relation between encoded values and linear color values.
Refer to Rec H.273 Table 3.
Variants
-
Bt709 = 1 Rec. ITU-R BT.709-6 Rec. ITU-R BT.1361-0 conventional (functionally the same as the values 6, 14 and 15)
-
Unspecified = 2 Explicitly, the transfer characteristics are not determined.
-
Bt470M = 4 Rec. ITU-R BT.470-6 System M (historical) United States National Television System Committee 1953 Recommendation for transmission standards for color television United States Federal Communications Commission (2003) Title 47 Code of Federal Regulations 73.682 (a) (20) Rec. ITU-R BT.1700-0 625 PAL and 625 SECAM
Assumed gamma of 2.2
-
Bt470BG = 5 Rec. ITU-R BT.470-6 System B, G (historical)
-
Bt601 = 6 Rec. ITU-R BT.601-7 525 or 625 Rec. ITU-R BT.1358-1 525 or 625 (historical) Rec. ITU-R BT.1700-0 NTSC SMPTE ST 170 (functionally the same as the values 1, 14 and 15)
-
Smpte240m = 7 SMPTE ST 240
-
Linear = 8 Linear transfer characteristics
-
Log100 = 9 Logarithmic transfer characteristic (100:1 range)
-
LogSqrt = 10 Logarithmic transfer characteristic (100 * Sqrt( 10 ) : 1 range)
-
Iec61966_2_4 = 11 IEC 61966-2-4
-
Bt1361 = 12 Rec. ITU-R BT.1361-0 extended colour gamut system (historical)
-
SRgb = 13 IEC 61966-2-1 sRGB (with MatrixCoefficients equal to 0) IEC 61966-2-1 sYCC (with MatrixCoefficients equal to 5)
-
Bt2020_10bit = 14 Rec. ITU-R BT.2020-2 (10-bit system) (functionally the same as the values 1, 6 and 15)
-
Bt2020_12bit = 15 Rec. ITU-R BT.2020-2 (12-bit system) (functionally the same as the values 1, 6 and 14)
-
Smpte2084 = 16 SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems Rec. ITU-R BT.2100-2 perceptual quantization (PQ) system
-
Smpte428 = 17 SMPTE ST 428-1
-
Bt2100Hlg = 18 ARIB STD-B67 Rec. ITU-R BT.2100-2 hybrid log- gamma (HLG) system
Trait Implementations
impl Clone for CicpTransferCharacteristics
fn clone(&self) -> CicpTransferCharacteristics
impl Copy for CicpTransferCharacteristics
impl Debug for CicpTransferCharacteristics
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for CicpTransferCharacteristics
impl Hash for CicpTransferCharacteristics
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for CicpTransferCharacteristics
fn eq(&self, other: &CicpTransferCharacteristics) -> bool
impl StructuralPartialEq for CicpTransferCharacteristics
Auto Trait Implementations
impl Freeze for CicpTransferCharacteristics
impl RefUnwindSafe for CicpTransferCharacteristics
impl Send for CicpTransferCharacteristics
impl Sync for CicpTransferCharacteristics
impl Unpin for CicpTransferCharacteristics
impl UnsafeUnpin for CicpTransferCharacteristics
impl UnwindSafe for CicpTransferCharacteristics
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for CicpTransferCharacteristics
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for CicpTransferCharacteristics
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for CicpTransferCharacteristics
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for CicpTransferCharacteristics
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for CicpTransferCharacteristics
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for CicpTransferCharacteristics
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for CicpTransferCharacteristics
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for CicpTransferCharacteristics
impl<T> Pointable for CicpTransferCharacteristics
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> Read<Exclusive, BecauseExclusive> for CicpTransferCharacteristics
where
T: ?Sized,
impl<T> ToOwned for CicpTransferCharacteristics
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for CicpTransferCharacteristics
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for CicpTransferCharacteristics
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for CicpTransferCharacteristics
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>