Searched refs:primaries (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorSpaceTest.java | 268 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 …]
|
D | Color_ColorLongTest.java | 428 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()
|
D | BitmapColorSpaceTest.java | 1196 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/ |
D | RuntimeShaderTests.kt | 321 val rotatedPrimaries = FloatArray(srgb.primaries.size) in <lambda>() 323 rotatedPrimaries[i] = srgb.primaries[(i + 2) % srgb.primaries.size] in <lambda>()
|
/cts/apps/CameraITS/utils/ |
D | image_processing_utils.py | 1511 srgb_primaries = srgb_colorspace.primaries
|