Home
last modified time | relevance | path

Searched refs:primaries (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java268 float[] primaries = cs.getPrimaries(); in testMat3x3Primaries() local
270 assertNotNull(primaries); in testMat3x3Primaries()
271 assertEquals(6, primaries.length); in testMat3x3Primaries()
273 assertEquals(SRGB_PRIMARIES_xyY[0], primaries[0], 1e-5f); in testMat3x3Primaries()
274 assertEquals(SRGB_PRIMARIES_xyY[1], primaries[1], 1e-5f); in testMat3x3Primaries()
275 assertEquals(SRGB_PRIMARIES_xyY[2], primaries[2], 1e-5f); in testMat3x3Primaries()
276 assertEquals(SRGB_PRIMARIES_xyY[3], primaries[3], 1e-5f); in testMat3x3Primaries()
277 assertEquals(SRGB_PRIMARIES_xyY[4], primaries[4], 1e-5f); in testMat3x3Primaries()
278 assertEquals(SRGB_PRIMARIES_xyY[5], primaries[5], 1e-5f); in testMat3x3Primaries()
315 float[] primaries = cs.getPrimaries(); in testXYZFromPrimaries_XYZ() local
[all …]
DColor_ColorLongTest.java428 float[] primaries = new float[]{ .7f, .6f, .5f, .4f, .3f, .2f }; in testConvertFailureUnnamedColorSpace() local
429 ColorSpace cs = new ColorSpace.Rgb("mock", primaries, ColorSpace.ILLUMINANT_A, .7); in testConvertFailureUnnamedColorSpace()
DBitmapColorSpaceTest.java1196 float[] primaries = rgbCs.getPrimaries(); in testGrayscaleProfile() local
1197 assertNotNull(primaries); in testGrayscaleProfile()
1198 assertEquals(6, primaries.length); in testGrayscaleProfile()
1199 for (float primary : primaries) { in testGrayscaleProfile()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DRuntimeShaderTests.kt321 val rotatedPrimaries = FloatArray(srgb.primaries.size) in <lambda>()
323 rotatedPrimaries[i] = srgb.primaries[(i + 2) % srgb.primaries.size] in <lambda>()
/cts/apps/CameraITS/utils/
Dimage_processing_utils.py1511 srgb_primaries = srgb_colorspace.primaries