Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rs299 static float3 demosaic(uint x, uint y, uint cfa, float* inputArray) {
311 pRGB.x = inputArray[4];
312 pRGB.y = (inputArray[1] + inputArray[3] + inputArray[5] + inputArray[7]) / 4;
313 pRGB.z = (inputArray[0] + inputArray[2] + inputArray[6] + inputArray[8]) / 4;
322 pRGB.x = (inputArray[3] + inputArray[5]) / 2;
323 pRGB.y = inputArray[4];
324 pRGB.z = (inputArray[1] + inputArray[7]) / 2;
333 pRGB.x = (inputArray[1] + inputArray[7]) / 2;
334 pRGB.y = inputArray[4];
335 pRGB.z = (inputArray[3] + inputArray[5]) / 2;
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DReduceTest.java193 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in testAddInt2D() local
197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in testAddInt2D()
199 final int javaRslt = addint(inputArray); in testAddInt2D()
246 private Short2 findMinAndMaxHalf(final short[] inputArray) { in findMinAndMaxHalf() argument
247 … Allocation inputAllocation = Allocation.createSized(mRS, Element.F16(mRS), inputArray.length); in findMinAndMaxHalf()
248 inputAllocation.copyFrom(inputArray); in findMinAndMaxHalf()
259 private short[] findMinAndMaxHalfIntoArray(final short[] inputArray) { in findMinAndMaxHalfIntoArray() argument
260 final Short2 vectorResult = findMinAndMaxHalf(inputArray); in findMinAndMaxHalfIntoArray()
283 private Short2[] findMinAndMaxHalf2(final short[] inputArray) { in findMinAndMaxHalf2() argument
284 assertEquals(inputArray.length % 2, 0); in findMinAndMaxHalf2()
[all …]
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DOptionHelperTest.java92 String[] inputArray = {"foocts ", "-", TEST_CLASS_SHORTNAME, " ", fakeTestClass, " \"--", in testGetValidCliArgs() local
95 String inputString = String.join("", inputArray); in testGetValidCliArgs()