Module named_transfer_fn
Expand description
Named crate::ColorSpaceTransferFn constants for common transfer functions.
Constants§
- A98_RGB
- https://www.w3.org/TR/css-color-4/#predefined-a98-rgb
- DOT22
- HLG
- Rec. ITU-R BT.2100-2 hybrid log-gamma (HLG) system, value 18.
- IEC61966_
2_ 1 - IEC 61966-2-1 sRGB, value 13.
- IEC61966_
2_ 4 - IEC 61966-2-4, value 11, same as REC709 (but is explicitly extended).
- LINEAR
- Linear, value 8
- PQ
- Rec. ITU-R BT.2100-2 perceptual quantization (PQ) system, value 16.
- PRO_
PHOTO_ RGB - https://w3.org/TR/css-color-4/#valdef-color-prophoto-rgb “The transfer curve is a gamma function with a value of 1/1.8”
- REC601
- Rec. ITU-R BT.601-7, same as kRec709, value 6.
- REC709
- Rec. ITU-R BT.709-6, value 1. This follows note 1, which reads: “In the cases
of […] TransferCharacteristics equal to 1, 6, 14 or 15 […], although the
value is defined in terms of a reference
[OETF], a suggested corresponding reference[EOTF]has been specified in Rec. ITU-R BT.1886-0.” - REC470_
SYSTEM_ BG - Rec. ITU-R BT.470-6 System B, G (historical) assumed display gamma 2.8, value 5.
- REC470_
SYSTEM_ M - Rec. ITU-R BT.470-6 System M (historical) assumed display gamma 2.2, value 4.
- REC2020_
10BIT - Rec. ITU-R BT.2020-2 (10-bit system), value 14.
- REC2020_
12BIT - Rec. ITU-R BT.2020-2 (12-bit system), value 15.
- SMPTE_
ST_ 240 - SMPTE ST 240, value 7.
- SMPTE_
ST_ 428_ 1 - SMPTE ST 428-1, value 17.
- SRGB
Type Aliases§
- CicpId
- Mapping between transfer function names and the number of the corresponding row in ITU-T H.273, table 3. As above, the constants are named based on the first specification referenced in the value’s row.