Home
last modified time | relevance | path

Searched refs:dstXYZ (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/utils/
DColor.cpp200 float3 dstXYZ = ColorSpace::XYZ(float3{colorSpace.getWhitePoint(), 1}); in LabToSRGB() local
201 xyz = adaptation(BRADFORD, ILLUMINANT_D50_XYZ, dstXYZ) * xyz; in LabToSRGB()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java3692 float[] dstXYZ = dstRGB ? xyYToXyz(rgb.mWhitePoint) : ILLUMINANT_D50_XYZ; in computeTransform() local
3694 srcXYZ[0] / dstXYZ[0], in computeTransform()
3695 srcXYZ[1] / dstXYZ[1], in computeTransform()
3696 srcXYZ[2] / dstXYZ[2], in computeTransform()
3843 float[] dstXYZ = xyYToXyz(destination.mWhitePoint); in computeTransform() local
3854 Adaptation.BRADFORD.mTransform, dstXYZ, in computeTransform()
3862 srcXYZ[0] / dstXYZ[0], in computeTransform()
3863 srcXYZ[1] / dstXYZ[1], in computeTransform()
3864 srcXYZ[2] / dstXYZ[2], in computeTransform()
/frameworks/native/libs/ui/
DColorSpace.cpp402 float3 dstXYZ = ColorSpace::XYZ(float3{dst.getWhitePoint(), 1}); in ColorSpaceConnector() local
409 … xyzToRGB = inverse(adaptation(BRADFORD, dstXYZ, ILLUMINANT_D50_XYZ) * dst.getRGBtoXYZ()); in ColorSpaceConnector()