Searched refs:ain (Results 1 - 25 of 61) sorted by relevance

123

/frameworks/base/graphics/java/android/renderscript/
H A DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout) { argument
44 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) {
50 forEach(id, ain, aout, null);
56 * @param ain The source buffer
59 public void forEachClear(Allocation ain, Allocation aout) { argument
60 blend(0, ain, aout);
76 * @param ain The source buffer
79 public void forEachSrc(Allocation ain, Allocation aout) { argument
80 blend(1, ain, aout);
97 * @param ain Th
100 forEachDst(Allocation ain, Allocation aout) argument
119 forEachSrcOver(Allocation ain, Allocation aout) argument
138 forEachDstOver(Allocation ain, Allocation aout) argument
157 forEachSrcIn(Allocation ain, Allocation aout) argument
176 forEachDstIn(Allocation ain, Allocation aout) argument
195 forEachSrcOut(Allocation ain, Allocation aout) argument
214 forEachDstOut(Allocation ain, Allocation aout) argument
234 forEachSrcAtop(Allocation ain, Allocation aout) argument
254 forEachDstAtop(Allocation ain, Allocation aout) argument
273 forEachXor(Allocation ain, Allocation aout) argument
302 forEachMultiply(Allocation ain, Allocation aout) argument
398 forEachAdd(Allocation ain, Allocation aout) argument
417 forEachSubtract(Allocation ain, Allocation aout) argument
[all...]
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 DScriptIntrinsicHistogram.java71 * @param ain The input image
73 public void forEach(Allocation ain) { argument
74 if (ain.getType().getElement().getVectorSize() <
80 if (ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
81 ain.getType().getElement().isCompatible(Element.U8_4(mRS))) {
85 forEach(0, ain, null, null);
152 * @param ain The input image
154 public void forEach_Dot(Allocation ain) { argument
158 if (ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
159 ain
[all...]
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 DScriptIntrinsicBlur.java62 * @param ain The input allocation
64 public void setInput(Allocation ain) { argument
65 mInput = ain;
66 setVar(1, ain);
H A DScriptIntrinsicConvolve3x3.java75 * @param ain The input allocation.
77 public void setInput(Allocation ain) { argument
78 mInput = ain;
79 setVar(1, ain);
H A DScriptIntrinsicConvolve5x5.java74 * @param ain The input allocation.
76 public void setInput(Allocation ain) { argument
77 mInput = ain;
78 setVar(1, ain);
H A DScriptIntrinsicColorMatrix.java224 * @param ain Input allocation
227 public void forEach(Allocation ain, Allocation aout) { argument
228 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
229 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
230 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
231 !ain.getElement().isCompatible(Element.U8_4(mRS)) &&
232 !ain.getElement().isCompatible(Element.F32(mRS)) &&
233 !ain.getElement().isCompatible(Element.F32_2(mRS)) &&
234 !ain.getElement().isCompatible(Element.F32_3(mRS)) &&
235 !ain
[all...]
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/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBlend.java48 private void blend(int id, Allocation ain, Allocation aout) { argument
49 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) {
55 forEach(id, ain, aout, null);
61 * @param ain The source buffer
64 public void forEachClear(Allocation ain, Allocation aout) { argument
65 blend(0, ain, aout);
81 * @param ain The source buffer
84 public void forEachSrc(Allocation ain, Allocation aout) { argument
85 blend(1, ain, aout);
102 * @param ain Th
105 forEachDst(Allocation ain, Allocation aout) argument
124 forEachSrcOver(Allocation ain, Allocation aout) argument
143 forEachDstOver(Allocation ain, Allocation aout) argument
162 forEachSrcIn(Allocation ain, Allocation aout) argument
181 forEachDstIn(Allocation ain, Allocation aout) argument
200 forEachSrcOut(Allocation ain, Allocation aout) argument
219 forEachDstOut(Allocation ain, Allocation aout) argument
239 forEachSrcAtop(Allocation ain, Allocation aout) argument
259 forEachDstAtop(Allocation ain, Allocation aout) argument
278 forEachXor(Allocation ain, Allocation aout) argument
307 forEachMultiply(Allocation ain, Allocation aout) argument
403 forEachAdd(Allocation ain, Allocation aout) argument
422 forEachSubtract(Allocation ain, Allocation aout) argument
[all...]
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 DScriptIntrinsicBlendThunker.java43 public void forEachClear(Allocation ain, Allocation aout) { argument
44 AllocationThunker aint = (AllocationThunker)ain;
64 public void forEachSrc(Allocation ain, Allocation aout) { argument
65 AllocationThunker aint = (AllocationThunker)ain;
85 public void forEachDst(Allocation ain, Allocation aout) { argument
86 AllocationThunker aint = (AllocationThunker)ain;
106 public void forEachSrcOver(Allocation ain, Allocation aout) { argument
107 AllocationThunker aint = (AllocationThunker)ain;
127 public void forEachDstOver(Allocation ain, Allocation aout) { argument
128 AllocationThunker aint = (AllocationThunker)ain;
148 forEachSrcIn(Allocation ain, Allocation aout) argument
169 forEachDstIn(Allocation ain, Allocation aout) argument
190 forEachSrcOut(Allocation ain, Allocation aout) argument
211 forEachDstOut(Allocation ain, Allocation aout) argument
232 forEachSrcAtop(Allocation ain, Allocation aout) argument
253 forEachDstAtop(Allocation ain, Allocation aout) argument
274 forEachXor(Allocation ain, Allocation aout) argument
295 forEachMultiply(Allocation ain, Allocation aout) argument
316 forEachAdd(Allocation ain, Allocation aout) argument
337 forEachSubtract(Allocation ain, Allocation aout) argument
[all...]
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 DScriptIntrinsicConvolve3x3.java70 * @param ain The input allocation.
72 public void setInput(Allocation ain) { argument
73 mInput = ain;
74 setVar(1, 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 DScript.java223 * @param ain
227 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument
229 mT.thunkForEach(slot, ain, aout, v);
233 if (ain == null && aout == null) {
235 "At least one of ain or aout is required to be non-null.");
238 if (ain != null) {
239 in_id = ain.getID(mRS);
256 * @param ain
261 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument
263 mT.thunkForEach(slot, ain, aou
[all...]
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);
/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/cpu_ref/
H A DrsCpuIntrinsic.cpp76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation * ain, argument
81 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation * ain, argument
87 const Allocation * ain,
94 preLaunch(slot, ain, aout, usr, usrLen, sc);
96 forEachMtlsSetup(ain, aout, usr, usrLen, sc, &mtls);
104 mCtx->launchThreads(ain, aout, sc, &mtls);
107 postLaunch(slot, ain, aout, usr, usrLen, sc);
86 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
H A DrsCpuIntrinsic.h34 const Allocation * ain,
43 virtual void preLaunch(uint32_t slot, const Allocation * ain,
46 virtual void postLaunch(uint32_t slot, const Allocation * ain,
/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/rs/tests/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();
/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(RS_ERROR_INVALID_PARAMETER, "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);

Completed in 298 milliseconds

123