Home
last modified time | relevance | path

Searched refs:inLen (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp67 rsAssert(kinfo->inLen == 1); in scriptGroupRoot()
85 rsAssert(kinfo->inLen == 0); in scriptGroupRoot()
212 uint32_t inLen; in execute() local
216 inLen = 0; in execute()
220 inLen = 1; in execute()
224 bool launchOK = si->forEachMtlsSetup(ains, inLen, outs[ct], nullptr, 0, nullptr, &mtls); in execute()
227 si->preLaunch(slot, ains, inLen, outs[ct], mtls.fep.usr, in execute()
231 mCtx->launchForEach(ains, inLen, outs[ct], nullptr, &mtls); in execute()
234 si->postLaunch(slot, ains, inLen, outs[ct], nullptr, 0, nullptr); in execute()
243 uint32_t inLen; in execute() local
[all …]
DrsCpuScript.cpp555 uint32_t inLen, in reduceMtlsSetup() argument
559 rsAssert(ains && (inLen >= 1) && aout); in reduceMtlsSetup()
563 for (int index = inLen; --index >= 0;) { in reduceMtlsSetup()
584 for (int Index = inLen; --Index >= 1;) { in reduceMtlsSetup()
613 memcpy(mtls->ains, ains, inLen * sizeof(ains[0])); in reduceMtlsSetup()
614 mtls->redp.inLen = inLen; in reduceMtlsSetup()
615 for (int index = inLen; --index >= 0;) { in reduceMtlsSetup()
626 uint32_t inLen, in forEachMtlsSetup() argument
631 if (ains == nullptr && inLen != 0) { in forEachMtlsSetup()
640 for (int index = inLen; --index >= 0;) { in forEachMtlsSetup()
[all …]
DrsCpuIntrinsic.cpp77 uint32_t inLen, Allocation * aout, in preLaunch() argument
83 uint32_t inLen, Allocation * aout, in postLaunch() argument
90 uint32_t inLen, in invokeForEach() argument
98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); in invokeForEach()
100 if (forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls)) { in invokeForEach()
108 mCtx->launchForEach(ains, inLen, aout, sc, &mtls); in invokeForEach()
112 postLaunch(slot, ains, inLen, aout, usr, usrLen, sc); in invokeForEach()
DrsCpuScript.h50 uint32_t inLen, Allocation * aout, const void * usr,
53 uint32_t inLen, Allocation * aout,
59 uint32_t inLen,
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,
DrsCpuIntrinsic.h51 uint32_t inLen,
62 uint32_t inLen, Allocation * aout, const void * usr,
65 uint32_t inLen, Allocation * aout,
DrsCpuCore.h167 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,
DrsCpuIntrinsicHistogram.cpp36 void preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen,
39 void postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen,
97 uint32_t inLen, Allocation * aout, in preLaunch() argument
145 uint32_t inLen, Allocation * aout, in postLaunch() argument
Drsd_cpu.h59 uint32_t inLen,
66 const Allocation ** ains, uint32_t inLen,
DrsCpuCore.cpp338 for (uint32_t i = 0; i < fep->inLen; i++) { in FepPtrSetup()
340 rsAssert(fep->inLen == 1); in FepPtrSetup()
357 for (uint32_t i = 0; i < redp->inLen; i++) { in RedpPtrSetup()
652 uint32_t inLen, in launchReduce() argument
657 launchReduceParallel(ains, inLen, aout, mtls); in launchReduce()
659 launchReduceSerial(ains, inLen, aout, mtls); in launchReduce()
669 uint32_t inLen, in launchReduceSerial() argument
716 uint32_t inLen, in launchReduceParallel() argument
721 launchReduceSerial(ains, inLen, aout, mtls); in launchReduceParallel()
827 uint32_t inLen, in launchForEach() argument
DrsCpuCoreRuntime.h45 uint32_t inLen; member
DrsCpuScriptGroup2.cpp42 const size_t oldInLen = mutable_kinfo->inLen; in groupRoot()
65 mutable_kinfo->inLen = closure->mNumArg; in groupRoot()
84 mutable_kinfo->inLen = oldInLen; in groupRoot()
DrsCpuIntrinsicColorMatrix.cpp168 uint32_t inLen, Allocation * aout, const void * usr,
944 uint32_t inLen, in preLaunch() argument
DrsCpuIntrinsicResize.cpp36 uint32_t inLen, Allocation * aout, const void * usr,
638 uint32_t inLen, Allocation * aout, in preLaunch() argument
/frameworks/rs/rsov/driver/
DrsovScript.h66 void invokeForEach(uint32_t slot, const Allocation **ains, uint32_t inLen,
70 void invokeReduce(uint32_t slot, const Allocation **ains, uint32_t inLen,
106 void InitDescriptorAndPipelineLayouts(uint32_t inLen);
108 void InitDescriptorPool(uint32_t inLen);
114 void runForEach(uint32_t slot, 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,
DrsovScript.cpp219 uint32_t inLen, Allocation *aout, in invokeForEach() argument
224 std::vector<RSoVAllocation *> inputAllocations(inLen); in invokeForEach()
225 for (uint32_t i = 0; i < inLen; ++i) { in invokeForEach()
230 runForEach(slot, inLen, inputAllocations, outputAllocation); in invokeForEach()
234 uint32_t inLen, Allocation *aout, in invokeReduce() argument
236 getCpuScript()->invokeReduce(slot, ains, inLen, aout, sc); in invokeReduce()
339 void RSoVScript::InitDescriptorAndPipelineLayouts(uint32_t inLen) { in InitDescriptorAndPipelineLayouts() argument
342 inLen + 3, { in InitDescriptorAndPipelineLayouts()
347 for (uint32_t i = 0; i < inLen + 3; i++) { in InitDescriptorAndPipelineLayouts()
355 .bindingCount = inLen + 3, in InitDescriptorAndPipelineLayouts()
[all …]
/frameworks/rs/
DrsScriptIntrinsic.cpp61 size_t inLen, in runForEach() argument
67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, in runForEach()
72 const Allocation ** ains, size_t inLen, in runReduce() argument
DrsScriptIntrinsic.h46 size_t inLen,
53 const Allocation ** ains, size_t inLen,
DrsScriptC.h44 size_t inLen,
51 const Allocation ** ains, size_t inLen,
DrsScriptC.cpp174 size_t inLen, in runForEach() argument
207 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, in runForEach()
210 } else if (inLen == 1) { in runForEach()
221 const Allocation ** ains, size_t inLen, in runReduce() argument
238 rsc->mHal.funcs.script.invokeReduce(rsc, this, slot, ains, inLen, aout, sc); in runReduce()
DrsScript.cpp193 RsAllocation *vains, size_t inLen, in rsi_ScriptForEachMulti() argument
202 const_cast<const Allocation **>(ains), inLen, in rsi_ScriptForEachMulti()
225 RsAllocation *vains, size_t inLen, in rsi_ScriptReduce() argument
232 const_cast<const Allocation **>(ains), inLen, in rsi_ScriptReduce()
DrsScript.h129 size_t inLen,
136 const Allocation **ains, size_t inLen,
DrsHidlAdaptation.cpp758 size_t inLen = 0; in ScriptForEach() local
761 inLen = 1; in ScriptForEach()
763 ScriptForEachMulti(context, script, slot, vains, inLen, vaout, params, paramLen, sc, scLen); in ScriptForEach()
767 RsAllocation *vains, size_t inLen, in ScriptForEachMulti() argument
774 std::vector<Allocation> _vains(inLen); in ScriptForEachMulti()
775 for (size_t i = 0; i < inLen; i++) { in ScriptForEachMulti()
809 RsAllocation *vains, size_t inLen, RsAllocation vaout, in ScriptReduce() argument
814 std::vector<Allocation> _vains(inLen); in ScriptReduce()
815 for (size_t i = 0; i < inLen; i++) { in ScriptReduce()
Drs_hal.h179 const Allocation ** ains, size_t inLen,
212 size_t inLen,
/frameworks/rs/driver/
DrsdBcc.cpp92 size_t inLen, in rsdScriptInvokeForEachMulti() argument
99 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc); in rsdScriptInvokeForEachMulti()
128 const Allocation ** ains, size_t inLen, in rsdScriptInvokeReduce() argument
132 cs->invokeReduce(slot, ains, inLen, aout, sc); in rsdScriptInvokeReduce()
DrsdBcc.h50 size_t inLen,
58 size_t inLen,

12