Skia
2D Graphics Library
SkNamedGamut Namespace Reference

Variables

static constexpr skcms_Matrix3x3 kSRGB
 
static constexpr skcms_Matrix3x3 kAdobeRGB
 
static constexpr skcms_Matrix3x3 kDisplayP3
 
static constexpr skcms_Matrix3x3 kRec2020
 
static constexpr skcms_Matrix3x3 kXYZ
 

Variable Documentation

◆ kAdobeRGB

constexpr skcms_Matrix3x3 SkNamedGamut::kAdobeRGB
staticconstexpr
Initial value:
= {{
{ SkFixedToFloat(0x9c18), SkFixedToFloat(0x348d), SkFixedToFloat(0x2631) },
{ SkFixedToFloat(0x4fa5), SkFixedToFloat(0xa02c), SkFixedToFloat(0x102f) },
{ SkFixedToFloat(0x04fc), SkFixedToFloat(0x0f95), SkFixedToFloat(0xbe9c) },
}}

◆ kDisplayP3

constexpr skcms_Matrix3x3 SkNamedGamut::kDisplayP3
staticconstexpr
Initial value:
= {{
{ 0.515102f, 0.291965f, 0.157153f },
{ 0.241182f, 0.692236f, 0.0665819f },
{ -0.00104941f, 0.0418818f, 0.784378f },
}}

◆ kRec2020

constexpr skcms_Matrix3x3 SkNamedGamut::kRec2020
staticconstexpr
Initial value:
= {{
{ 0.673459f, 0.165661f, 0.125100f },
{ 0.279033f, 0.675338f, 0.0456288f },
{ -0.00193139f, 0.0299794f, 0.797162f },
}}

◆ kSRGB

constexpr skcms_Matrix3x3 SkNamedGamut::kSRGB
staticconstexpr
Initial value:
= {{
{ SkFixedToFloat(0x6FA2), SkFixedToFloat(0x6299), SkFixedToFloat(0x24A0) },
{ SkFixedToFloat(0x38F5), SkFixedToFloat(0xB785), SkFixedToFloat(0x0F84) },
{ SkFixedToFloat(0x0390), SkFixedToFloat(0x18DA), SkFixedToFloat(0xB6CF) },
}}

◆ kXYZ

constexpr skcms_Matrix3x3 SkNamedGamut::kXYZ
staticconstexpr
Initial value:
= {{
{ 1.0f, 0.0f, 0.0f },
{ 0.0f, 1.0f, 0.0f },
{ 0.0f, 0.0f, 1.0f },
}}