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

12

/frameworks/rs/tests/
H A DScriptC_mono.cpp114 void ScriptC_mono::forEach_root(android::sp<const android::renderscriptCpp::Allocation> ain, android::sp<const android::renderscriptCpp::Allocation> aout) const { argument
115 forEach(0, ain, aout, NULL, 0);
H A Dcompute.cpp34 sp<Allocation> ain = Allocation::createTyped(rs, t); local
36 printf("Allocation %p %p\n", ain.get(), aout.get());
45 //ain->copy1DRangeFrom(0, 128*128, (int32_t *)buf, 128*128*4);
46 ain->copy1DRangeFromUnchecked(0, t->getCount(), buf, t->getCount()*4);
50 sc->forEach_root(ain, aout);
/frameworks/base/graphics/java/android/renderscript/
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.java147 * Invoke the kernel and apply the matrix to each cell of ain and copy to
150 * @param ain Input allocation
153 public void forEach(Allocation ain, Allocation aout) { argument
154 forEach(0, ain, aout, null);
H A DScriptIntrinsicConvolve3x3.java67 * @param ain The input allocation.
69 public void setInput(Allocation ain) { argument
70 mInput = ain;
71 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.java123 * Invoke the kernel and apply the lookup to each cell of ain
126 * @param ain Input allocation
129 public void forEach(Allocation ain, Allocation aout) { argument
134 forEach(0, ain, aout, null);
H A DScriptIntrinsicBlend.java45 private void blend(int id, Allocation ain, Allocation aout) { argument
46 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) {
52 forEach(id, ain, aout, null);
58 * @param ain The source buffer
61 public void forEachClear(Allocation ain, Allocation aout) { argument
62 blend(0, ain, aout);
78 * @param ain The source buffer
81 public void forEachSrc(Allocation ain, Allocation aout) { argument
82 blend(1, ain, aout);
98 * @param ain Th
101 forEachDst(Allocation ain, Allocation aout) argument
120 forEachSrcOver(Allocation ain, Allocation aout) argument
139 forEachDstOver(Allocation ain, Allocation aout) argument
158 forEachSrcIn(Allocation ain, Allocation aout) argument
177 forEachDstIn(Allocation ain, Allocation aout) argument
196 forEachSrcOut(Allocation ain, Allocation aout) argument
215 forEachDstOut(Allocation ain, Allocation aout) argument
235 forEachSrcAtop(Allocation ain, Allocation aout) argument
255 forEachDstAtop(Allocation ain, Allocation aout) argument
274 forEachXor(Allocation ain, Allocation aout) argument
303 forEachMultiply(Allocation ain, Allocation aout) argument
399 forEachAdd(Allocation ain, Allocation aout) argument
418 forEachSubtract(Allocation ain, Allocation aout) argument
[all...]
H A DScript.java145 * @param ain
149 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument
150 if (ain == null && aout == null) {
152 "At least one of ain or aout is required to be non-null.");
155 if (ain != null) {
156 in_id = ain.getID(mRS);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicYuvToRGB.java55 * @param ain The input allocation.
57 public void setInput(Allocation ain) { argument
58 mInput = ain;
59 bindAllocation(ain, 0);
H A DScriptIntrinsicBlur.java62 * @param ain The input allocation
64 public void setInput(Allocation ain) { argument
65 mInput = ain;
66 bindAllocation(ain, 1);
H A DScriptIntrinsicConvolve3x3.java65 * @param ain The input allocation.
67 public void setInput(Allocation ain) { argument
68 mInput = ain;
69 bindAllocation(ain, 1);
H A DScriptIntrinsicConvolve5x5.java60 * @param ain The input allocation.
62 public void setInput(Allocation ain) { argument
63 mInput = ain;
64 bindAllocation(ain, 1);
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 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/driver/
H A DrsdScriptGroup.cpp72 Allocation *ain = NULL; local
77 ain = n->mInputs[ct3]->mAlloc.get();
78 //ALOGE(" link in %p", ain);
83 ain = sg->mInputs[ct3]->mAlloc.get();
84 //ALOGE(" io in %p", ain);
102 (k->mHasKernelInput == (ain != NULL))) {
103 ins.add(ain);
H A DrsdBcc.h46 const android::renderscript::Allocation * ain,
147 const android::renderscript::Allocation * ain; member in struct:__anon1534
166 const android::renderscript::Allocation * ain,
174 const android::renderscript::Allocation * ain,
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdScriptGroup.cpp63 Allocation *ain = NULL; local
68 ain = n->mInputs[ct3]->mAlloc.get();
69 //ALOGE(" link in %p", ain);
74 ain = sg->mInputs[ct3]->mAlloc.get();
75 //ALOGE(" io in %p", ain);
92 ins.add(ain);
/frameworks/rs/cpp/
H A DScript.cpp35 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, argument
37 if ((ain == NULL) && (aout == NULL)) {
38 mRS->throwError("At least one of ain or aout is required to be non-null.");
40 void *in_id = BaseObj::getObjID(ain);
/frameworks/rs/
H A DrsScriptIntrinsic.cpp57 const Allocation * ain,
63 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
55 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
H A DrsScriptC.cpp150 const Allocation * ain,
160 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
148 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
H A DrsScriptGroup.cpp280 Allocation *ain = NULL; local
285 ain = n->mInputs[ct3]->mAlloc.get();
286 //ALOGE(" link in %p", ain);
291 ain = mInputs[ct3]->mAlloc.get();
292 //ALOGE(" io in %p", ain);
309 n->mScript->runForEach(rsc, k->mSlot, ain, aout, NULL, 0);
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptC.cpp85 const Allocation * ain,
95 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
83 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
H A DrsScriptIntrinsic.cpp57 const Allocation * ain,
63 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
55 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument

Completed in 2417 milliseconds

12