Searched refs:inputAllocation (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ReduceTest.java | 196 Allocation inputAllocation = Allocation.createTyped(mRS, typeBuilder.create()); in testAddInt2D() local 197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in testAddInt2D() 200 final int rsRslt = mScript.reduce_addint(inputAllocation).get(); in testAddInt2D() 204 inputAllocation.destroy(); in testAddInt2D() 247 … Allocation inputAllocation = Allocation.createSized(mRS, Element.F16(mRS), inputArray.length); in findMinAndMaxHalf() local 248 inputAllocation.copyFrom(inputArray); in findMinAndMaxHalf() 252 mScript.invoke_findMinAndMaxHalf(outputAllocation, inputAllocation); in findMinAndMaxHalf() 286 …Allocation inputAllocation = Allocation.createSized(mRS, Element.F16_2(mRS), inputArray.length / 2… in findMinAndMaxHalf2() local 287 inputAllocation.copyFrom(inputArray); in findMinAndMaxHalf2() 291 mScript.invoke_findMinAndMaxHalf2(outputAllocation, inputAllocation); in findMinAndMaxHalf2() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | ScriptGraph.java | 222 Allocation inputAllocation = getInputAllocation(); in getInputData() local 224 byte[] destination = new byte[inputAllocation.getBytesSize()]; in getInputData() 225 inputAllocation.copyTo(destination); in getInputData() 473 Allocation inputAllocation; in ScriptGraph() local 478 inputAllocation = mInputBlocker.getAllocation(); in ScriptGraph() 481 inputAllocation = inputInfo.createAllocation(); in ScriptGraph() 513 inputScript.setInput(inputAllocation); in ScriptGraph() 524 inputAllocation = inputInfo.createAllocation(); in ScriptGraph()
|