/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic.cpp | 76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation ** ains, 82 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation ** ains, 89 const Allocation ** ains, 98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 100 if (forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls)) { 108 mCtx->launchForEach(ains, inLen, aout, sc, &mtls); 112 postLaunch(slot, ains, inLen, aout, usr, usrLen, sc);
|
rsCpuCore.h | 88 const Allocation *ains[RS_KERNEL_INPUT_LIMIT]; member in struct:android::renderscript::MTLaunchStructForEach 96 const Allocation *ains[RS_KERNEL_INPUT_LIMIT]; member in struct:android::renderscript::MTLaunchStructReduce 167 void launchForEach(const Allocation **ains, uint32_t inLen, Allocation *aout, 171 void launchReduce(const Allocation ** ains, uint32_t inLen, Allocation *aout, 263 void launchReduceSerial(const Allocation ** ains, uint32_t inLen, Allocation *aout, 265 void launchReduceParallel(const Allocation ** ains, uint32_t inLen, Allocation *aout,
|
rsCpuScript.h | 49 virtual void preLaunch(uint32_t slot, const Allocation ** ains, 52 virtual void postLaunch(uint32_t slot, const Allocation ** ains, 58 const Allocation ** ains, 66 const Allocation ** ains, uint32_t inLen, 88 bool forEachMtlsSetup(const Allocation ** ains, uint32_t inLen, 95 bool reduceMtlsSetup(const Allocation ** ains, uint32_t inLen, const Allocation *aout,
|
rsCpuIntrinsic.h | 37 const Allocation *ains[RS_KERNEL_INPUT_LIMIT]; member in struct:android::renderscript::MTLaunchStructForEachBlas 61 void preLaunch(uint32_t slot, const Allocation ** ains, 64 void postLaunch(uint32_t slot, const Allocation ** ains,
|
rsCpuScript.cpp | 555 bool RsdCpuScriptImpl::reduceMtlsSetup(const Allocation ** ains, 560 rsAssert(ains && (inLen >= 1) && aout); 565 if (allocationLODIsNull(ains[index])) { 578 const Allocation *ain0 = ains[0]; 586 if (!ain0->hasSameDims(ains[Index])) { 614 memcpy(mtls->ains, ains, inLen * sizeof(ains[0])); 617 mtls->redp.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr; 618 mtls->redp.inStride[index] = ains[index]->getType()->getElementSizeBytes() [all...] |
rsCpuScriptGroup.cpp | 213 const Allocation **ains; local 217 ains = nullptr; 221 ains = const_cast<const Allocation**>(&ins[ct]); 224 bool launchOK = si->forEachMtlsSetup(ains, inLen, outs[ct], nullptr, 0, nullptr, &mtls); 227 si->preLaunch(slot, ains, inLen, outs[ct], mtls.fep.usr, 231 mCtx->launchForEach(ains, inLen, outs[ct], nullptr, &mtls); 234 si->postLaunch(slot, ains, inLen, outs[ct], nullptr, 0, nullptr); 244 const Allocation **ains; local 248 ains = nullptr; 252 ains = const_cast<const Allocation**>(&ins[0]) [all...] |
rsd_cpu.h | 58 const Allocation ** ains, 66 const Allocation ** ains, uint32_t inLen,
|
rsCpuIntrinsicHistogram.cpp | 36 void preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, 39 void postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, 96 const Allocation ** ains, 123 switch(ains[0]->getType()->getElement()->getVectorSize()) { 144 const Allocation ** ains,
|
rsCpuCore.cpp | 336 // fep->inLen can be 1 with mtls->ains[0] being null. 339 if (mtls->ains[i] == nullptr) { 343 fep->inPtr[i] = (const uint8_t *)mtls->ains[i]->getPointerUnchecked(x, y, z, lod, face, a1, a2, a3, a4); 358 redp->inPtr[i] = (const uint8_t *)mtls->ains[i]->getPointerUnchecked(x, y, z); 648 // ains[0..inLen-1]: Array of allocations that contain the inputs 651 void RsdCpuReferenceImpl::launchReduce(const Allocation ** ains, 657 launchReduceParallel(ains, inLen, aout, mtls); 659 launchReduceSerial(ains, inLen, aout, mtls); 665 // ains[0..inLen-1]: Array of allocations that contain the inputs 668 void RsdCpuReferenceImpl::launchReduceSerial(const Allocation ** ains, [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Script.java | 224 protected void forEach(int slot, Allocation[] ains, Allocation aout, 228 forEach(slot, ains, aout, v, null); 234 protected void forEach(int slot, Allocation[] ains, Allocation aout, 239 if (ains != null) { 240 for (Allocation ain : ains) { 246 if (ains == null && aout == null) { 252 if (ains != null) { 253 in_ids = new long[ains.length]; 254 for (int index = 0; index < ains.length; ++index) { 255 in_ids[index] = ains[index].getID(mRS) [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
Script.java | 324 protected void forEach(int slot, Allocation[] ains, Allocation aout, 326 forEach(slot, ains, aout, v, null); 334 protected void forEach(int slot, Allocation[] ains, Allocation aout, 338 if (ains != null) { 339 for (Allocation ain : ains) { 345 if (ains == null && aout == null) { 351 if (ains != null) { 352 in_ids = new long[ains.length]; 353 for (int index = 0; index < ains.length; ++index) { 354 in_ids[index] = ains[index].getID(mRS) [all...] |
/frameworks/rs/ |
rsScriptIntrinsic.cpp | 60 const Allocation** ains, 67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, 72 const Allocation ** ains, size_t inLen,
|
rsScriptC.h | 43 const Allocation ** ains, 51 const Allocation ** ains, size_t inLen,
|
rsScriptIntrinsic.h | 45 const Allocation ** ains, 53 const Allocation ** ains, size_t inLen,
|
rsScript.h | 128 const Allocation ** ains, 136 const Allocation **ains, size_t inLen,
|
rsScript.cpp | 199 Allocation **ains = (Allocation**)(vains); local 202 const_cast<const Allocation **>(ains), inLen, 216 RsAllocation ains[1] = {vain}; local 218 rsi_ScriptForEachMulti(rsc, vs, slot, ains, 219 sizeof(ains) / sizeof(RsAllocation), vaout, 229 Allocation **ains = (Allocation**)(vains); local 232 const_cast<const Allocation **>(ains), inLen,
|
rsScriptC.cpp | 173 const Allocation ** ains, 207 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, 211 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ains[0], aout, 221 const Allocation ** ains, size_t inLen, 238 rsc->mHal.funcs.script.invokeReduce(rsc, this, slot, ains, inLen, aout, sc);
|
rsScriptGroup.cpp | 348 const Allocation *ains[1] = {ain}; local 349 n->mScript->runForEach(rsc, k->mSlot, ains, 350 sizeof(ains) / sizeof(RsAllocation),
|
rs.spec | 408 param RsAllocation * ains 417 param RsAllocation * ains
|
/frameworks/rs/driver/ |
rsdBcc.cpp | 81 const Allocation *ains[1] = {ain}; local 83 rsdScriptInvokeForEachMulti(rsc, s, slot, ains, 1, aout, usr, usrLen, 91 const Allocation ** ains, 99 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc); 128 const Allocation ** ains, size_t inLen, 132 cs->invokeReduce(slot, ains, inLen, aout, sc);
|
rsdBcc.h | 49 const android::renderscript::Allocation ** ains, 57 const android::renderscript::Allocation ** ains,
|
/frameworks/rs/rsov/driver/ |
rsovScript.h | 66 void invokeForEach(uint32_t slot, const Allocation **ains, uint32_t inLen, 70 void invokeReduce(uint32_t slot, const Allocation **ains, uint32_t inLen, 178 uint32_t slot, const android::renderscript::Allocation **ains, size_t inLen, 183 uint32_t slot, const android::renderscript::Allocation **ains, size_t inLen,
|
rsovScript.cpp | 218 void RSoVScript::invokeForEach(uint32_t slot, const Allocation **ains, 223 rsAssert(ains); 226 inputAllocations[i] = static_cast<RSoVAllocation *>(ains[i]->mHal.drv); 233 void RSoVScript::invokeReduce(uint32_t slot, const Allocation **ains, 236 getCpuScript()->invokeReduce(slot, ains, inLen, aout, sc); 839 const Allocation *ains[1] = {ain}; local 841 rsovScriptInvokeForEachMulti(rsc, s, slot, ains, 1, aout, usr, usrLen, sc); 846 const Allocation **ains, size_t inLen, 850 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc); 875 const Allocation **ains, size_t inLen [all...] |
/frameworks/rs/support/jni/ |
android_renderscript_RenderScript.cpp | [all...] |
/frameworks/base/rs/jni/ |
android_renderscript_RenderScript.cpp | [all...] |