Skip to main content

hdr_to_working

Function hdr_to_working 

Source
pub fn hdr_to_working(
    encoded: [f32; 3],
    transfer: TransferFunction,
    primaries: ColorPrimaries,
    tone: HdrToneMap,
) -> [f32; 3]
Expand description

Linear working-space RGB, 1.0 at SDR white, of an HDR pixel’s nonlinear components in its own primaries.