Home
last modified time | relevance | path

Searched refs:getRGBtoXYZ (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/ui/tests/
Dcolorspace_test.cpp43 EXPECT_EQ(sRGBToXYZ, sRGB.getRGBtoXYZ()); in TEST_F()
95 ASSERT_NEAR(sRGB1.getRGBtoXYZ()[i][j], sRGB2.getRGBtoXYZ()[i][j], 1e-5f); in TEST_F()
/frameworks/native/libs/ui/
DColorSpace.cpp397 mTransform = dst.getXYZtoRGB() * src.getRGBtoXYZ(); in ColorSpaceConnector()
399 mat3 rgbToXYZ(src.getRGBtoXYZ()); in ColorSpaceConnector()
406 rgbToXYZ = adaptation(BRADFORD, srcXYZ, ILLUMINANT_D50_XYZ) * src.getRGBtoXYZ(); in ColorSpaceConnector()
410 … xyzToRGB = inverse(adaptation(BRADFORD, dstXYZ, ILLUMINANT_D50_XYZ) * dst.getRGBtoXYZ()); in ColorSpaceConnector()
/frameworks/native/include/ui/
DColorSpace.h187 constexpr const mat3& getRGBtoXYZ() const noexcept { in getRGBtoXYZ() function
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp146 mat3 srgbToP3 = ColorSpace::DisplayP3().getXYZtoRGB() * ColorSpace::sRGB().getRGBtoXYZ(); in GLES20RenderEngine()