Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DColor.cpp192 float3 srcXYZ = ColorSpace::XYZ(float3{colorSpace.getWhitePoint(), 1}); in sRGBToLab() local
193 xyz = adaptation(BRADFORD, srcXYZ, ILLUMINANT_D50_XYZ) * xyz; in sRGBToLab()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java3691 float[] srcXYZ = srcRGB ? 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()
3842 float[] srcXYZ = xyYToXyz(source.mWhitePoint); in computeTransform() local
3847 Adaptation.BRADFORD.mTransform, srcXYZ, 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.cpp405 float3 srcXYZ = ColorSpace::XYZ(float3{src.getWhitePoint(), 1}); in ColorSpaceConnector() local
409 rgbToXYZ = adaptation(BRADFORD, srcXYZ, ILLUMINANT_D50_XYZ) * src.getRGBtoXYZ(); in ColorSpaceConnector()