Searched refs:inputArray (Results 1 – 2 of 2) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rs | 300 static float3 demosaic(uint x, uint y, uint cfa, float* inputArray) { 312 pRGB.x = inputArray[4]; 313 pRGB.y = (inputArray[1] + inputArray[3] + inputArray[5] + inputArray[7]) / 4; 314 pRGB.z = (inputArray[0] + inputArray[2] + inputArray[6] + inputArray[8]) / 4; 323 pRGB.x = (inputArray[3] + inputArray[5]) / 2; 324 pRGB.y = inputArray[4]; 325 pRGB.z = (inputArray[1] + inputArray[7]) / 2; 334 pRGB.x = (inputArray[1] + inputArray[7]) / 2; 335 pRGB.y = inputArray[4]; 336 pRGB.z = (inputArray[3] + inputArray[5]) / 2; [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ReduceTest.java | 193 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 …]
|