Searched refs:redp (Results 1 – 3 of 3) sorted by relevance
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 357 static inline void RedpPtrSetup(const MTLaunchStructReduce *mtls, RsExpandKernelDriverInfo *redp, in RedpPtrSetup() argument 359 for (uint32_t i = 0; i < redp->inLen; i++) { in RedpPtrSetup() 360 redp->inPtr[i] = (const uint8_t *)mtls->ains[i]->getPointerUnchecked(x, y, z); in RedpPtrSetup() 520 accumPtr = mtls->redp.outPtr[0]; in reduce_get_accumulator() 537 RsExpandKernelDriverInfo redp = mtls->redp; in walk_1d_reduce() local 558 RedpPtrSetup(mtls, &redp, xStart, 0, 0); in walk_1d_reduce() 559 fn(&redp, xStart, xEnd, accumPtr); in walk_1d_reduce() 576 RsExpandKernelDriverInfo redp = mtls->redp; in walk_2d_reduce() local 597 for (redp.current.y = yStart; redp.current.y < yEnd; redp.current.y++) { in walk_2d_reduce() 598 RedpPtrSetup(mtls, &redp, mtls->start.x, redp.current.y, 0); in walk_2d_reduce() [all …]
|
D | rsCpuScript.cpp | 565 mtls->dimPtr = &mtls->redp.dim; in reduceMtlsSetup() 584 mtls->redp.dim.x = inType->getDimX(); in reduceMtlsSetup() 585 mtls->redp.dim.y = inType->getDimY(); in reduceMtlsSetup() 586 mtls->redp.dim.z = inType->getDimZ(); in reduceMtlsSetup() 597 if (!setUpMtlsDimensions(mtls, mtls->redp.dim, sc)) { in reduceMtlsSetup() 612 mtls->redp.outLen = 1; in reduceMtlsSetup() 613 mtls->redp.outPtr[0] = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup() 614 mtls->redp.outStride[0] = aout->getType()->getElementSizeBytes(); in reduceMtlsSetup() 618 mtls->redp.inLen = inLen; in reduceMtlsSetup() 620 mtls->redp.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup() [all …]
|
D | rsCpuCore.h | 92 RsExpandKernelDriverInfo redp; member
|