Skip to main content

Module policy

Module policy 

Source
Expand description

Single cohesive conversion policy (ConvertPolicy) governing depth, alpha, gamut, signal range, HDR white anchor, HLG rendering, tone mapping, CMS, and SIMD.

Structs§

ConvertPolicy
Cohesive conversion policy controlling precision, alpha, gamut, signal range, HDR anchors, tone mapping, CMS fallback, and SIMD acceleration.

Enums§

AlphaPolicy
Policy when destination drops an alpha channel (RGBA → RGB, GrayA → Gray).
DepthPolicy
Policy when destination has lower numeric precision than source (e.g. F32 → U8, U16 → U8).
GamutPolicy
Policy when converting from a wider gamut or HDR range into a narrower or bounded destination.
LumaCoefficients
Luminance weights used when converting RGB → Gray.
LumaDomain
Domain in which RGB → Gray luminance weights are evaluated.
RangePolicy
Policy when source and destination disagree on SignalRange (Full ↔ Narrow).