pub struct Rec709;Expand description
Rec. ITU-R BT.709-6 transfer function.
Same primaries as sRGB with a different curve, using a slope of 4.5 and an effective gamma of approximately 2.222. Used for HD broadcast. Visually close to sRGB but not interchangeable in precision workflows.
Implementations§
Source§impl Rec709
impl Rec709
Sourcepub const LINEAR_SLOPE: f32 = 4.5
pub const LINEAR_SLOPE: f32 = 4.5
Slope of the linear toe.
Sourcepub const LINEAR_THRESHOLD: f32 = 0.018053968510807
pub const LINEAR_THRESHOLD: f32 = 0.018053968510807
Linear light value at which the curve transitions to the power-law segment.
Sourcepub const ENCODED_THRESHOLD: f32 = 0.081242858298635
pub const ENCODED_THRESHOLD: f32 = 0.081242858298635
Encoded signal value at which the curve transitions to the power-law segment.
Trait Implementations§
impl Copy for Rec709
impl Eq for Rec709
impl StructuralPartialEq for Rec709
impl TransferFunction for Rec709
Auto Trait Implementations§
impl Freeze for Rec709
impl RefUnwindSafe for Rec709
impl Send for Rec709
impl Sync for Rec709
impl Unpin for Rec709
impl UnsafeUnpin for Rec709
impl UnwindSafe for Rec709
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