Searched refs:inputArray (Results 1 – 3 of 3) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rs | 299 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/ |
D | ReduceTest.java | 187 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in testAddInt2D() local 191 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in testAddInt2D() 193 final int javaRslt = addint(inputArray); in testAddInt2D() 238 private Short2 findMinAndMaxHalf(final short[] inputArray) { in findMinAndMaxHalf() argument 239 … Allocation inputAllocation = Allocation.createSized(mRS, Element.F16(mRS), inputArray.length); in findMinAndMaxHalf() 240 inputAllocation.copyFrom(inputArray); in findMinAndMaxHalf() 251 private short[] findMinAndMaxHalfIntoArray(final short[] inputArray) { in findMinAndMaxHalfIntoArray() argument 252 final Short2 vectorResult = findMinAndMaxHalf(inputArray); in findMinAndMaxHalfIntoArray() 275 private Short2[] findMinAndMaxHalf2(final short[] inputArray) { in findMinAndMaxHalf2() argument 276 assertEquals(inputArray.length % 2, 0); in findMinAndMaxHalf2() [all …]
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/ |
D | OptionHelperTest.java | 85 String[] inputArray = {"foocts ", "-", TEST_CLASS_SHORTNAME, " ", fakeTestClass, " \"--", in testGetValidCliArgs() local 88 String inputString = String.join("", inputArray); in testGetValidCliArgs()
|