Home
last modified time | relevance | path

Searched refs:gamut (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/renderengine/skia/
DColorSpaces.cpp25 skcms_Matrix3x3 gamut; in toSkColorSpace() local
28 gamut = SkNamedGamut::kSRGB; in toSkColorSpace()
31 gamut = SkNamedGamut::kRec2020; in toSkColorSpace()
34 gamut = SkNamedGamut::kDisplayP3; in toSkColorSpace()
37 gamut = SkNamedGamut::kAdobeRGB; in toSkColorSpace()
48 gamut = SkNamedGamut::kSRGB; in toSkColorSpace()
54 return SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, gamut); in toSkColorSpace()
56 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, gamut); in toSkColorSpace()
58 return SkColorSpace::MakeRGB({2.2f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}, gamut); in toSkColorSpace()
60 return SkColorSpace::MakeRGB({2.6f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}, gamut); in toSkColorSpace()
[all …]
/frameworks/base/libs/hwui/utils/
DColor.cpp179 skcms_Matrix3x3 gamut; in ColorSpaceToADataSpace() local
180 LOG_ALWAYS_FATAL_IF(!colorSpace->toXYZD50(&gamut)); in ColorSpaceToADataSpace()
182 if (nearlyEqual(gamut, SkNamedGamut::kSRGB)) { in ColorSpaceToADataSpace()
198 if (nearlyEqual(fn, SkNamedTransferFn::kSRGB) && nearlyEqual(gamut, SkNamedGamut::kDisplayP3)) { in ColorSpaceToADataSpace()
202 if (nearlyEqual(fn, SkNamedTransferFn::k2Dot2) && nearlyEqual(gamut, SkNamedGamut::kAdobeRGB)) { in ColorSpaceToADataSpace()
207 nearlyEqual(gamut, SkNamedGamut::kRec2020)) { in ColorSpaceToADataSpace()
211 if (nearlyEqual(fn, k2Dot6) && nearlyEqual(gamut, kDCIP3)) { in ColorSpaceToADataSpace()
230 skcms_Matrix3x3 gamut; in DataSpaceToColorSpace() local
233 gamut = SkNamedGamut::kSRGB; in DataSpaceToColorSpace()
237 gamut = SkNamedGamut::kRec2020; in DataSpaceToColorSpace()
[all …]
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop121 # 1. is a wide color gamut display, typically DCI-P3 or lager
212 # expects to receive and output as well as the wide color gamut data space
213 # and pixel format for wide color gamut surfaces.
220 # and the chosen wide color gamut data space contents coexist;
249 # wide color gamut surfaces.
251 # valid wide color gamut data space.
254 # color gamut, meaning hasWideColorDisplay returns false.
264 # wide color gamut surfaces. If unspecified, the pixel format is
290 # If unspecified, the primaries is sRGB gamut by default.
/frameworks/base/core/proto/android/view/
Ddisplay.proto25 // The default or native gamut of the display.
/frameworks/base/tools/aapt2/
DConfiguration.proto163 // Whether the screen supports wide color gamut.
/frameworks/proto_logging/stats/
Datoms.proto2414 // Contains information about the color gamut and hdr mode of the screen.