Home
last modified time | relevance | path

Searched refs:rsMin (Results 1 – 9 of 9) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve5x5.cpp77 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(p->dimX-1)); in One()
78 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(p->dimX-1)); in One()
137 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); in kernel()
138 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); in kernel()
DrsCpuScript.cpp515 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); in forEachMtlsSetup()
516 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); in forEachMtlsSetup()
526 mtls->yStart = rsMin(mtls->fep.dimY, sc->yStart); in forEachMtlsSetup()
527 mtls->yEnd = rsMin(mtls->fep.dimY, sc->yEnd); in forEachMtlsSetup()
537 mtls->zStart = rsMin(mtls->fep.dimZ, sc->zStart); in forEachMtlsSetup()
538 mtls->zEnd = rsMin(mtls->fep.dimZ, sc->zEnd); in forEachMtlsSetup()
DrsCpuIntrinsicConvolve3x3.cpp77 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)p->dimX-1); in ConvolveOne()
106 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1)); in kernel()
DrsCpuIntrinsicBlur.cpp123 validY = rsMin(validY, (int)(p->dimY - 1)); in OneVU4()
141 validY = rsMin(validY, (int)(p->dimY - 1)); in OneVU1()
247 validX = rsMin(validX, (int)(p->dimX - 1)); in OneHU4()
262 validX = rsMin(validX, (int)(p->dimX - 1)); in OneHU1()
DrsCpuCore.cpp314 yEnd = rsMin(yEnd, mtls->yEnd); in wc_xy()
344 xEnd = rsMin(xEnd, mtls->xEnd); in wc_x()
377 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
396 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
/frameworks/rs/scriptc/
Drs_atomic.rsh175 * addr[0] = rsMin(addr[0], value)
186 * addr[0] = rsMin(addr[0], value)
209 * addr[0] = rsMin(addr[0], value)
/frameworks/rs/
DrsCppUtils.h131 T rsMin(T in1, T in2) in rsMin() function
DrsMesh.cpp258 mBBoxMin[v] = rsMin(mBBoxMin[v], posPtr[v]); in computeBBox()
/frameworks/rs/driver/
DrsdShader.cpp453 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso); in setupSampler()