pub enum ToneMap {
Hable,
Reinhard,
Mobius,
}Expand description
Tone-mapping algorithm for HDR-to-SDR conversion.
Used with FilterGraphBuilder::tone_map.
§Choosing an algorithm
Variants§
Hable
Hable (Uncharted 2) filmic tone mapping.
Produces a warm, cinematic look with compressed shadows and highlights. The most commonly used algorithm for film and narrative video content.
Reinhard
Reinhard tone mapping.
A simple, globally uniform operator. Fast and neutral; a safe default when color-accurate reproduction matters more than filmic aesthetics.
Mobius
Mobius tone mapping.
A smooth, shoulder-based curve that preserves mid-tones while gently rolling off bright highlights. Well suited for outdoor and HDR10 content.
Implementations§
Trait Implementations§
impl Copy for ToneMap
impl Eq for ToneMap
impl StructuralPartialEq for ToneMap
Auto Trait Implementations§
impl Freeze for ToneMap
impl RefUnwindSafe for ToneMap
impl Send for ToneMap
impl Sync for ToneMap
impl Unpin for ToneMap
impl UnsafeUnpin for ToneMap
impl UnwindSafe for ToneMap
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