Searched defs:ain (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/graphics/java/android/renderscript/
H A DScriptIntrinsic3DLUT.java82 * Invoke the kernel and apply the lookup to each cell of ain
85 * @param ain Input allocation
88 public void forEach(Allocation ain, Allocation aout) { argument
89 forEach(0, ain, aout, null);
H A DScriptIntrinsicYuvToRGB.java55 * @param ain The input allocation.
57 public void setInput(Allocation ain) { argument
58 mInput = ain;
59 setVar(0, ain);
H A DScriptIntrinsicBlur.java62 * @param ain The input allocation
64 public void setInput(Allocation ain) { argument
65 mInput = ain;
66 setVar(1, ain);
H A DScriptIntrinsicColorMatrix.java145 * Invoke the kernel and apply the matrix to each cell of ain and copy to
148 * @param ain Input allocation
151 public void forEach(Allocation ain, Allocation aout) { argument
152 forEach(0, ain, aout, null);
H A DScriptIntrinsicConvolve3x3.java65 * @param ain The input allocation.
67 public void setInput(Allocation ain) { argument
68 mInput = ain;
69 setVar(1, ain);
H A DScriptIntrinsicConvolve5x5.java60 * @param ain The input allocation.
62 public void setInput(Allocation ain) { argument
63 mInput = ain;
64 setVar(1, ain);
H A DScriptIntrinsicLUT.java121 * Invoke the kernel and apply the lookup to each cell of ain
124 * @param ain Input allocation
127 public void forEach(Allocation ain, Allocation aout) { argument
132 forEach(0, ain, aout, null);
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
H A DBenchmark.java25 private Allocation ain; field in class:Benchmark
31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000);
42 mScript.forEach_root(ain, aout);
49 mScript.set_in(ain);
/frameworks/rs/tests/cppallocation/
H A Dcompute.cpp33 sp<Allocation> ain = Allocation::createTyped(rs, t); local
43 ain->copy1DRangeFrom(0, numElems, buf);
45 sc->forEach_multiply(ain, aout);
61 ain.clear();
/frameworks/rs/tests/cppstrided/
H A Dcompute.cpp35 sp<Allocation> ain = Allocation::createTyped(rs, t); local
52 ain->copy2DStridedFrom(buf, stride * sizeof(uint32_t));
54 sc->forEach_multiply(ain, aout);
72 ain.clear();
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicYuvToRGB.java60 * @param ain The input allocation.
62 public void setInput(Allocation ain) { argument
63 mInput = ain;
64 setVar(0, ain);
H A DScriptIntrinsic3DLUT.java89 * Invoke the kernel and apply the lookup to each cell of ain
92 * @param ain Input allocation
95 public void forEach(Allocation ain, Allocation aout) { argument
96 forEach(0, ain, aout, null);
H A DScriptIntrinsic3DLUTThunker.java52 * Invoke the kernel and apply the lookup to each cell of ain
55 * @param ain Input allocation
58 public void forEach(Allocation ain, Allocation aout) { argument
59 AllocationThunker aint = (AllocationThunker)ain;
H A DScriptIntrinsicBlur.java66 * @param ain The input allocation
68 public void setInput(Allocation ain) { argument
69 mInput = ain;
70 setVar(1, ain);
H A DScriptIntrinsicBlurThunker.java44 public void setInput(Allocation ain) { argument
45 AllocationThunker aint = (AllocationThunker) ain;
H A DScriptIntrinsicColorMatrixThunker.java63 public void forEach(Allocation ain, Allocation aout) { argument
64 AllocationThunker aint = (AllocationThunker)ain;
H A DScriptIntrinsicConvolve3x3.java70 * @param ain The input allocation.
72 public void setInput(Allocation ain) { argument
73 mInput = ain;
74 setVar(1, ain);
H A DScriptIntrinsicConvolve3x3Thunker.java42 public void setInput(Allocation ain) { argument
43 AllocationThunker aint = (AllocationThunker)ain;
H A DScriptIntrinsicConvolve5x5.java64 * @param ain The input allocation.
66 public void setInput(Allocation ain) { argument
67 mInput = ain;
68 setVar(1, ain);
H A DScriptIntrinsicConvolve5x5Thunker.java42 public void setInput(Allocation ain) { argument
43 AllocationThunker aint = (AllocationThunker)ain;
H A DScriptIntrinsicYuvToRGBThunker.java42 public void setInput(Allocation ain) { argument
43 AllocationThunker aint = (AllocationThunker)ain;
H A DScriptIntrinsicColorMatrix.java150 * Invoke the kernel and apply the matrix to each cell of ain and copy to
153 * @param ain Input allocation
156 public void forEach(Allocation ain, Allocation aout) { argument
157 forEach(0, ain, aout, null);
/frameworks/rs/cpp/
H A DScript.cpp29 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, argument
31 if ((ain == NULL) && (aout == NULL)) {
32 mRS->throwError("At least one of ain or aout is required to be non-null.");
34 void *in_id = BaseObj::getObjID(ain);
/frameworks/rs/tests/cppbasic/
H A Dcompute.cpp31 sp<Allocation> ain = Allocation::createTyped(rs, t); local
33 printf("Allocation %p %p\n", ain.get(), aout.get());
52 ain->copy1DRangeFrom(0, t->getCount(), buf);
55 sc->forEach_root(ain, aout);
99 ain.clear();
/frameworks/rs/tests/latency/
H A Dlatency.cpp66 sp<Allocation> ain = Allocation::createTyped(rs, t); local
76 sc->forEach_root(ain, aout);
90 ain->copy1DFrom(buf);
91 sc->forEach_root(ain, aout);
105 ain.clear();

Completed in 293 milliseconds

12