Lines Matching refs:ByteArray
92 fun ByteArray.toFloat4(): Float4 { in toFloat4() method
242 private val values: ByteArray,
298 fun randomByteArray(seed: Long, sizeX: Int, sizeY: Int, elementSize: Int): ByteArray { in indexOfVector()
300 return ByteArray(sizeX * sizeY * elementSize) { (r.nextInt(255) - 128).toByte() } in indexOfVector()
322 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()
352 fun randomYuvArray(seed: Long, sizeX: Int, sizeY: Int, format: YuvFormat): ByteArray { in randomYuvArray()
468 fun getBitmapBytes(bitmap: Bitmap): ByteArray { in getBitmapBytes()
490 fun logArray(prefix: String, array: ByteArray, number: Int = 20) { in logArray()