|
aest 0.1.0
Collection of C++ utility libraries
|
The Hybrid Log-Gamma OETF of ITU-R BT.2100 and ARIB STD-B67, the relative HDR transfer function of broadcast. More...
Static Public Member Functions | |
| static float | encode (const float value) |
| Encodes linear light into an HLG signal with the OETF. | |
| static float | decode (const float value) |
| Decodes an HLG signal to linear light with the inverse OETF. | |
| static constexpr float | clamp (const float value) |
| Brings a signal value into the encoded range. | |
Static Public Attributes | |
| static constexpr std::string_view | PREFIX = "HLG" |
| Prefix of the color space name. | |
| static constexpr bool | IS_HDR = true |
| HLG is an HDR signal. | |
The Hybrid Log-Gamma OETF of ITU-R BT.2100 and ARIB STD-B67, the relative HDR transfer function of broadcast.
Linear 1.0 encodes to 75%, the BT.2408 reference white, so the signal 1.0 is linear 3.77. Only the OETF and its inverse are applied: the linear values are scene light, and no OOTF maps them to the light of a display with a given peak. Channels are clamped to the 0-1 range.
Definition at line 330 of file Transfer.cppm.
|
inlinestaticconstexpr |
Brings a signal value into the encoded range.
| [in] | value | The signal value |
value clamped to the 0-1 range Definition at line 370 of file Transfer.cppm.
|
inlinestatic |
Decodes an HLG signal to linear light with the inverse OETF.
| [in] | value | The HLG signal in the 0-1 range |
Definition at line 357 of file Transfer.cppm.
|
inlinestatic |
Encodes linear light into an HLG signal with the OETF.
| [in] | value | The linear value, 0 or greater, 1 being reference white |
Definition at line 344 of file Transfer.cppm.
|
staticconstexpr |
HLG is an HDR signal.
Definition at line 336 of file Transfer.cppm.
|
staticconstexpr |
Prefix of the color space name.
Definition at line 333 of file Transfer.cppm.