Krita Source Code Documentation
Loading...
Searching...
No Matches
KoColorProfileConstants.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KOCOLORPROFILECONSTANTS_H
8#define KOCOLORPROFILECONSTANTS_H
9
10
19 //0 is reserved
20 PRIMARIES_ITU_R_BT_709_5 = 1, // sRGB, rec 709
22 //3 is reserved
26 PRIMARIES_SMPTE_240M, // Old HDTv standard.
27 PRIMARIES_GENERIC_FILM, // H.273 says 'color filters using illuminant C'
30 PRIMARIES_SMPTE_RP_431_2, //DCI P3, or Digital Cinema Projector
32 // 13-21 are reserved.
34 // 23-255 are reserved by ITU/ISO
37};
38
47 // 0 is reserved.
48 TRC_ITU_R_BT_709_5 = 1, //Different from sRGB, officially HDTV
49 TRC_UNSPECIFIED, // According to H.273: Image characteristics are unknown or are determined by the application.
50 // 3 is reserved.
51 TRC_ITU_R_BT_470_6_SYSTEM_M = 4, //Assumed gamma 2.2
52 TRC_ITU_R_BT_470_6_SYSTEM_B_G, // Assume gamma 2.8
58 TRC_IEC_61966_2_4, //xvYCC, not to be confused with sRGB and scRGB.
59 TRC_ITU_R_BT_1361, // H.273: "Extended color gamut system (historical)"
60 TRC_IEC_61966_2_1, //sRGB, different from rec709
61 TRC_ITU_R_BT_2020_2_10bit, //formally, rec 709, can also be gamma 2.4 UHDTV
62 TRC_ITU_R_BT_2020_2_12bit, //formally, a precise version of rec 709. UHDTV
63 TRC_ITU_R_BT_2100_0_PQ, //Perceptual Quantizer, cannot be represented in icc 4, also named SMPTE 2048 curve, HDR
64 TRC_SMPTE_ST_428_1, //O = (48 * I / 52.37) ^ (1 / 2.6), cannot be represented in icc 4
65 TRC_ITU_R_BT_2100_0_HLG, //Hybrid Log Gamma, cannot be represented in icc 4, HDR
66 // 19-255 are reserved by ITU/ISO
67 TRC_GAMMA_1_8 = 256, //Gamma 1.8
68 TRC_GAMMA_2_4, //Gamma 2.4
69 TRC_PROPHOTO, //Gamma 1.8 unless under 16/512
70 TRC_A98, // Gamma of 256/563
71 TRC_LAB_L // L* transfer curve
72};
73
74#endif // KOCOLORPROFILECONSTANTS_H
75
ColorPrimaries
The colorPrimaries enum Enum of colorants, follows ITU H.273 for values 0 to 255, and has extra known...
@ PRIMARIES_ITU_R_BT_2020_2_AND_2100_0
@ PRIMARIES_ITU_R_BT_470_6_SYSTEM_M
@ PRIMARIES_EBU_Tech_3213_E
@ PRIMARIES_UNSPECIFIED
@ PRIMARIES_ITU_R_BT_470_6_SYSTEM_B_G
@ PRIMARIES_SMPTE_240M
@ PRIMARIES_ITU_R_BT_601_6
@ PRIMARIES_SMPTE_RP_431_2
@ PRIMARIES_PROPHOTO
@ PRIMARIES_ADOBE_RGB_1998
@ PRIMARIES_GENERIC_FILM
@ PRIMARIES_SMPTE_EG_432_1
@ PRIMARIES_ITU_R_BT_709_5
@ PRIMARIES_SMPTE_ST_428_1
TransferCharacteristics
The transferCharacteristics enum Enum of transfer characteristics, follows ITU H.273 for values 0 to ...
@ TRC_IEC_61966_2_4
@ TRC_ITU_R_BT_2020_2_10bit
@ TRC_LOGARITHMIC_100
@ TRC_ITU_R_BT_470_6_SYSTEM_M
@ TRC_ITU_R_BT_470_6_SYSTEM_B_G
@ TRC_ITU_R_BT_1361
@ TRC_ITU_R_BT_2100_0_HLG
@ TRC_ITU_R_BT_2100_0_PQ
@ TRC_ITU_R_BT_601_6
@ TRC_IEC_61966_2_1
@ TRC_ITU_R_BT_709_5
@ TRC_SMPTE_ST_428_1
@ TRC_LOGARITHMIC_100_sqrt10
@ TRC_ITU_R_BT_2020_2_12bit