/frameworks/rs/cpp/ |
H A D | Script.cpp | 29 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."); 35 void *out_id = BaseObj::getObjID(aout);
|
H A D | ScriptIntrinsics.cpp | 47 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { argument 49 aout->getType()->getElement()->isCompatible(mElement) == false) { 53 Script::forEach(0, ain, aout, NULL, 0); 527 void ScriptIntrinsicLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { argument 533 !(aout->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) { 537 Script::forEach(0, ain, aout, NULL, 0);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 402 void RsdCpuReferenceImpl::launchThreads(const Allocation * ain, Allocation * aout, argument
|
H A D | rsCpuCore.h | 59 Allocation * aout; member in struct:android::renderscript::__anon1608 97 void launchThreads(const Allocation * ain, Allocation * aout,
|
H A D | rsCpuIntrinsic.cpp | 77 Allocation * aout, const void * usr, 82 Allocation * aout, const void * usr, 88 Allocation * aout, 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); 76 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 81 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 86 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
H A D | rsCpuIntrinsicHistogram.cpp | 40 Allocation * aout, const void * usr, 43 Allocation * aout, const void * usr, 101 Allocation * aout, const void * usr, 146 Allocation * aout, const void * usr, 100 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 145 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
H A D | rsCpuScript.cpp | 743 void RsdCpuScriptImpl::forEachMtlsSetup(const Allocation * ain, Allocation * aout, argument 755 if (aout && (const uint8_t *)aout->mHal.drvState.lod[0].mallocPtr == NULL) { 765 } else if (aout) { 766 mtls->fep.dimX = aout->getType()->getDimX(); 767 mtls->fep.dimY = aout->getType()->getDimY(); 768 mtls->fep.dimZ = aout->getType()->getDimZ(); 769 //mtls->dimArray = aout->getType()->getDimArray(); 817 mtls->aout = aout; 843 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 1120 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 1126 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument [all...] |
H A D | rsCpuScriptGroup.cpp | 140 Allocation *aout = NULL; local 166 aout = n->mOutputs[ct3]->mAlloc.get(); 170 //ALOGE(" link out %p", aout); 175 aout = mSG->mOutputs[ct3]->mAlloc.get(); 177 //ALOGE(" io out %p", aout); 181 if ((k->mHasKernelOutput == (aout != NULL)) && 185 outs.add(aout);
|
/frameworks/rs/driver/ |
H A D | rsdBcc.cpp | 71 Allocation * aout, 77 cs->invokeForEach(slot, ain, aout, usr, usrLen, sc); 67 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
H A D | Benchmark.java | 26 private Allocation aout; field in class:Benchmark 32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000); 42 mScript.forEach_root(ain, aout); 43 aout.copy1DRangeFrom(0, 1, temp); 50 mScript.set_out(aout); 54 aout.copy1DRangeFrom(0, 1, temp);
|
/frameworks/rs/ |
H A D | rsScriptC.cpp | 166 Allocation * aout, 187 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); 163 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 | 298 Allocation *aout = NULL; local 315 aout = n->mOutputs[ct3]->mAlloc.get(); 316 //ALOGE(" link out %p", aout); 321 aout = mOutputs[ct3]->mAlloc.get(); 322 //ALOGE(" io out %p", aout); 326 n->mScript->runForEach(rsc, k->mSlot, ain, aout, NULL, 0);
|
H A D | rsScriptIntrinsic.cpp | 62 Allocation * aout, 67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); 59 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
|
/frameworks/rs/tests/cppallocation/ |
H A D | compute.cpp | 34 sp<Allocation> aout = Allocation::createTyped(rs, t); local 45 sc->forEach_multiply(ain, aout); 47 aout->copy1DRangeTo(0, numElems, buf); 62 aout.clear();
|
/frameworks/rs/tests/cppbasic/ |
H A D | compute.cpp | 32 sp<Allocation> aout = Allocation::createTyped(rs, t); local 33 printf("Allocation %p %p\n", ain.get(), aout.get()); 55 sc->forEach_root(ain, aout);
|
/frameworks/rs/tests/cppstrided/ |
H A D | compute.cpp | 36 sp<Allocation> aout = Allocation::createTyped(rs, t); local 54 sc->forEach_multiply(ain, aout); 56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t)); 73 aout.clear();
|
/frameworks/rs/tests/latency/ |
H A D | latency.cpp | 71 sp<Allocation> aout = Allocation::createTyped(rs, t); local 80 sc->forEach_root(ain, aout); 95 sc->forEach_root(ain, aout); 96 aout->copy1DTo(buf); 110 aout.clear();
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 460 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params); argument 461 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout); argument 462 native void rsnScriptForEachClipped(int con, int id, int slot, int ain, int aout, byte[] params, argument 464 native void rsnScriptForEachClipped(int con, int id, int slot, int ain, int aout, argument 466 synchronized void nScriptForEach(int id, int slot, int ain, int aout, byte[] params) { argument 469 rsnScriptForEach(mContext, id, slot, ain, aout); 471 rsnScriptForEach(mContext, id, slot, ain, aout, params); 475 synchronized void nScriptForEachClipped(int id, int slot, int ain, int aout, byte[] params, argument 479 rsnScriptForEachClipped(mContext, id, slot, ain, aout, xstart, xend, ystart, yend, zstart, zend); 481 rsnScriptForEachClipped(mContext, id, slot, ain, aout, param [all...] |
H A D | Script.java | 224 * @param aout 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."); 242 if (aout != null) { 243 out_id = aout.getID(mRS); 257 * @param aout 261 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument 263 mT.thunkForEach(slot, ain, aout, [all...] |
H A D | ScriptCThunker.java | 100 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument 107 if (aout != null) { 108 nout = ((AllocationThunker)aout).mN; 120 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v, argument 137 if (aout != null) { 138 nout = ((AllocationThunker)aout).mN;
|
H A D | ScriptIntrinsic3DLUT.java | 90 * and copy to aout. 93 * @param aout Output allocation 95 public void forEach(Allocation ain, Allocation aout) { argument 96 forEach(0, ain, aout, null);
|
H A D | ScriptIntrinsic3DLUTThunker.java | 61 * and copy to aout. 64 * @param aout Output allocation 66 public void forEach(Allocation ain, Allocation aout) { argument 68 AllocationThunker aoutt = (AllocationThunker)aout;
|
H A D | ScriptIntrinsicBlend.java | 48 private void blend(int id, Allocation ain, Allocation aout) { argument 52 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) { 55 forEach(id, ain, aout, null); 62 * @param aout The destination buffer 64 public void forEachClear(Allocation ain, Allocation aout) { argument 65 blend(0, ain, aout); 82 * @param aout The destination buffer 84 public void forEachSrc(Allocation ain, Allocation aout) { argument 85 blend(1, ain, aout); 103 * @param aout 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 D | ScriptIntrinsicBlendThunker.java | 43 public void forEachClear(Allocation ain, Allocation aout) { argument 45 AllocationThunker aoutt = (AllocationThunker)aout; 64 public void forEachSrc(Allocation ain, Allocation aout) { argument 66 AllocationThunker aoutt = (AllocationThunker)aout; 85 public void forEachDst(Allocation ain, Allocation aout) { argument 87 AllocationThunker aoutt = (AllocationThunker)aout; 106 public void forEachSrcOver(Allocation ain, Allocation aout) { argument 108 AllocationThunker aoutt = (AllocationThunker)aout; 127 public void forEachDstOver(Allocation ain, Allocation aout) { argument 129 AllocationThunker aoutt = (AllocationThunker)aout; 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 D | ScriptIntrinsicBlur.java | 91 * @param aout Output allocation. Must match creation element 94 public void forEach(Allocation aout) { argument 95 forEach(0, null, aout, null);
|