HomeSort by relevance Sort by last modified time
    Searched refs:ains (Results 1 - 25 of 35) sorted by null

1 2

  /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 544 bool RsdCpuScriptImpl::reduceMtlsSetup(const Allocation ** ains,
549 rsAssert(ains && (inLen >= 1) && aout);
554 if (allocationLODIsNull(ains[index])) {
567 const Allocation *ain0 = ains[0];
575 if (!ain0->hasSameDims(ains[Index])) {
603 memcpy(mtls->ains, ains, inLen * sizeof(ains[0]));
606 mtls->redp.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr;
607 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 226 protected void forEach(int slot, Allocation[] ains, Allocation aout,
230 forEach(slot, ains, aout, v, null);
236 protected void forEach(int slot, Allocation[] ains, Allocation aout,
241 if (ains != null) {
242 for (Allocation ain : ains) {
248 if (ains == null && aout == null) {
254 if (ains != null) {
255 in_ids = new long[ains.length];
256 for (int index = 0; index < ains.length; ++index) {
257 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,
169 uint32_t slot, const android::renderscript::Allocation **ains, size_t inLen,
174 uint32_t slot, const android::renderscript::Allocation **ains, size_t inLen,
rsovScript.cpp 160 void RSoVScript::invokeForEach(uint32_t slot, const Allocation **ains,
165 rsAssert(ains);
168 inputAllocations[i] = static_cast<RSoVAllocation *>(ains[i]->mHal.drv);
175 void RSoVScript::invokeReduce(uint32_t slot, const Allocation **ains,
178 getCpuScript()->invokeReduce(slot, ains, inLen, aout, sc);
752 const Allocation *ains[1] = {ain}; local
754 rsovScriptInvokeForEachMulti(rsc, s, slot, ains, 1, aout, usr, usrLen, sc);
759 const Allocation **ains, size_t inLen,
763 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc);
788 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...]

Completed in 3613 milliseconds

1 2