Searched refs:rsMax (Results 1 – 10 of 10) sorted by relevance
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 106 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 107 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 141 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 142 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 176 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 177 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 257 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 258 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 280 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 281 int xs1 = rsMax(0, startx + 1); in OneBiCubic() [all …]
|
D | rsCpuIntrinsicConvolve5x5.cpp | 87 uint32_t x0 = rsMax((int32_t)x-2, 0); in OneU4() 88 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneU4() 130 uint32_t x0 = rsMax((int32_t)x-2, 0); in OneU2() 131 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneU2() 173 uint32_t x0 = rsMax((int32_t)x-2, 0); in OneU1() 174 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneU1() 216 uint32_t x0 = rsMax((int32_t)x-2, 0); in OneF4() 217 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneF4() 258 uint32_t x0 = rsMax((int32_t)x-2, 0); in OneF2() 259 uint32_t x1 = rsMax((int32_t)x-1, 0); in OneF2() [all …]
|
D | rsCpuIntrinsicConvolve3x3.cpp | 88 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU4() 110 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU2() 131 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU1() 150 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF4() 161 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF2() 172 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF1() 192 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU4() 239 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU2() 284 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU1() 329 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelF4() [all …]
|
D | rsCpuIntrinsicBlur.cpp | 120 int validY = rsMax((y + r), 0); in OneVU4() 138 int validY = rsMax((y + r), 0); in OneVU1() 253 using android::renderscript::rsMax; 260 int validX = rsMax((x + r), 0); in OneHU4() 275 int validX = rsMax((x + r), 0); in OneHU1() 383 if (cp->mIradius > 8 || (info->dim.x - rsMax(0, (int32_t)x1 - 8)) >= 16) { in kernelU1()
|
D | rsCpuScript.cpp | 599 mtls->end.x = rsMax((uint32_t)1, mtls->end.x); in reduceMtlsSetup() 600 mtls->end.y = rsMax((uint32_t)1, mtls->end.y); in reduceMtlsSetup() 708 mtls->end.x = rsMax((uint32_t)1, mtls->end.x); in forEachMtlsSetup() 709 mtls->end.y = rsMax((uint32_t)1, mtls->end.y); in forEachMtlsSetup()
|
D | rsCpuCore.cpp | 767 mtls->mSliceSize = rsMax(1U, mtls->redp.dim.y / (numThreads * 4)); in launchReduceParallel() 770 mtls->mSliceSize = rsMax(1U, mtls->redp.dim.x / (numThreads * 4)); in launchReduceParallel()
|
/frameworks/rs/ |
D | rsType.cpp | 81 mHal.state.lodCount = rsMax(l2x, l2y); in compute() 82 mHal.state.lodCount = rsMax(mHal.state.lodCount, l2z); in compute() 110 mCellCount += tx * rsMax(ty, 1u) * rsMax(tz, 1u); in compute()
|
D | rsCppUtils.h | 112 T rsMax(T in1, T in2) { in rsMax() function
|
D | rsMesh.cpp | 256 mBBoxMax[v] = rsMax(mBBoxMax[v], posPtr[v]); in computeBBox()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 43 using android::renderscript::rsMax; 314 size_t o = alloc->mHal.drvState.lod[0].stride * rsMax(alloc->mHal.drvState.lod[0].dimY, 1u) * in AllocationBuildPointerTable() 315 rsMax(alloc->mHal.drvState.lod[0].dimZ, 1u); in AllocationBuildPointerTable() 333 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable() 513 uint32_t lodCount = rsMax(alloc->mHal.drvState.lodCount, (uint32_t)1); in rsdAllocationAdapterOffset()
|