Home
last modified time | relevance | path

Searched refs:SRGB_TO_XYZ (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DCamUtils.java74 static final float[][] SRGB_TO_XYZ = { field in CamUtils
127 float[][] matrix = SRGB_TO_XYZ; in yFromInt()
137 float[][] matrix = SRGB_TO_XYZ; in xyzFromInt()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java56 private static final float[] SRGB_TO_XYZ = { field in ColorSpaceTest
246 ColorSpace.Rgb cs = new ColorSpace.Rgb("Test", SRGB_TO_XYZ, sIdentity, sIdentity); in testMat3x3()
250 assertEquals(SRGB_TO_XYZ[i], rgbToXYZ[i], 1e-5f); in testMat3x3()
256 ColorSpace.Rgb cs = new ColorSpace.Rgb("Test", SRGB_TO_XYZ, sIdentity, sIdentity); in testMat3x3Inverse()
266 ColorSpace.Rgb cs = new ColorSpace.Rgb("Test", SRGB_TO_XYZ, sIdentity, sIdentity); in testMat3x3Primaries()
283 ColorSpace.Rgb cs = new ColorSpace.Rgb("Test", SRGB_TO_XYZ, sIdentity, sIdentity); in testMat3x3WhitePoint()
301 assertEquals(SRGB_TO_XYZ[i], rgbToXYZ[i], 1e-5f); in testXYZFromPrimaries_xyY()
339 assertEquals(SRGB_TO_XYZ[i], rgbToXYZ[i], 1e-5f); in testXYZFromPrimaries_XYZ()
379 ColorSpace.Rgb cs = new ColorSpace.Rgb("Almost sRGB", SRGB_TO_XYZ, in testIsSRGB()
849 colorSpace = new ColorSpace.Rgb("Almost sRGB", SRGB_TO_XYZ, in testTransferParameters()