Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rs195 static void load3x3(uint x, uint y, rs_allocation buf, /*out*/float* outputArray) {
196 outputArray[0] = *((ushort *) rsGetElementAt(buf, x - 1, y - 1));
197 outputArray[1] = *((ushort *) rsGetElementAt(buf, x, y - 1));
198 outputArray[2] = *((ushort *) rsGetElementAt(buf, x + 1, y - 1));
199 outputArray[3] = *((ushort *) rsGetElementAt(buf, x - 1, y));
200 outputArray[4] = *((ushort *) rsGetElementAt(buf, x, y));
201 outputArray[5] = *((ushort *) rsGetElementAt(buf, x + 1, y));
202 outputArray[6] = *((ushort *) rsGetElementAt(buf, x - 1, y + 1));
203 outputArray[7] = *((ushort *) rsGetElementAt(buf, x, y + 1));
204 outputArray[8] = *((ushort *) rsGetElementAt(buf, x + 1, y + 1));
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DReduceTest.java246 short[] outputArray = new short[2]; in findMinAndMaxHalf() local
247 outputAllocation.copyTo(outputArray); in findMinAndMaxHalf()
248 return new Short2(outputArray[0], outputArray[1]); in findMinAndMaxHalf()
285 short[] outputArray = new short[4]; in findMinAndMaxHalf2() local
286 outputAllocation.copyTo(outputArray); in findMinAndMaxHalf2()
287 return new Short2[] { new Short2(outputArray[0], outputArray[1]), in findMinAndMaxHalf2()
288 new Short2(outputArray[2], outputArray[3]) }; in findMinAndMaxHalf2()
433 long[] outputArray = new long[histogramBucketCount]; in histogram() local
435 outputArray[i] = outputArrayMistyped[i] & (long)0xffffffff; in histogram()
436 return outputArray; in histogram()