HomeSort by relevance Sort by last modified time
    Searched refs:ains (Results 1 - 25 of 26) 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->launchThreads(ains, inLen, aout, sc, &mtls);
112 postLaunch(slot, ains, inLen, aout, usr, usrLen, sc);
rsCpuIntrinsic.h 46 void preLaunch(uint32_t slot, const Allocation ** ains,
49 void postLaunch(uint32_t slot, const Allocation ** ains,
rsCpuScriptGroup.cpp 215 const Allocation **ains; local
219 ains = nullptr;
223 ains = const_cast<const Allocation**>(&ins[ct]);
226 bool launchOK = si->forEachMtlsSetup(ains, inLen, outs[ct], nullptr, 0, nullptr, &mtls);
229 si->preLaunch(slot, ains, inLen, outs[ct], mtls.fep.usr,
233 mCtx->launchThreads(ains, inLen, outs[ct], nullptr, &mtls);
236 si->postLaunch(slot, ains, inLen, outs[ct], nullptr, 0, nullptr);
246 const Allocation **ains; local
250 ains = nullptr;
254 ains = const_cast<const Allocation**>(&ins[0])
    [all...]
rsCpuScript.h 64 virtual void preLaunch(uint32_t slot, const Allocation ** ains,
67 virtual void postLaunch(uint32_t slot, const Allocation ** ains,
73 const Allocation ** ains,
98 bool forEachMtlsSetup(const Allocation ** ains, uint32_t inLen,
rsCpuScript.cpp 515 bool RsdCpuScriptImpl::forEachMtlsSetup(const Allocation ** ains,
525 const Allocation* ain = ains[index];
546 const Allocation *ain0 = ains[0];
554 if (!ain0->hasSameDims(ains[Index])) {
581 if (!ains[0]->hasSameDims(aout)) {
679 if (ains) {
680 memcpy(mtls->ains, ains, inLen * sizeof(ains[0]));
693 mtls->fep.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr
    [all...]
rsCpuCore.h 61 const Allocation * ains[RS_KERNEL_INPUT_LIMIT]; member in struct:android::renderscript::MTLaunchStruct
91 void launchThreads(const Allocation** ains, uint32_t inLen, Allocation* aout,
rsCpuIntrinsicHistogram.cpp 39 void preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen,
42 void postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen,
102 const Allocation ** ains,
129 switch(ains[0]->getType()->getElement()->getVectorSize()) {
150 const Allocation ** ains,
rsd_cpu.h 72 const Allocation ** ains,
rsCpuCore.cpp 342 fep->inPtr[i] = (const uint8_t *)mtls->ains[i]->getPointerUnchecked(x, y, z, lod, face, a1, a2, a3, a4);
454 void RsdCpuReferenceImpl::launchThreads(const Allocation ** ains,
486 } else if (mtls->ains[0]) {
487 s2 = targetByteChunk / mtls->ains[0]->mHal.drvState.lod[0].stride;
508 } else if (mtls->ains[0]) {
509 s2 = targetByteChunk / mtls->ains[0]->getType()->getElementSizeBytes();
rsCpuIntrinsicColorMatrix.cpp 170 void preLaunch(uint32_t slot, const Allocation ** ains,
941 const Allocation ** ains,
948 const Element *ein = ains[0]->mHal.state.type->getElement();
rsCpuIntrinsicResize.cpp 38 void preLaunch(uint32_t slot, const Allocation ** ains,
644 const Allocation ** ains,
  /frameworks/rs/
rsScriptC.h 47 const Allocation ** ains,
rsScriptIntrinsic.h 45 const Allocation ** ains,
rsScriptIntrinsic.cpp 60 const Allocation** ains,
67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen,
rsScript.cpp 202 Allocation **ains = (Allocation**)(vains); local
205 const_cast<const Allocation **>(ains), inLen,
219 RsAllocation ains[1] = {vain}; local
221 rsi_ScriptForEachMulti(rsc, vs, slot, ains,
222 sizeof(ains) / sizeof(RsAllocation), vaout,
rsScriptC.cpp 189 const Allocation ** ains,
224 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen,
228 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ains[0], aout,
rsScript.h 126 const Allocation ** ains,
rsScriptGroup.cpp 368 const Allocation *ains[1] = {ain}; local
369 n->mScript->runForEach(rsc, k->mSlot, ains,
370 sizeof(ains) / sizeof(RsAllocation),
rs.spec 396 param RsAllocation * ains
rs_hal.h 182 const Allocation ** ains,
  /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...]
RenderScript.java 720 native void rsnScriptForEach(long con, long id, int slot, long[] ains,
723 synchronized void nScriptForEach(long id, int slot, long[] ains, long aout,
726 rsnScriptForEach(mContext, id, slot, ains, aout, params, limits);
    [all...]
  /frameworks/rs/driver/
rsdBcc.cpp 82 const Allocation *ains[1] = {ain}; local
84 rsdScriptInvokeForEachMulti(rsc, s, slot, ains, 1, aout, usr, usrLen,
92 const Allocation ** ains,
100 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc);
rsdBcc.h 49 const android::renderscript::Allocation ** ains,
  /frameworks/base/rs/jni/
android_renderscript_RenderScript.cpp     [all...]

Completed in 3332 milliseconds

1 2