Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/
DColorSpaces.cpp24 skcms_Matrix3x3 gamut; in toSkColorSpace() local
27 gamut = SkNamedGamut::kSRGB; in toSkColorSpace()
30 gamut = SkNamedGamut::kRec2020; in toSkColorSpace()
33 gamut = SkNamedGamut::kDisplayP3; in toSkColorSpace()
36 gamut = SkNamedGamut::kSRGB; in toSkColorSpace()
42 return SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, gamut); in toSkColorSpace()
44 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, gamut); in toSkColorSpace()
46 return SkColorSpace::MakeRGB(SkNamedTransferFn::kPQ, gamut); in toSkColorSpace()
48 return SkColorSpace::MakeRGB(SkNamedTransferFn::kHLG, gamut); in toSkColorSpace()
50 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, gamut); in toSkColorSpace()
/frameworks/base/libs/hwui/utils/
DColor.cpp165 skcms_Matrix3x3 gamut; in ColorSpaceToADataSpace() local
166 LOG_ALWAYS_FATAL_IF(!colorSpace->toXYZD50(&gamut)); in ColorSpaceToADataSpace()
168 if (nearlyEqual(gamut, SkNamedGamut::kSRGB)) { in ColorSpaceToADataSpace()
184 if (nearlyEqual(fn, SkNamedTransferFn::kSRGB) && nearlyEqual(gamut, SkNamedGamut::kDisplayP3)) { in ColorSpaceToADataSpace()
188 if (nearlyEqual(fn, SkNamedTransferFn::k2Dot2) && nearlyEqual(gamut, SkNamedGamut::kAdobeRGB)) { in ColorSpaceToADataSpace()
193 nearlyEqual(gamut, SkNamedGamut::kRec2020)) { in ColorSpaceToADataSpace()
197 if (nearlyEqual(fn, k2Dot6) && nearlyEqual(gamut, kDCIP3)) { in ColorSpaceToADataSpace()
216 skcms_Matrix3x3 gamut; in DataSpaceToColorSpace() local
219 gamut = SkNamedGamut::kSRGB; in DataSpaceToColorSpace()
222 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.proto1987 // Contains information about the color gamut and hdr mode of the screen.