Home
last modified time | relevance | path

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

/frameworks/rs/toolkit/test/
DIntrinsicLut3d.kt37 cubeSize: Dimension, in intrinsicLut3d()
56 cubeTypeBuilder.setX(cubeSize.sizeX) in intrinsicLut3d()
57 cubeTypeBuilder.setY(cubeSize.sizeY) in intrinsicLut3d()
58 cubeTypeBuilder.setZ(cubeSize.sizeZ) in intrinsicLut3d()
87 cubeSize: Dimension, in intrinsicLut3d()
99 cubeTypeBuilder.setX(cubeSize.sizeX) in intrinsicLut3d()
100 cubeTypeBuilder.setY(cubeSize.sizeY) in intrinsicLut3d()
101 cubeTypeBuilder.setZ(cubeSize.sizeZ) in intrinsicLut3d()
DBufferUtils.kt322 fun randomCube(seed: Long, cubeSize: Dimension): ByteArray { in randomCube()
324 return ByteArray(cubeSize.sizeX * cubeSize.sizeY * cubeSize.sizeZ * 4) { in randomCube()
333 fun identityCube(cubeSize: Dimension): ByteArray { in identityCube()
334 val data = ByteArray(cubeSize.sizeX * cubeSize.sizeY * cubeSize.sizeZ * 4) in identityCube()
335 val cube = Rgba3dArray(data, cubeSize.sizeX, cubeSize.sizeY, cubeSize.sizeZ) in identityCube()
336 for (z in 0 until cubeSize.sizeZ) { in identityCube()
337 for (y in 0 until cubeSize.sizeY) { in identityCube()
338 for (x in 0 until cubeSize.sizeX) { in identityCube()
341 (x * 255 / (cubeSize.sizeX - 1)).toByte(), in identityCube()
342 (y * 255 / (cubeSize.sizeY - 1)).toByte(), in identityCube()
[all …]
DAllTests.kt818 return cubeSizesToTry.all { cubeSize -> in <lambda>() method
819 val identityCube = identityCube(cubeSize) in <lambda>()
820 val randomCube = randomCube(0x23424, cubeSize) in <lambda>()
821 testOneBitmapLut3d(timer, testImage1, cubeSize, identityCube, 1, null) and in <lambda>()
822 testOneBitmapLut3d(timer, testImage2, cubeSize, randomCube, 3, null) and in <lambda>()
823 … testOneBitmapLut3d(timer, testImage2, cubeSize, randomCube, 3, Range2d(6, 23, 2, 4)) and in <lambda>()
825 … testOneRandomLut3d(timer, sizeX, sizeY, cubeSize, identityCube, 1, restriction) && in <lambda>()
830 cubeSize, in <lambda>()
844 cubeSize: Dimension, in <lambda>()
852 renderscriptContext, inputArray, sizeX, sizeY, cubeArray, cubeSize, restriction in <lambda>()
[all …]