Home
last modified time | relevance | path

Searched refs:kinfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp45 typedef void (*ScriptGroupRootFunc_t)(const RsExpandKernelDriverInfo *kinfo,
49 void CpuScriptGroupImpl::scriptGroupRoot(const RsExpandKernelDriverInfo *kinfo, in scriptGroupRoot() argument
54 const ScriptList *sl = (const ScriptList *)kinfo->usr; in scriptGroupRoot()
55 RsExpandKernelDriverInfo *mkinfo = const_cast<RsExpandKernelDriverInfo *>(kinfo); in scriptGroupRoot()
65 rsAssert(kinfo->inLen == 1); in scriptGroupRoot()
74 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->current.y); in scriptGroupRoot()
76 } else if (sl->ins[ct]->mHal.drvState.lod[0].dimY > kinfo->lid) { in scriptGroupRoot()
79 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->lid); in scriptGroupRoot()
83 rsAssert(kinfo->inLen == 0); in scriptGroupRoot()
91 rsAssert(kinfo->outLen == 1); in scriptGroupRoot()
[all …]
DrsCpuScriptGroup2.cpp37 void groupRoot(const RsExpandKernelDriverInfo *kinfo, uint32_t xstart, in groupRoot() argument
39 const List<CPUClosure*>& closures = *(List<CPUClosure*>*)kinfo->usr; in groupRoot()
40 RsExpandKernelDriverInfo *mutable_kinfo = const_cast<RsExpandKernelDriverInfo *>(kinfo); in groupRoot()
59 if (kinfo->dim.y > 1) { in groupRoot()
60 ptr += a->mHal.drvState.lod[0].stride * kinfo->current.y; in groupRoot()
71 if (kinfo->dim.y > 1) { in groupRoot()
72 ptr += out->mHal.drvState.lod[0].stride * kinfo->current.y; in groupRoot()
75 rsAssert(kinfo->outLen <= 1); in groupRoot()
78 cpuClosure->mFunc(kinfo, xstart, xend, ostep); in groupRoot()