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.cpp301 static const float3 ILLUMINANT_D50_XYZ = {0.964212f, 1.0f, 0.825188f}; variable
334 v[0] = X * ILLUMINANT_D50_XYZ[0]; in toXyz()
335 v[1] = Y * ILLUMINANT_D50_XYZ[1]; in toXyz()
336 v[2] = Z * ILLUMINANT_D50_XYZ[2]; in toXyz()
342 float X = v[0] / ILLUMINANT_D50_XYZ[0]; in fromXyz()
343 float Y = v[1] / ILLUMINANT_D50_XYZ[1]; in fromXyz()
344 float Z = v[2] / ILLUMINANT_D50_XYZ[2]; in fromXyz()
371 xyz = adaptation(BRADFORD, srcXYZ, ILLUMINANT_D50_XYZ) * xyz; in sRGBToLab()
379 xyz = adaptation(BRADFORD, ILLUMINANT_D50_XYZ, dstXYZ) * xyz; in LabToSRGB()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java219 private static final float[] ILLUMINANT_D50_XYZ = { 0.964212f, 1.0f, 0.825188f }; field in ColorSpace
1548 ColorSpace.Rgb rgb = (ColorSpace.Rgb) adapt(colorSpace, ILLUMINANT_D50_XYZ); in match()
2157 v[0] = X * ILLUMINANT_D50_XYZ[0];
2158 v[1] = Y * ILLUMINANT_D50_XYZ[1];
2159 v[2] = Z * ILLUMINANT_D50_XYZ[2];
2166 float X = v[0] / ILLUMINANT_D50_XYZ[0];
2167 float Y = v[1] / ILLUMINANT_D50_XYZ[1];
2168 float Z = v[2] / ILLUMINANT_D50_XYZ[2];
3973 source.getModel() == Model.RGB ? adapt(source, ILLUMINANT_D50_XYZ) : source,
3975 adapt(destination, ILLUMINANT_D50_XYZ) : destination,
[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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16411 Landroid/graphics/ColorSpace;->ILLUMINANT_D50_XYZ:[F