libktx Reference 4.3.2
Libraries and tools to create and read KTX image texture files.
|
Data Format enums and macros. More...
Typedefs | |
typedef enum _khr_df_model_e | khr_df_model_e |
Model in which the color coordinate space is defined. There is no requirement that a color format use all the channel types that are defined in the color model. | |
typedef enum _khr_df_primaries_e | khr_df_primaries_e |
Definition of the primary colors in color coordinates. This is implicitly responsible for defining the conversion between RGB an YUV color spaces. LAB and related absolute color models should use KHR_DF_PRIMARIES_CIEXYZ. | |
typedef enum _khr_df_transfer_e | khr_df_transfer_e |
Definition of the optical to digital transfer function ("gamma correction"). Most transfer functions are not a pure power function and also include a linear element. LAB and related absolute color representations should use KHR_DF_TRANSFER_UNSPECIFIED. | |
Enumerations | |
enum | _khr_df_model_e { KHR_DF_MODEL_UNSPECIFIED = 0U , KHR_DF_MODEL_RGBSDA = 1U , KHR_DF_MODEL_YUVSDA = 2U , KHR_DF_MODEL_YIQSDA = 3U , KHR_DF_MODEL_LABSDA = 4U , KHR_DF_MODEL_CMYKA = 5U , KHR_DF_MODEL_XYZW = 6U , KHR_DF_MODEL_HSVA_ANG = 7U , KHR_DF_MODEL_HSLA_ANG = 8U , KHR_DF_MODEL_HSVA_HEX = 9U , KHR_DF_MODEL_HSLA_HEX = 10U , KHR_DF_MODEL_YCGCOA = 11U , KHR_DF_MODEL_YCCBCCRC = 12U , KHR_DF_MODEL_ICTCP = 13U , KHR_DF_MODEL_CIEXYZ = 14U , KHR_DF_MODEL_CIEXYY = 15U , KHR_DF_MODEL_DXT1A = 128U , KHR_DF_MODEL_BC1A = 128U , KHR_DF_MODEL_DXT2 = 129U , KHR_DF_MODEL_DXT3 = 129U , KHR_DF_MODEL_BC2 = 129U , KHR_DF_MODEL_DXT4 = 130U , KHR_DF_MODEL_DXT5 = 130U , KHR_DF_MODEL_BC3 = 130U , KHR_DF_MODEL_BC4 = 131U , KHR_DF_MODEL_BC5 = 132U , KHR_DF_MODEL_BC6H = 133U , KHR_DF_MODEL_BC7 = 134U , KHR_DF_MODEL_ETC1 = 160U , KHR_DF_MODEL_ETC2 = 161U , KHR_DF_MODEL_ASTC = 162U , KHR_DF_MODEL_ETC1S = 163U , KHR_DF_MODEL_PVRTC = 164U , KHR_DF_MODEL_PVRTC2 = 165U , KHR_DF_MODEL_UASTC = 166U , KHR_DF_MODEL_MAX = 0xFFU } |
Model in which the color coordinate space is defined. There is no requirement that a color format use all the channel types that are defined in the color model. More... | |
enum | _khr_df_primaries_e { KHR_DF_PRIMARIES_UNSPECIFIED = 0U , KHR_DF_PRIMARIES_BT709 = 1U , KHR_DF_PRIMARIES_SRGB = 1U , KHR_DF_PRIMARIES_BT601_EBU = 2U , KHR_DF_PRIMARIES_BT601_SMPTE = 3U , KHR_DF_PRIMARIES_BT2020 = 4U , KHR_DF_PRIMARIES_CIEXYZ = 5U , KHR_DF_PRIMARIES_ACES = 6U , KHR_DF_PRIMARIES_ACESCC = 7U , KHR_DF_PRIMARIES_NTSC1953 = 8U , KHR_DF_PRIMARIES_PAL525 = 9U , KHR_DF_PRIMARIES_DISPLAYP3 = 10U , KHR_DF_PRIMARIES_ADOBERGB = 11U , KHR_DF_PRIMARIES_MAX = 0xFFU } |
Definition of the primary colors in color coordinates. This is implicitly responsible for defining the conversion between RGB an YUV color spaces. LAB and related absolute color models should use KHR_DF_PRIMARIES_CIEXYZ. More... | |
enum | _khr_df_transfer_e { KHR_DF_TRANSFER_UNSPECIFIED = 0U , KHR_DF_TRANSFER_LINEAR = 1U , KHR_DF_TRANSFER_SRGB = 2U , KHR_DF_TRANSFER_ITU = 3U , KHR_DF_TRANSFER_SMTPE170M = 3U , KHR_DF_TRANSFER_NTSC = 4U , KHR_DF_TRANSFER_SLOG = 5U , KHR_DF_TRANSFER_SLOG2 = 6U , KHR_DF_TRANSFER_BT1886 = 7U , KHR_DF_TRANSFER_HLG_OETF = 8U , KHR_DF_TRANSFER_HLG_EOTF = 9U , KHR_DF_TRANSFER_PQ_EOTF = 10U , KHR_DF_TRANSFER_PQ_OETF = 11U , KHR_DF_TRANSFER_DCIP3 = 12U , KHR_DF_TRANSFER_PAL_OETF = 13U , KHR_DF_TRANSFER_PAL625_EOTF = 14U , KHR_DF_TRANSFER_ST240 = 15U , KHR_DF_TRANSFER_ACESCC = 16U , KHR_DF_TRANSFER_ACESCCT = 17U , KHR_DF_TRANSFER_ADOBERGB = 18U , KHR_DF_TRANSFER_MAX = 0xFFU } |
Definition of the optical to digital transfer function ("gamma correction"). Most transfer functions are not a pure power function and also include a linear element. LAB and related absolute color representations should use KHR_DF_TRANSFER_UNSPECIFIED. More... | |
Data Format enums and macros.
enum _khr_df_model_e |
Model in which the color coordinate space is defined. There is no requirement that a color format use all the channel types that are defined in the color model.
enum _khr_df_primaries_e |
Definition of the primary colors in color coordinates. This is implicitly responsible for defining the conversion between RGB an YUV color spaces. LAB and related absolute color models should use KHR_DF_PRIMARIES_CIEXYZ.
enum _khr_df_transfer_e |
Definition of the optical to digital transfer function ("gamma correction"). Most transfer functions are not a pure power function and also include a linear element. LAB and related absolute color representations should use KHR_DF_TRANSFER_UNSPECIFIED.