Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve5x5.cpp90 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneU4()
91 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU4()
133 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneU2()
134 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU2()
176 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneU1()
177 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU1()
219 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneF4()
220 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneF4()
261 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneF2()
262 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneF2()
[all …]
DrsCpuIntrinsicResize.cpp108 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
109 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
143 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
144 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
178 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
179 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
259 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
260 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
282 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
283 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
[all …]
DrsCpuIntrinsicConvolve3x3.cpp89 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU4()
111 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU2()
132 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU1()
151 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneF4()
162 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneF2()
173 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneF1()
191 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); in kernelU4()
238 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); in kernelU2()
283 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); in kernelU1()
328 uint32_t y1 = rsMin((int32_t)info->current.y + 1, (int32_t)(info->dim.y-1)); in kernelF4()
[all …]
DrsCpuIntrinsicBlur.cpp121 validY = rsMin(validY, (int)(info->dim.y- 1)); in OneVU4()
139 validY = rsMin(validY, (int)(info->dim.y - 1)); in OneVU1()
252 using android::renderscript::rsMin;
261 validX = rsMin(validX, (int)(info->dim.x - 1)); in OneHU4()
276 validX = rsMin(validX, (int)(info->dim.x - 1)); in OneHU1()
DrsCpuCore.cpp429 yEnd = rsMin(yEnd, mtls->end.y); in walk_2d_foreach()
454 xEnd = rsMin(xEnd, mtls->end.x); in walk_1d_foreach()
550 xEnd = rsMin(xEnd, mtls->end.x); in walk_1d_reduce()
589 yEnd = rsMin(yEnd, mtls->end.y); in walk_2d_reduce()
865 mtls->mSliceSize = rsMin(s1, s2); in launchForEach()
887 mtls->mSliceSize = rsMin(s1, s2); in launchForEach()
DrsCpuIntrinsicBLAS.cpp118 tileSizeN = rsMin(nn / THREAD_COUNT, MAX_WORK_PER_THREAD); in setupGEMM()
121 tileSizeM = rsMin(mm / THREAD_COUNT, MAX_WORK_PER_THREAD); in setupGEMM()
171 mEnd = rsMin(mEnd, (uint32_t)call->M); in walk_tiled_gemm()
178 nEnd = rsMin(nEnd, (uint32_t)call->N); in walk_tiled_gemm()
DrsCpuScript.cpp533 rsMin(baseDim.DIM_FIELD, sc->SC_FIELD##Start); \ in setUpMtlsDimensions()
535 rsMin(baseDim.DIM_FIELD, sc->SC_FIELD##End); \ in setUpMtlsDimensions()
/frameworks/rs/
DrsCppUtils.h103 T rsMin(T in1, T in2) in rsMin() function
DrsMesh.cpp255 mBBoxMin[v] = rsMin(mBBoxMin[v], posPtr[v]); in computeBBox()
/frameworks/rs/driver/
DrsdShader.cpp34 using android::renderscript::rsMin;
459 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso); in setupSampler()