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.java254 short[] outputArray = new short[2]; in findMinAndMaxHalf() local
255 outputAllocation.copyTo(outputArray); in findMinAndMaxHalf()
256 return new Short2(outputArray[0], outputArray[1]); in findMinAndMaxHalf()
293 short[] outputArray = new short[4]; in findMinAndMaxHalf2() local
294 outputAllocation.copyTo(outputArray); in findMinAndMaxHalf2()
298 return new Short2[] { new Short2(outputArray[0], outputArray[1]), in findMinAndMaxHalf2()
299 new Short2(outputArray[2], outputArray[3]) }; in findMinAndMaxHalf2()
448 long[] outputArray = new long[histogramBucketCount]; in histogram() local
450 outputArray[i] = outputArrayMistyped[i] & (long)0xffffffff; in histogram()
455 return outputArray; in histogram()