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

12

/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsic3DLUT.java80 * Invoke the kernel and apply the lookup to each cell of ain
83 * @param ain Input allocation
86 public void forEach(Allocation ain, Allocation aout) { argument
87 forEach(ain, aout, null);
91 * Invoke the kernel and apply the lookup to each cell of ain
94 * @param ain Input allocation
98 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
99 forEach(0, ain, aout, null, opt);
H A DScriptIntrinsicResize.java50 * @param ain The input allocation.
52 public void setInput(Allocation ain) { argument
53 Element e = ain.getElement();
65 mInput = ain;
66 setVar(0, ain);
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.java59 * @param ain The input allocation
61 public void setInput(Allocation ain) { argument
62 if (ain.getType().getY() == 0) {
65 mInput = ain;
66 setVar(1, ain);
H A DScriptIntrinsicConvolve3x3.java72 * @param ain The input allocation.
74 public void setInput(Allocation ain) { argument
75 mInput = ain;
76 setVar(1, ain);
H A DScriptIntrinsicConvolve5x5.java72 * @param ain The input allocation.
74 public void setInput(Allocation ain) { argument
75 mInput = ain;
76 setVar(1, ain);
H A DScriptIntrinsicColorMatrix.java221 * @param ain Input allocation
224 public void forEach(Allocation ain, Allocation aout) { argument
225 forEach(ain, aout, null);
240 * @param ain Input allocation
244 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
245 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
246 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
247 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
248 !ain.getElement().isCompatible(Element.U8_4(mRS)) &&
249 !ain
[all...]
H A DScriptIntrinsicHistogram.java67 * @param ain The input image
69 public void forEach(Allocation ain) { argument
70 forEach(ain, null);
84 * @param ain The input image
87 public void forEach(Allocation ain, Script.LaunchOptions opt) { argument
88 if (ain.getType().getElement().getVectorSize() <
94 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
95 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) &&
96 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) &&
97 !ain
173 forEach_Dot(Allocation ain) argument
188 forEach_Dot(Allocation ain, Script.LaunchOptions opt) argument
[all...]
H A DScriptIntrinsicLUT.java122 * Invoke the kernel and apply the lookup to each cell of ain
125 * @param ain Input allocation
128 public void forEach(Allocation ain, Allocation aout) { argument
129 forEach(ain, aout, null);
133 * Invoke the kernel and apply the lookup to each cell of ain
136 * @param ain Input allocation
140 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
145 forEach(0, ain, aout, null, opt);
/frameworks/rs/tests/cpp_api/cpp-globalguard/
H A Dcompute.cpp26 sp<Allocation> ain; variable
56 ain = Allocation::createTyped(rs, t);
66 ain->copy1DRangeFrom(0, numElems, buf);
68 sc->forEach_multiply(ain, aout);
/frameworks/rs/tests/cpp_api/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/cpp_api/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/rs/tests/java_api/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/cpp/
H A DScript.cpp28 void Script::forEach(uint32_t slot, const sp<const Allocation>& ain, const sp<const Allocation>& aout, argument
30 if ((ain == nullptr) && (aout == nullptr)) {
31 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "At least one of ain or aout is required to be non-null.");
33 void *in_id = BaseObj::getObjID(ain);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsic3DLUT.java91 * Invoke the kernel and apply the lookup to each cell of ain
94 * @param ain Input allocation
97 public void forEach(Allocation ain, Allocation aout) { argument
98 forEach(0, ain, aout, null);
H A DScriptIntrinsicBlur.java72 * @param ain The input allocation
74 public void setInput(Allocation ain) { argument
75 if (ain.getType().getY() == 0) {
78 mInput = ain;
79 setVar(1, ain);
H A DScriptIntrinsicResize.java60 * @param ain The input allocation.
62 public void setInput(Allocation ain) { argument
63 Element e = ain.getElement();
75 mInput = ain;
76 setVar(0, ain);
H A DScriptIntrinsicYuvToRGB.java63 * @param ain The input allocation.
65 public void setInput(Allocation ain) { argument
66 mInput = ain;
67 setVar(0, ain);
H A DScriptIntrinsicConvolve3x3.java81 * @param ain The input allocation.
83 public void setInput(Allocation ain) { argument
84 mInput = ain;
85 setVar(1, ain);
H A DScriptIntrinsicConvolve5x5.java82 * @param ain The input allocation.
84 public void setInput(Allocation ain) { argument
85 mInput = ain;
86 setVar(1, ain);
H A DScriptIntrinsicHistogram.java77 * @param ain The input image
79 public void forEach(Allocation ain) { argument
80 forEach(ain, null);
94 * @param ain The input image
97 public void forEach(Allocation ain, Script.LaunchOptions opt) { argument
98 if (ain.getType().getElement().getVectorSize() <
104 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
105 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) &&
106 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) &&
107 !ain
183 forEach_Dot(Allocation ain) argument
198 forEach_Dot(Allocation ain, Script.LaunchOptions opt) argument
[all...]
/frameworks/rs/tests/cpp_api/cppbasic/
H A Dcompute.cpp31 sp<Allocation> ain = Allocation::createTyped(rs, t); local
33 printf("Allocation %p %p\n", ain.get(), aout.get());
60 ain->copy1DRangeFrom(0, t->getCount(), buf);
63 sc->forEach_root(ain, aout);
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/
H A Dcompute.cpp35 sp<Allocation> ain = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); local
37 printf("Allocation %p %p\n", ain.get(), aout.get());
41 uint32_t *input = (uint32_t*)ain->getPointer(&inputStride);
59 ain->syncAll(RS_ALLOCATION_USAGE_SHARED);
65 sc->forEach_copyAndNot(ain, aout);
70 ain->syncAll(RS_ALLOCATION_USAGE_SCRIPT);
/frameworks/rs/tests/cpp_api/cppbasic-shared/
H A Dcompute.cpp31 sp<Allocation> ain = Allocation::createTyped(rs, t); local
33 printf("Allocation %p %p\n", ain.get(), aout.get());
60 ain->copy1DRangeFrom(0, t->getCount(), buf);
63 sc->forEach_root(ain, aout);
/frameworks/rs/tests/cpp_api/latency/
H A Dlatency.cpp70 sp<Allocation> ain = Allocation::createTyped(rs, t); local
80 sc->forEach_root(ain, aout);
94 ain->copy1DFrom(buf);
95 sc->forEach_root(ain, aout);
109 ain.clear();

Completed in 197 milliseconds

12