HomeSort by relevance Sort by last modified time
    Searched refs:inputAllocation (Results 1 - 8 of 8) sorted by null

  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_reflection3264.java 63 Allocation inputAllocation = Allocation.createTyped(pRS, typeBuilder.create());
66 inputAllocation.copyFrom(inputArray);
80 usrData.alloc = inputAllocation;
96 s.invoke_args(outputAllocation, dXOff, dMip, count, inputAllocation, sXOff, sMip);
110 inputAllocation.destroy();
UT_reduce.java 305 Allocation inputAllocation = Allocation.createSized(RS, Element.I32(RS), inputArray.length);
309 inputAllocation.copyFrom(inputArray);
312 final int rsResult = s.reduce_addint(inputAllocation).get();
318 copyTimeStart, kernelTimeStart, rsTimeEnd, inputAllocation),
320 inputAllocation.destroy();
338 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
342 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
345 final int rsResult = s.reduce_addint(inputAllocation).get();
351 copyTimeStart, kernelTimeStart, rsTimeEnd, inputAllocation),
353 inputAllocation.destroy()
    [all...]
UT_reduce_backward.java 127 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
128 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
131 final int rsRslt = s.reduce_addint(inputAllocation).get();
202 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
203 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
205 final Int2 rsRslt = s.reduce_fz2(inputAllocation).get();
227 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
228 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray);
230 final Int3 rsRslt = s.reduce_fz3(inputAllocation).get();
245 Allocation inputAllocation = Allocation.createSized(RS, Element.U8(RS), inputArray.length)
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_reflection3264.java 65 Allocation inputAllocation = Allocation.createTyped(pRS, typeBuilder.create());
68 inputAllocation.copyFrom(inputArray);
82 usrData.alloc = inputAllocation;
98 s.invoke_args(outputAllocation, dXOff, dMip, count, inputAllocation, sXOff, sMip);
112 inputAllocation.destroy();
UT_reduce.java 307 Allocation inputAllocation = Allocation.createSized(RS, Element.I32(RS), inputArray.length);
311 inputAllocation.copyFrom(inputArray);
314 final int rsResult = s.reduce_addint(inputAllocation).get();
320 copyTimeStart, kernelTimeStart, rsTimeEnd, inputAllocation),
322 inputAllocation.destroy();
340 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
344 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
347 final int rsResult = s.reduce_addint(inputAllocation).get();
353 copyTimeStart, kernelTimeStart, rsTimeEnd, inputAllocation),
355 inputAllocation.destroy()
    [all...]
UT_reduce_backward.java 129 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
130 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
133 final int rsRslt = s.reduce_addint(inputAllocation).get();
204 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
205 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
207 final Int2 rsRslt = s.reduce_fz2(inputAllocation).get();
229 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
230 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray);
232 final Int3 rsRslt = s.reduce_fz3(inputAllocation).get();
247 Allocation inputAllocation = Allocation.createSized(RS, Element.U8(RS), inputArray.length)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ReduceTest.java 196 Allocation inputAllocation = Allocation.createTyped(mRS, typeBuilder.create());
197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
200 final int rsRslt = mScript.reduce_addint(inputAllocation).get();
204 inputAllocation.destroy();
247 Allocation inputAllocation = Allocation.createSized(mRS, Element.F16(mRS), inputArray.length);
248 inputAllocation.copyFrom(inputArray);
252 mScript.invoke_findMinAndMaxHalf(outputAllocation, inputAllocation);
286 Allocation inputAllocation = Allocation.createSized(mRS, Element.F16_2(mRS), inputArray.length / 2);
287 inputAllocation.copyFrom(inputArray);
291 mScript.invoke_findMinAndMaxHalf2(outputAllocation, inputAllocation);
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
ScriptGraph.java 222 Allocation inputAllocation = getInputAllocation();
224 byte[] destination = new byte[inputAllocation.getBytesSize()];
225 inputAllocation.copyTo(destination);
473 Allocation inputAllocation;
478 inputAllocation = mInputBlocker.getAllocation();
481 inputAllocation = inputInfo.createAllocation();
513 inputScript.setInput(inputAllocation);
524 inputAllocation = inputInfo.createAllocation();

Completed in 272 milliseconds