Searched defs:aout (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsic3DLUT.java81 * and copy to aout.
84 * @param aout Output allocation
86 public void forEach(Allocation ain, Allocation aout) { argument
87 forEach(ain, aout, null);
92 * and copy to aout.
95 * @param aout Output allocation
98 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
99 forEach(0, ain, aout, null, opt);
H A DScriptIntrinsicResize.java84 * @param aout Output allocation. Element type must match
87 public void forEach_bicubic(Allocation aout) { argument
88 if (aout == mInput) {
91 forEach_bicubic(aout, null);
99 * @param aout Output allocation. Element type must match
103 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { argument
104 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicYuvToRGB.java65 * @param aout Output allocation. Must match creation element
68 public void forEach(Allocation aout) { argument
69 forEach(0, (Allocation) null, aout, null);
H A DScriptIntrinsicBlur.java87 * @param aout Output allocation. Must match creation element
90 public void forEach(Allocation aout) { argument
91 if (aout.getType().getY() == 0) {
94 forEach(0, (Allocation) null, aout, null);
101 * @param aout Output allocation. Must match creation element
105 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument
106 if (aout.getType().getY() == 0) {
109 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicConvolve3x3.java104 * @param aout Output allocation. Must match creation element
107 public void forEach(Allocation aout) { argument
108 forEach(0, (Allocation) null, aout, null);
115 * @param aout Output allocation. Must match creation element
119 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument
120 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicConvolve5x5.java106 * @param aout Output allocation. Must match creation element
109 public void forEach(Allocation aout) { argument
110 forEach(0, (Allocation) null, aout, null);
117 * @param aout Output allocation. Must match creation element
121 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument
122 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicColorMatrix.java222 * @param aout Output allocation
224 public void forEach(Allocation ain, Allocation aout) { argument
225 forEach(ain, aout, null);
241 * @param aout Output allocation
244 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
257 if (!aout.getElement().isCompatible(Element.U8(mRS)) &&
258 !aout.getElement().isCompatible(Element.U8_2(mRS)) &&
259 !aout.getElement().isCompatible(Element.U8_3(mRS)) &&
260 !aout.getElement().isCompatible(Element.U8_4(mRS)) &&
261 !aout
[all...]
H A DScriptIntrinsicHistogram.java137 * @param aout The output allocation
139 public void setOutput(Allocation aout) { argument
140 mOut = aout;
159 setVar(1, aout);
H A DScriptIntrinsicLUT.java123 * and copy to aout.
126 * @param aout Output allocation
128 public void forEach(Allocation ain, Allocation aout) { argument
129 forEach(ain, aout, null);
134 * and copy to aout.
137 * @param aout Output 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.cpp27 sp<Allocation> aout; variable
57 aout = Allocation::createTyped(rs, t);
68 sc->forEach_multiply(ain, aout);
70 aout->copy1DRangeTo(0, numElems, buf);
/frameworks/rs/tests/cpp_api/cppallocation/
H A Dcompute.cpp34 sp<Allocation> aout = Allocation::createTyped(rs, t); local
45 sc->forEach_multiply(ain, aout);
47 aout->copy1DRangeTo(0, numElems, buf);
62 aout.clear();
/frameworks/rs/tests/cpp_api/cppstrided/
H A Dcompute.cpp36 sp<Allocation> aout = Allocation::createTyped(rs, t); local
54 sc->forEach_multiply(ain, aout);
56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t));
73 aout.clear();
/frameworks/rs/tests/java_api/LatencyBenchmark/src/com/example/android/rs/computebench/
H A DBenchmark.java26 private Allocation aout; field in class:Benchmark
32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000);
42 mScript.forEach_root(ain, aout);
43 aout.copy1DRangeFrom(0, 1, temp);
50 mScript.set_out(aout);
54 aout.copy1DRangeFrom(0, 1, temp);
/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.");
34 void *out_id = BaseObj::getObjID(aout);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsic3DLUT.java92 * and copy to aout.
95 * @param aout Output allocation
97 public void forEach(Allocation ain, Allocation aout) { argument
98 forEach(0, ain, aout, null);
H A DScriptIntrinsicBlur.java100 * @param aout Output allocation. Must match creation element
103 public void forEach(Allocation aout) { argument
104 if (aout.getType().getY() == 0) {
107 forEach(0, (Allocation) null, aout, null);
H A DScriptIntrinsicResize.java94 * @param aout Output allocation. Element type must match
97 public void forEach_bicubic(Allocation aout) { argument
98 if (aout == mInput) {
101 forEach_bicubic(aout, null);
109 * @param aout Output allocation. Element type must match
113 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { argument
114 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicYuvToRGB.java73 * @param aout Output allocation. Must match creation element
76 public void forEach(Allocation aout) { argument
77 forEach(0, (Allocation) null, aout, null);
H A DScriptIntrinsicConvolve3x3.java113 * @param aout Output allocation. Must match creation element
116 public void forEach(Allocation aout) { argument
117 forEach(0, (Allocation) null, aout, null);
124 * @param aout Output allocation. Must match creation element
128 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument
129 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicConvolve5x5.java116 * @param aout Output allocation. Must match creation element
119 public void forEach(Allocation aout) { argument
120 forEach(0, (Allocation) null, aout, null);
127 * @param aout Output allocation. Must match creation element
131 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument
132 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicHistogram.java147 * @param aout The output allocation
149 public void setOutput(Allocation aout) { argument
150 mOut = aout;
169 setVar(1, aout);
/frameworks/rs/tests/cpp_api/cppbasic/
H A Dcompute.cpp32 sp<Allocation> aout = Allocation::createTyped(rs, t); local
33 printf("Allocation %p %p\n", ain.get(), aout.get());
63 sc->forEach_root(ain, aout);
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/
H A Dcompute.cpp36 sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); local
37 printf("Allocation %p %p\n", ain.get(), aout.get());
42 uint32_t *output = (uint32_t*)aout->getPointer(&outputStride);
60 aout->syncAll(RS_ALLOCATION_USAGE_SHARED);
65 sc->forEach_copyAndNot(ain, aout);
71 aout->syncAll(RS_ALLOCATION_USAGE_SCRIPT);
/frameworks/rs/tests/cpp_api/cppbasic-shared/
H A Dcompute.cpp32 sp<Allocation> aout = Allocation::createTyped(rs, t); local
33 printf("Allocation %p %p\n", ain.get(), aout.get());
63 sc->forEach_root(ain, aout);
/frameworks/rs/tests/cpp_api/latency/
H A Dlatency.cpp71 sp<Allocation> aout = Allocation::createTyped(rs, t); local
80 sc->forEach_root(ain, aout);
95 sc->forEach_root(ain, aout);
96 aout->copy1DTo(buf);
110 aout.clear();

Completed in 7066 milliseconds

123