pub struct SplitStats {
pub observed_min_log2: f32,
pub observed_max_log2: f32,
pub clipped_sdr_pixels: u32,
}Expand description
Per-row statistics. Accumulate across rows; pass into GainMapParams
metadata or use to tighten min_log2/max_log2 on a second pass.
Fields§
§observed_min_log2: f32Smallest pre-clamp log2 gain seen. Initialize to f32::INFINITY.
observed_max_log2: f32Largest pre-clamp log2 gain seen. Initialize to f32::NEG_INFINITY.
clipped_sdr_pixels: u32Pixels where any SDR channel had to be clamped to [0, 1]. These
pixels are NOT exactly invertible (HDR roundtrip will differ).
Trait Implementations§
Source§impl Clone for SplitStats
impl Clone for SplitStats
Source§fn clone(&self) -> SplitStats
fn clone(&self) -> SplitStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SplitStats
impl Debug for SplitStats
Source§impl Default for SplitStats
impl Default for SplitStats
Source§fn default() -> SplitStats
fn default() -> SplitStats
Returns the “default value” for a type. Read more
impl Copy for SplitStats
Auto Trait Implementations§
impl Freeze for SplitStats
impl RefUnwindSafe for SplitStats
impl Send for SplitStats
impl Sync for SplitStats
impl Unpin for SplitStats
impl UnsafeUnpin for SplitStats
impl UnwindSafe for SplitStats
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