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

12

/frameworks/base/graphics/java/android/renderscript/
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 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 DScriptIntrinsicConvolve5x5.java60 * @param ain The input allocation.
62 public void setInput(Allocation ain) { argument
63 mInput = ain;
64 setVar(1, ain);
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 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 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 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 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 DScriptIntrinsicConvolve5x5.java60 * @param ain The input allocation.
62 public void setInput(Allocation ain) { argument
63 mInput = ain;
64 bindAllocation(ain, 1);
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 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);
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);
/frameworks/rs/tests/
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);
H A DScriptC_mono.h54 void forEach_root(android::sp<const android::renderscriptCpp::Allocation> ain, android::sp<const android::renderscriptCpp::Allocation> aout) const;
/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 DrsScriptIntrinsic.h45 const Allocation * ain,
/frameworks/support/renderscript/v8/rs_support/
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 DrsScriptIntrinsic.h45 const 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/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.cpp250 const Allocation * ain,
259 if (ain) {
260 mtls->fep.dimX = ain->getType()->getDimX();
261 mtls->fep.dimY = ain->getType()->getDimY();
262 mtls->fep.dimZ = ain->getType()->getDimZ();
263 //mtls->dimArray = ain->getType()->getDimArray();
301 rsAssert(!ain || (ain->getType()->getDimZ() == 0));
305 mtls->ain = ain;
249 rsdScriptInvokeForEachMtlsSetup(const Context *rsc, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc, MTLaunchStruct *mtls) argument
332 rsdScriptLaunchThreads(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc, MTLaunchStruct *mtls) argument
415 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]

Completed in 239 milliseconds

12