/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScript.java | 504 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params); argument 505 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout); argument 506 synchronized void nScriptForEach(int id, int slot, int ain, int aout, byte[] params) { argument 509 rsnScriptForEach(mContext, id, slot, ain, aout); 511 rsnScriptForEach(mContext, id, slot, ain, aout, params);
|
H A D | Script.java | 145 * @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);
|
H A D | ScriptIntrinsicBlend.java | 45 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 D | ScriptIntrinsicBlur.java | 62 * @param ain The input allocation 64 public void setInput(Allocation ain) { argument 65 mInput = ain; 66 setVar(1, ain);
|
H A D | ScriptIntrinsicColorMatrix.java | 147 * 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 D | ScriptIntrinsicConvolve3x3.java | 67 * @param ain The input allocation. 69 public void setInput(Allocation ain) { argument 70 mInput = ain; 71 setVar(1, ain);
|
H A D | ScriptIntrinsicConvolve5x5.java | 60 * @param ain The input allocation. 62 public void setInput(Allocation ain) { argument 63 mInput = ain; 64 setVar(1, ain);
|
H A D | ScriptIntrinsicLUT.java | 123 * 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 D | ScriptIntrinsicYuvToRGB.java | 55 * @param ain The input allocation. 57 public void setInput(Allocation ain) { argument 58 mInput = ain; 59 setVar(0, ain);
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1006 jint script, jint slot, jint ain, jint aout) 1009 rsScriptForEach(con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, NULL, 0); 1013 jint script, jint slot, jint ain, jint aout, jbyteArray params) 1018 rsScriptForEach(con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, ptr, len); 1005 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument 1012 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument
|
/frameworks/rs/cpp/ |
H A D | Script.cpp | 35 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/driver/ |
H A D | rsdBcc.cpp | 250 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...] |
H A D | rsdBcc.h | 46 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,
|
H A D | rsdScriptGroup.cpp | 72 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);
|
/frameworks/rs/ |
H A D | rsScriptC.cpp | 150 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 D | rsScriptGroup.cpp | 280 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);
|
H A D | rsScriptIntrinsic.cpp | 57 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
|
/frameworks/rs/tests/ |
H A D | ScriptC_mono.cpp | 114 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 D | compute.cpp | 34 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/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 362 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params); argument 363 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout); argument 364 synchronized void nScriptForEach(int id, int slot, int ain, int aout, byte[] params) { argument 367 rsnScriptForEach(mContext, id, slot, ain, aout); 369 rsnScriptForEach(mContext, id, slot, ain, aout, params);
|
H A D | Script.java | 145 * @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);
|
H A D | ScriptIntrinsicBlend.java | 45 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 D | ScriptIntrinsicBlur.java | 62 * @param ain The input allocation 64 public void setInput(Allocation ain) { argument 65 mInput = ain; 66 bindAllocation(ain, 1);
|
H A D | ScriptIntrinsicColorMatrix.java | 145 * 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 D | ScriptIntrinsicConvolve3x3.java | 65 * @param ain The input allocation. 67 public void setInput(Allocation ain) { argument 68 mInput = ain; 69 bindAllocation(ain, 1);
|