pub enum DynamicRange {
Sdr,
Hdr,
}Expand description
Whether a signal is standard or high dynamic range. It follows the
transfer: hdr exactly when the transfer is PQ or HLG, and a color
whose two fields disagree is refused.
Variants§
Sdr
Standard dynamic range: a BT.709 or sRGB transfer.
Hdr
High dynamic range: a PQ or HLG transfer, which a project tone-maps into the SDR working space or refuses, as its color pipeline says.
Trait Implementations§
Source§impl Clone for DynamicRange
impl Clone for DynamicRange
impl Copy for DynamicRange
Source§impl Debug for DynamicRange
impl Debug for DynamicRange
Source§impl<'de> Deserialize<'de> for DynamicRange
impl<'de> Deserialize<'de> for DynamicRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DynamicRange
Source§impl PartialEq for DynamicRange
impl PartialEq for DynamicRange
Source§impl Serialize for DynamicRange
impl Serialize for DynamicRange
impl StructuralPartialEq for DynamicRange
Auto Trait Implementations§
impl Freeze for DynamicRange
impl RefUnwindSafe for DynamicRange
impl Send for DynamicRange
impl Sync for DynamicRange
impl Unpin for DynamicRange
impl UnsafeUnpin for DynamicRange
impl UnwindSafe for DynamicRange
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