Lines Matching refs:sc
799 const RsScriptCall *sc, in forEachMtlsSetup() argument
842 if (!sc || (sc->xEnd == 0)) { in forEachMtlsSetup()
845 rsAssert(sc->xStart < mtls->fep.dimX); in forEachMtlsSetup()
846 rsAssert(sc->xEnd <= mtls->fep.dimX); in forEachMtlsSetup()
847 rsAssert(sc->xStart < sc->xEnd); in forEachMtlsSetup()
848 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); in forEachMtlsSetup()
849 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); in forEachMtlsSetup()
853 if (!sc || (sc->yEnd == 0)) { in forEachMtlsSetup()
856 rsAssert(sc->yStart < mtls->fep.dimY); in forEachMtlsSetup()
857 rsAssert(sc->yEnd <= mtls->fep.dimY); in forEachMtlsSetup()
858 rsAssert(sc->yStart < sc->yEnd); in forEachMtlsSetup()
859 mtls->yStart = rsMin(mtls->fep.dimY, sc->yStart); in forEachMtlsSetup()
860 mtls->yEnd = rsMin(mtls->fep.dimY, sc->yEnd); in forEachMtlsSetup()
864 if (!sc || (sc->zEnd == 0)) { in forEachMtlsSetup()
867 rsAssert(sc->zStart < mtls->fep.dimZ); in forEachMtlsSetup()
868 rsAssert(sc->zEnd <= mtls->fep.dimZ); in forEachMtlsSetup()
869 rsAssert(sc->zStart < sc->zEnd); in forEachMtlsSetup()
870 mtls->zStart = rsMin(mtls->fep.dimZ, sc->zStart); in forEachMtlsSetup()
871 mtls->zEnd = rsMin(mtls->fep.dimZ, sc->zEnd); in forEachMtlsSetup()
912 const RsScriptCall *sc, in forEachMtlsSetup() argument
972 if (!sc || (sc->xEnd == 0)) { in forEachMtlsSetup()
975 rsAssert(sc->xStart < mtls->fep.dimX); in forEachMtlsSetup()
976 rsAssert(sc->xEnd <= mtls->fep.dimX); in forEachMtlsSetup()
977 rsAssert(sc->xStart < sc->xEnd); in forEachMtlsSetup()
978 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); in forEachMtlsSetup()
979 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); in forEachMtlsSetup()
983 if (!sc || (sc->yEnd == 0)) { in forEachMtlsSetup()
986 rsAssert(sc->yStart < mtls->fep.dimY); in forEachMtlsSetup()
987 rsAssert(sc->yEnd <= mtls->fep.dimY); in forEachMtlsSetup()
988 rsAssert(sc->yStart < sc->yEnd); in forEachMtlsSetup()
989 mtls->yStart = rsMin(mtls->fep.dimY, sc->yStart); in forEachMtlsSetup()
990 mtls->yEnd = rsMin(mtls->fep.dimY, sc->yEnd); in forEachMtlsSetup()
994 if (!sc || (sc->zEnd == 0)) { in forEachMtlsSetup()
997 rsAssert(sc->zStart < mtls->fep.dimZ); in forEachMtlsSetup()
998 rsAssert(sc->zEnd <= mtls->fep.dimZ); in forEachMtlsSetup()
999 rsAssert(sc->zStart < sc->zEnd); in forEachMtlsSetup()
1000 mtls->zStart = rsMin(mtls->fep.dimZ, sc->zStart); in forEachMtlsSetup()
1001 mtls->zEnd = rsMin(mtls->fep.dimZ, sc->zEnd); in forEachMtlsSetup()
1056 const RsScriptCall *sc) { in invokeForEach() argument
1059 forEachMtlsSetup(ain, aout, usr, usrLen, sc, &mtls); in invokeForEach()
1063 mCtx->launchThreads(ain, aout, sc, &mtls); in invokeForEach()
1073 const RsScriptCall *sc) { in invokeForEachMulti() argument
1077 forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls); in invokeForEachMulti()
1081 mCtx->launchThreads(ains, inLen, aout, sc, &mtls); in invokeForEachMulti()
1348 uint32_t usrLen, const RsScriptCall *sc) in preLaunch() argument
1354 uint32_t usrLen, const RsScriptCall *sc) in postLaunch() argument