Searched defs:ain (Results 1 - 25 of 54) sorted by last modified time

123

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java541 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params); argument
542 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout); argument
543 native void rsnScriptForEachClipped(int con, int id, int slot, int ain, int aout, byte[] params, argument
545 native void rsnScriptForEachClipped(int con, int id, int slot, int ain, int aout, argument
547 synchronized void nScriptForEach(int id, int slot, int ain, int aout, byte[] params) { argument
550 rsnScriptForEach(mContext, id, slot, ain, aout);
552 rsnScriptForEach(mContext, id, slot, ain, aout, params);
556 synchronized void nScriptForEachClipped(int id, int slot, int ain, int aout, byte[] params, argument
560 rsnScriptForEachClipped(mContext, id, slot, ain, aout, xstart, xend, ystart, yend, zstart, zend);
562 rsnScriptForEachClipped(mContext, id, slot, ain, aou
[all...]
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 DScriptCThunker.java100 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument
104 if (ain != null) {
105 nin = ((AllocationThunker)ain).mN;
120 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v, argument
134 if (ain != null) {
135 nin = ((AllocationThunker)ain).mN;
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);
H A DScriptIntrinsic3DLUTThunker.java60 * Invoke the kernel and apply the lookup to each cell of ain
63 * @param ain Input allocation
66 public void forEach(Allocation ain, Allocation aout) { argument
67 AllocationThunker aint = (AllocationThunker)ain;
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 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 DScriptIntrinsicBlurThunker.java48 public void setInput(Allocation ain) { argument
49 AllocationThunker aint = (AllocationThunker) ain;
H A DScriptIntrinsicColorMatrix.java150 * Invoke the kernel and apply the matrix to each cell of ain and copy to
153 * @param ain Input allocation
156 public void forEach(Allocation ain, Allocation aout) { argument
157 forEach(0, ain, aout, null);
H A DScriptIntrinsicColorMatrixThunker.java87 public void forEach(Allocation ain, Allocation aout) { argument
88 AllocationThunker aint = (AllocationThunker)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 DScriptIntrinsicConvolve3x3Thunker.java46 public void setInput(Allocation ain) { argument
47 AllocationThunker aint = (AllocationThunker)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 DScriptIntrinsicConvolve5x5Thunker.java46 public void setInput(Allocation ain) { argument
47 AllocationThunker aint = (AllocationThunker)ain;
H A DScriptIntrinsicLUT.java127 * Invoke the kernel and apply the lookup to each cell of ain
130 * @param ain Input allocation
133 public void forEach(Allocation ain, Allocation aout) { argument
138 forEach(0, ain, aout, null);
H A DScriptIntrinsicLUTThunker.java77 public void forEach(Allocation ain, Allocation aout) { argument
78 AllocationThunker aint = (AllocationThunker)ain;
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 DScriptIntrinsicYuvToRGBThunker.java46 public void setInput(Allocation ain) { argument
47 AllocationThunker aint = (AllocationThunker)ain;
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp785 jint script, jint slot, jint ain, jint aout)
788 rsScriptForEach(con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, NULL, 0, NULL, 0);
792 jint script, jint slot, jint ain, jint aout, jbyteArray params)
797 rsScriptForEach(con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, ptr, len, NULL, 0);
803 jint script, jint slot, jint ain, jint aout,
818 rsScriptForEach(con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, NULL, 0, &sc, sizeof(sc));
823 jint script, jint slot, jint ain, jint aout,
840 rsScriptForEach(con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, ptr, len, &sc, sizeof(sc));
784 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument
791 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument
802 nScriptForEachClipped(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
822 nScriptForEachClippedV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
/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);
H A DScriptIntrinsics.cpp47 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { argument
48 if (ain->getType()->getElement()->isCompatible(mElement) == false ||
53 Script::forEach(0, ain, aout, NULL, 0);
471 void ScriptIntrinsicHistogram::forEach(sp<Allocation> ain) { argument
472 if (ain->getType()->getElement()->getVectorSize() <
479 if (!(ain->getType()->getElement()->isCompatible(Element::U8(mRS))) ||
480 !(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) {
486 Script::forEach(0, ain, NULL, NULL, 0);
490 void ScriptIntrinsicHistogram::forEach_dot(sp<Allocation> ain) { argument
497 if (!(ain
527 forEach(sp<Allocation> ain, sp<Allocation> aout) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp410 void RsdCpuReferenceImpl::launchThreads(const Allocation * ain, Allocation * aout, argument
H A DrsCpuCore.h99 const Allocation * ain; member in struct:android::renderscript::__anon1484
141 void launchThreads(const Allocation * ain, Allocation * aout,
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

Completed in 1320 milliseconds

123