Expand description
Type-safe row-level (RowPlan) and image-level (ImagePlan) conversion plans.
RowPlan::buildacceptshdr_peak: Option<Nits>— a compile-time known peak luminance. PassingPeakSource::Measuredto a single-row converter is impossible at compile time. Executing aRowPlanallocates zero heap scratch (uses a 1 KiB stack 64-pixel SoA tile).ImagePlan::buildacceptspeak: PeakSource(Measured,Declared, orFixed(Nits)), streams HDR peak measurement in O(1) row memory, runs uniformly over anyPixelSource→PixelSink(PixelView,PixelBuf,BandedBuf), caches invariant row plans, and propagates provenSampleClaims.
Structs§
- Image
Plan - Whole-image conversion plan supporting streaming HDR peak measurement
(
PeakSource::Measured), container metadata peaks (PeakSource::Declared), and uniform execution acrossPixelView,PixelBuf, andBandedBuf. - RowPlan
- Compiled, reusable, thread-safe single-row pixel converter.
Traits§
- Pixel
Convert Ext - Ergonomic one-shot conversion methods directly on any
PixelSource(PixelBuf,PixelView,BandedBuf, ordyn PixelSource).