Home | History | Annotate | Download | only in cpu_ref

Lines Matching defs:fep

337 //   fep - The forEach parameters (driver info structure)
339 static inline void FepPtrSetup(const MTLaunchStructForEach *mtls, RsExpandKernelDriverInfo *fep,
344 for (uint32_t i = 0; i < fep->inLen; i++) {
345 fep->inPtr[i] = (const uint8_t *)mtls->ains[i]->getPointerUnchecked(x, y, z, lod, face, a1, a2, a3, a4);
348 fep->outPtr[0] = (uint8_t *)mtls->aout[0]->getPointerUnchecked(x, y, z, lod, face, a1, a2, a3, a4);
395 RsExpandKernelDriverInfo fep = mtls->fep;
396 fep.lid = idx;
402 if (!SelectOuterSlice(mtls, &fep, slice)) {
406 for (fep.current.y = mtls->start.y; fep.current.y < mtls->end.y;
407 fep.current.y++) {
409 FepPtrSetup(mtls, &fep, mtls->start.x,
410 fep.current.y, fep.current.z, fep.current.lod,
411 (RsAllocationCubemapFace)fep.current.face,
412 fep.current.array[0], fep.current.array[1],
413 fep.current.array[2], fep.current.array[3]);
415 fn(&fep, mtls->start.x, mtls->end.x, mtls->fep.outStride[0]);
422 RsExpandKernelDriverInfo fep = mtls->fep;
423 fep.lid = idx;
437 for (fep.current.y = yStart; fep.current.y < yEnd; fep.current.y++) {
438 FepPtrSetup(mtls, &fep, mtls->start.x, fep.current.y);
440 fn(&fep, mtls->start.x, mtls->end.x, fep.outStride[0]);
447 RsExpandKernelDriverInfo fep = mtls->fep;
448 fep.lid = idx;
462 FepPtrSetup(mtls, &fep, xStart, 0);
464 fn(&fep, xStart, xEnd, fep.outStride[0]);
852 } else if (mtls->fep.dim.y > 1) {
853 uint32_t s1 = mtls->fep.dim.y / ((mWorkers.mCount + 1) * 4);
875 uint32_t s1 = mtls->fep.dim.x / ((mWorkers.mCount + 1) * 4);
904 while(SelectOuterSlice(mtls, &mtls->fep, slice++)) {
905 for (mtls->fep.current.y = mtls->start.y;
906 mtls->fep.current.y < mtls->end.y;
907 mtls->fep.current.y++) {
909 FepPtrSetup(mtls, &mtls->fep, mtls->start.x,
910 mtls->fep.current.y, mtls->fep.current.z, mtls->fep.current.lod,
911 (RsAllocationCubemapFace) mtls->fep.current.face,
912 mtls->fep.current.array[0], mtls->fep.current.array[1],
913 mtls->fep.current.array[2], mtls->fep.current.array[3]);
915 fn(&mtls->fep, mtls->start.x, mtls->end.x, mtls->fep.outStride[0]);