Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DColor.cpp342 float3 srcXYZ = ColorSpace::XYZ(float3{colorSpace.getWhitePoint(), 1}); in sRGBToLab() local
343 xyz = adaptation(BRADFORD, srcXYZ, ILLUMINANT_D50_XYZ) * xyz; in sRGBToLab()
DHostColorSpace.cpp402 float3 srcXYZ = ColorSpace::XYZ(float3{src.getWhitePoint(), 1}); in ColorSpaceConnector() local
406 rgbToXYZ = adaptation(BRADFORD, srcXYZ, ILLUMINANT_D50_XYZ) * src.getRGBtoXYZ(); in ColorSpaceConnector()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java3729 float[] srcXYZ = srcRGB ? xyYToXyz(rgb.mWhitePoint) : ILLUMINANT_D50_XYZ; in computeTransform() local
3732 srcXYZ[0] / dstXYZ[0], in computeTransform()
3733 srcXYZ[1] / dstXYZ[1], in computeTransform()
3734 srcXYZ[2] / dstXYZ[2], in computeTransform()
3880 float[] srcXYZ = xyYToXyz(source.mWhitePoint); in computeTransform() local
3885 Adaptation.BRADFORD.mTransform, srcXYZ, in computeTransform()
3900 srcXYZ[0] / dstXYZ[0], in computeTransform()
3901 srcXYZ[1] / dstXYZ[1], in computeTransform()
3902 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()