Expand description
Streaming HDR content-light-level (MaxCLL / MaxFALL) measurement in O(1) row memory.
Operates directly over any PixelSource (PixelView, PixelBuf, BandedBuf)
using a stack-resident 64-pixel tile — zero full-image F32 temporary buffer.
Structs§
- Light
Level Histogram - 1024-bin log2 histogram of per-pixel luminance in cd/m² over
[0.005, 10_000]nits, tracking exact zero / non-positive counts separately from positive sub-bin samples.
Enums§
- Light
Level Method - Per-pixel reduction method for content-light-level measurement.
Functions§
- measure_
content_ light_ level - Measure
ContentLightLevel(literal MaxCLL + MaxFALL) over anyPixelSourcein O(1) row memory. - measure_
content_ light_ level_ with_ pulse - Measure
ContentLightLevel(literal MaxCLL + MaxFALL) over anyPixelSourcewith optional cooperative cancellation and row progress viapulse(passNonewhen not needed). - measure_
histogram - Measure a full
LightLevelHistogramover anyPixelSourcein O(1) row scratch memory. - measure_
histogram_ with_ pulse - Measure a full
LightLevelHistogramover anyPixelSourcein O(1) row scratch memory with optional cooperative cancellation and row progress viapulse(passNonewhen not needed). - measure_
max_ smoothed - Measure defect-tolerant
ContentLightLevelusing a 3-tap horizontal mirror-padded box filter on per-pixel light levels ((m[i-1] + m[i] + m[i+1]) / 3) in O(1) row memory. - measure_
max_ smoothed_ with_ pulse - Measure defect-tolerant
ContentLightLevelusing a 3-tap horizontal mirror-padded box filter with optional cooperative cancellation and row progress viapulse(passNonewhen not needed). - measure_
peak - Fast zero-histogram streaming max-luminance peak scan in cd/m² (O(1) row scratch).
- measure_
peak_ with_ pulse - Fast zero-histogram streaming max-luminance peak scan in cd/m² with optional cooperative
cancellation and row progress via
pulse(passNonewhen not needed).