Skip to main content

Module output

Module output 

Source
Expand description

Scene-linear display output and manual exposure controls. Scene-linear display output and manual exposure controls.

Constants§

DEFAULT_HDR_EXPOSURE_EV
DEFAULT_WHITE_BALANCE_GAINS
Neutral gains for the renderer’s Rec.709 temperature/tint control.
MAX_HDR_EXPOSURE_EV
MAX_WHITE_BALANCE_EV
MIN_HDR_EXPOSURE_EV
MIN_WHITE_BALANCE_EV
SDR_OUTPUT_TRANSFORM_PBR_NEUTRAL_V1
The renderer’s first shared SDR view transform: scene-linear Rec.709 to display-linear Rec.709.

Functions§

exposure_scale_from_ev
Convert bounded exposure compensation, expressed in stops, to a linear scale.
linear_rec709_to_srgb
sRGB display encoding for linear UNORM surfaces that lack an sRGB attachment format.
pbr_neutral_v1
Map non-negative scene-linear Rec.709 through the versioned PBR Neutral SDR transform.
pbr_neutral_v1_srgb
Apply the v1 SDR output transform and encode the result for an RGBA8 sRGB capture.
pbr_neutral_v1_srgb_with_controls
Apply exposure and pre-tone-map white balance once before the versioned SDR output transform.
white_balance_gains_from_stops
Convert warm/cool and green/magenta bias in stops to diagonal Rec.709 gains.