Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve5x5.cpp96 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(p->dimX-1)); in OneU4()
97 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(p->dimX-1)); in OneU4()
139 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(p->dimX-1)); in OneU2()
140 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(p->dimX-1)); in OneU2()
182 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(p->dimX-1)); in OneU1()
183 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(p->dimX-1)); in OneU1()
225 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(p->dimX-1)); in OneF4()
226 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(p->dimX-1)); in OneF4()
267 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(p->dimX-1)); in OneF2()
268 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(p->dimX-1)); in OneF2()
[all …]
DrsCpuIntrinsicResize.cpp91 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
92 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
126 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
127 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
161 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
162 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
198 int ys2 = rsMin(maxy, starty + 2); in kernelU4()
199 int ys3 = rsMin(maxy, starty + 3); in kernelU4()
238 int ys2 = rsMin(maxy, starty + 2); in kernelU2()
239 int ys3 = rsMin(maxy, starty + 3); in kernelU2()
[all …]
DrsCpuIntrinsicConvolve3x3.cpp96 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)p->dimX-1); in ConvolveOneU4()
118 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)p->dimX-1); in ConvolveOneU2()
139 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)p->dimX-1); in ConvolveOneU1()
158 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)p->dimX-1); in ConvolveOneF4()
169 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)p->dimX-1); in ConvolveOneF2()
180 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)p->dimX-1); in ConvolveOneF1()
198 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1)); in kernelU4()
245 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1)); in kernelU2()
290 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1)); in kernelU1()
335 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1)); in kernelF4()
[all …]
DrsCpuScript.cpp843 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); in forEachMtlsSetup()
844 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); in forEachMtlsSetup()
854 mtls->yStart = rsMin(mtls->fep.dimY, sc->yStart); in forEachMtlsSetup()
855 mtls->yEnd = rsMin(mtls->fep.dimY, sc->yEnd); in forEachMtlsSetup()
865 mtls->zStart = rsMin(mtls->fep.dimZ, sc->zStart); in forEachMtlsSetup()
866 mtls->zEnd = rsMin(mtls->fep.dimZ, sc->zEnd); in forEachMtlsSetup()
973 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); in forEachMtlsSetup()
974 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); in forEachMtlsSetup()
984 mtls->yStart = rsMin(mtls->fep.dimY, sc->yStart); in forEachMtlsSetup()
985 mtls->yEnd = rsMin(mtls->fep.dimY, sc->yEnd); in forEachMtlsSetup()
[all …]
DrsCpuCore.cpp366 yEnd = rsMin(yEnd, mtls->yEnd); in wc_xy()
396 xEnd = rsMin(xEnd, mtls->xEnd); in wc_x()
429 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
448 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
501 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
520 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
DrsCpuIntrinsicBlur.cpp124 validY = rsMin(validY, (int)(p->dimY - 1)); in OneVU4()
142 validY = rsMin(validY, (int)(p->dimY - 1)); in OneVU1()
256 validX = rsMin(validX, (int)(p->dimX - 1)); in OneHU4()
271 validX = rsMin(validX, (int)(p->dimX - 1)); in OneHU1()
/frameworks/rs/scriptc/
Drs_atomic.rsh106 * addr[0] = rsMin(addr[0], value)
117 * addr[0] = rsMin(addr[0], value)
140 * addr[0] = rsMin(addr[0], value)
/frameworks/rs/
DrsCppUtils.h199 T rsMin(T in1, T in2) in rsMin() function
DrsMesh.cpp255 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()