pub struct ColorMapTuning {
pub contrast_recovery: f32,
pub perceptual_strength: f32,
pub perceptual_deadzone: f32,
}Expand description
Tuning for libplacebo’s tone and gamut mapping (pl_color_map_params). The defaults are the
prototype’s (libavfilter libplacebo with its defaults).
Fields§
§contrast_recovery: f32HDR contrast recovery strength, 0 = off.
perceptual_strength: f32How strongly perceptual gamut mapping desaturates in-gamut colours near the boundary.
perceptual_deadzone: f32Fraction of the gamut perceptual leaves untouched.
Trait Implementations§
Source§impl Clone for ColorMapTuning
impl Clone for ColorMapTuning
impl Copy for ColorMapTuning
Source§impl Debug for ColorMapTuning
impl Debug for ColorMapTuning
Source§impl Default for ColorMapTuning
impl Default for ColorMapTuning
Source§impl PartialEq for ColorMapTuning
impl PartialEq for ColorMapTuning
impl StructuralPartialEq for ColorMapTuning
Auto Trait Implementations§
impl Forget for ColorMapTuning
impl Freeze for ColorMapTuning
impl RefUnwindSafe for ColorMapTuning
impl Send for ColorMapTuning
impl Sync for ColorMapTuning
impl Unpin for ColorMapTuning
impl UnsafeUnpin for ColorMapTuning
impl UnwindSafe for ColorMapTuning
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