[−][src]Enum rav1e::prelude::TransferCharacteristics
Supported Transfer Characteristics
As defined by “Transfer characteristics” section of ISO/IEC 23091-4/ITU-TH.273.
Variants
BT.709
Unspecified, must be signaled or inferred outside of the bitstream
BT.470 System M (historical)
BT.470 System B, G (historical)
BT.601-7 525 (SMPTE 170 M)
SMPTE 240 M
Linear
Logarithmic (100:1 range)
Logarithmic ((100 * √10):1 range)
IEC 61966-2-4
BT.1361 extended color gamut system (historical)
sRGB or sYCC
BT.2020 10-bit systems
BT.2020 12-bit systems
SMPTE ST 2084, ITU BT.2100 PQ
SMPTE ST 428
BT.2100 HLG (Hybrid Log Gamma), ARIB STD-B67
Implementations
impl TransferCharacteristics
[src]
pub fn variants() -> [&'static str; 17]
[src]
Returns an array of valid values which can be converted into this enum.
Trait Implementations
impl Clone for TransferCharacteristics
[src]
pub fn clone(&self) -> TransferCharacteristics
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TransferCharacteristics
[src]
impl Debug for TransferCharacteristics
[src]
impl Default for TransferCharacteristics
[src]
impl Display for TransferCharacteristics
[src]
impl FromPrimitive for TransferCharacteristics
[src]
pub fn from_i64(n: i64) -> Option<Self>
[src]
pub fn from_u64(n: u64) -> Option<Self>
[src]
pub fn from_isize(n: isize) -> Option<Self>
[src]
pub fn from_i8(n: i8) -> Option<Self>
[src]
pub fn from_i16(n: i16) -> Option<Self>
[src]
pub fn from_i32(n: i32) -> Option<Self>
[src]
pub fn from_i128(n: i128) -> Option<Self>
[src]
pub fn from_usize(n: usize) -> Option<Self>
[src]
pub fn from_u8(n: u8) -> Option<Self>
[src]
pub fn from_u16(n: u16) -> Option<Self>
[src]
pub fn from_u32(n: u32) -> Option<Self>
[src]
pub fn from_u128(n: u128) -> Option<Self>
[src]
pub fn from_f32(n: f32) -> Option<Self>
[src]
pub fn from_f64(n: f64) -> Option<Self>
[src]
impl FromStr for TransferCharacteristics
[src]
type Err = String
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<TransferCharacteristics> for TransferCharacteristics
[src]
pub fn eq(&self, other: &TransferCharacteristics) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for TransferCharacteristics
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransferCharacteristics
[src]
impl Send for TransferCharacteristics
[src]
impl Sync for TransferCharacteristics
[src]
impl Unpin for TransferCharacteristics
[src]
impl UnwindSafe for TransferCharacteristics
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,