/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 91 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 92 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 126 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 127 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 161 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 162 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 242 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 243 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 265 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 266 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 | 598 mtls->end.x = rsMax((uint32_t)1, mtls->end.x); in reduceMtlsSetup() 599 mtls->end.y = rsMax((uint32_t)1, mtls->end.y); in reduceMtlsSetup() 707 mtls->end.x = rsMax((uint32_t)1, mtls->end.x); in forEachMtlsSetup() 708 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/rsov/driver/ |
D | rsovAllocation.cpp | 100 rsMax(alloc->mHal.drvState.lod[0].dimY, 1u) * in AllocationBuildPointerTable() 101 rsMax(alloc->mHal.drvState.lod[0].dimZ, 1u); in AllocationBuildPointerTable() 119 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable() 296 using android::renderscript::rsMax; 577 uint32_t lodCount = rsMax(alloc->mHal.drvState.lodCount, (uint32_t)1); in rsovAllocationAdapterOffset()
|
D | rsovScript.cpp | 598 const uint32_t height = rsMax(inputAllocations[0]->getHeight(), 1U); in runForEach() 599 const uint32_t depth = rsMax(inputAllocations[0]->getDepth(), 1U); in runForEach()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 42 using android::renderscript::rsMax; 313 size_t o = alloc->mHal.drvState.lod[0].stride * rsMax(alloc->mHal.drvState.lod[0].dimY, 1u) * in AllocationBuildPointerTable() 314 rsMax(alloc->mHal.drvState.lod[0].dimZ, 1u); in AllocationBuildPointerTable() 332 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable() 512 uint32_t lodCount = rsMax(alloc->mHal.drvState.lodCount, (uint32_t)1); in rsdAllocationAdapterOffset()
|