Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DColor.cpp123 static const float3 ILLUMINANT_D50_XYZ = {0.964212f, 1.0f, 0.825188f}; variable
156 v[0] = X * ILLUMINANT_D50_XYZ[0]; in toXyz()
157 v[1] = Y * ILLUMINANT_D50_XYZ[1]; in toXyz()
158 v[2] = Z * ILLUMINANT_D50_XYZ[2]; in toXyz()
164 float X = v[0] / ILLUMINANT_D50_XYZ[0]; in fromXyz()
165 float Y = v[1] / ILLUMINANT_D50_XYZ[1]; in fromXyz()
166 float Z = v[2] / ILLUMINANT_D50_XYZ[2]; in fromXyz()
193 xyz = adaptation(BRADFORD, srcXYZ, ILLUMINANT_D50_XYZ) * xyz; in sRGBToLab()
201 xyz = adaptation(BRADFORD, ILLUMINANT_D50_XYZ, dstXYZ) * xyz; in LabToSRGB()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java202 private static final float[] ILLUMINANT_D50_XYZ = { 0.964212f, 1.0f, 0.825188f }; field in ColorSpace
1427 ColorSpace.Rgb rgb = (ColorSpace.Rgb) adapt(colorSpace, ILLUMINANT_D50_XYZ); in match()
2006 v[0] = X * ILLUMINANT_D50_XYZ[0]; in toXyz()
2007 v[1] = Y * ILLUMINANT_D50_XYZ[1]; in toXyz()
2008 v[2] = Z * ILLUMINANT_D50_XYZ[2]; in toXyz()
2015 float X = v[0] / ILLUMINANT_D50_XYZ[0]; in fromXyz()
2016 float Y = v[1] / ILLUMINANT_D50_XYZ[1]; in fromXyz()
2017 float Z = v[2] / ILLUMINANT_D50_XYZ[2]; in fromXyz()
3651 source.getModel() == Model.RGB ? adapt(source, ILLUMINANT_D50_XYZ) : source, in Connector()
3653 adapt(destination, ILLUMINANT_D50_XYZ) : destination, in Connector()
[all …]
/frameworks/native/libs/ui/
DColorSpace.cpp380 static const float3 ILLUMINANT_D50_XYZ = {0.964212f, 1.0f, 0.825188f}; variable
409 rgbToXYZ = adaptation(BRADFORD, srcXYZ, ILLUMINANT_D50_XYZ) * src.getRGBtoXYZ(); in ColorSpaceConnector()
413 … xyzToRGB = inverse(adaptation(BRADFORD, dstXYZ, ILLUMINANT_D50_XYZ) * dst.getRGBtoXYZ()); in ColorSpaceConnector()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt19298 Landroid/graphics/ColorSpace;->ILLUMINANT_D50_XYZ:[F