/aosp12/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 365 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in validate3DRange() argument 370 … if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { in validate3DRange() 376 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeFrom() argument 378 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom() 383 … tryDispatch(mRS, RS::dispatch->Allocation3DData(mRS->getContext(), getIDSafe(), xoff, yoff, zoff, in copy3DRangeFrom() 389 … tryDispatch(mRS, RS::dispatch->Allocation3DData(mRS->getContext(), getIDSafe(), xoff, yoff, zoff, in copy3DRangeFrom() 398 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom() 404 void Allocation::copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeTo() argument 406 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeTo() 410 … tryDispatch(mRS, RS::dispatch->Allocation3DRead(mRS->getContext(), getIDSafe(), xoff, yoff, zoff, in copy3DRangeTo() [all …]
|
H A D | rsCppStructs.h | 612 void validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, 803 void copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, 819 void copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, 835 void copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
|
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | rasterize.rscript | 28 static float zoff[12]; 49 // string(solve([x1*dx+y1*dy+zoff=z1,x2*dx+y2*dy+zoff=z2,x3*dx+y3*dy+zoff=z3],[dx,dy,zoff])); 61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) + 118 float z = zoff[i] + delta.x + delta.y;
|
/aosp12/frameworks/base/rs/java/android/renderscript/ |
H A D | Allocation.java | 1086 if(zoff < 0) { in setFromFieldPacker() 1100 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, in setFromFieldPacker() local 1731 if (xoff < 0 || yoff < 0 || zoff < 0) { in validate3DRange() 1755 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFromUnchecked() 1810 copy3DRangeFromUnchecked(xoff, yoff, zoff, w, h, d, array, in copy3DRangeFrom() 1836 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom() 1837 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, in copy3DRangeFrom() local 2043 if(zoff < 0) { in copyToFieldPacker() 2057 mRS.nAllocationElementRead(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, in copyToFieldPacker() local 2594 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeToUnchecked() [all …]
|
H A D | RenderScript.java | 550 …synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compI… in nAllocationElementData() argument 552 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); in nAllocationElementData() 609 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationData3D() argument 612 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, in nAllocationData3D() argument 616 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, in nAllocationData3D() 634 native void rsnAllocationElementRead(long con,long id, int xoff, int yoff, int zoff, in rsnAllocationElementRead() argument 636 synchronized void nAllocationElementRead(long id, int xoff, int yoff, int zoff, in nAllocationElementRead() argument 639 rsnAllocationElementRead(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); in nAllocationElementRead() 652 native void rsnAllocationRead3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationRead3D() argument 655 synchronized void nAllocationRead3D(long id, int xoff, int yoff, int zoff, int mip, in nAllocationRead3D() argument [all …]
|
/aosp12/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | ortho.h | 19 const T zoff = -(zfar + znear) / (zfar - znear); in OrthoMatrix() local 23 0, 0, c, zoff, in OrthoMatrix()
|
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/ |
H A D | Allocation.java | 1682 private void validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) { in validate3DRange() argument 1687 if (xoff < 0 || yoff < 0 || zoff < 0) { in validate3DRange() 1693 … if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { in validate3DRange() 1706 private void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, in copy3DRangeFromUnchecked() argument 1709 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFromUnchecked() 1725 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, in copy3DRangeFromUnchecked() local 1758 public void copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) { in copy3DRangeFrom() argument 1759 copy3DRangeFromUnchecked(xoff, yoff, zoff, w, h, d, array, in copy3DRangeFrom() 1779 public void copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, in copy3DRangeFrom() argument 1782 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom() [all …]
|
H A D | RenderScript.java | 554 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationData3D() argument 557 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, in nAllocationData3D() argument 561 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, in nAllocationData3D()
|
/aosp12/frameworks/rs/ |
H A D | rsAllocation.cpp | 218 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() argument 221 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data() 261 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read() argument 269 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read() 707 …ion3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in rsi_Allocation3DData() argument 710 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DData() 917 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsi_Allocation3DRead() argument 921 a->read(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DRead()
|
H A D | rsAllocation.h | 135 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 141 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
H A D | rs.spec | 219 param uint32_t zoff 271 param uint32_t zoff
|
H A D | rsApiStubs.cpp | 422 …location3DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsAllocation3DData() argument 426 …RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, s… in rsAllocation3DData() 458 …location3DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsAllocation3DRead() argument 462 …RS_DISPATCH(ctxWrapper, Allocation3DRead, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, s… in rsAllocation3DRead()
|
H A D | rs_hal.h | 252 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 264 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
H A D | rsApiStubs.h | 125 uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, 142 uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d,
|
H A D | rsHidlAdaptation.cpp | 600 …ontext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in Allocation3DData() argument 608 …GetIContextHandle(context)->allocation3DWrite(_allocation, xoff, yoff, zoff, lod, w, h, d, _data, … in Allocation3DData() 650 …ontext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in Allocation3DRead() argument 655 …GetIContextHandle(context)->allocation3DRead(_allocation, xoff, yoff, zoff, lod, w, h, d, data, si… in Allocation3DRead()
|
/aosp12/frameworks/rs/driver/ |
H A D | rsdAllocation.h | 121 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 136 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
H A D | rsdAllocation.cpp | 88 uint32_t xoff, uint32_t yoff, uint32_t zoff, in GetOffsetPtr() argument 92 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr() 911 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationData3D() argument 925 for (uint32_t z = zoff; z < (d + zoff); z++) { in rsdAllocationData3D() 991 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationRead3D() argument 1002 for (uint32_t z = zoff; z < (d + zoff); z++) { in rsdAllocationRead3D()
|
/aosp12/frameworks/layoutlib/bridge/src/android/view/shadow/ |
H A D | TriangleBuffer.java | 123 float zoff = (float) ((fx1 * (fy3 * fz2 - fy2 * fz3) + fy1 in triangleZBuffMin() local 191 float p = zoff + dy * y; in triangleZBuffMin()
|
/aosp12/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1402 jint xoff, jint yoff, jint zoff, in nAllocationElementData() argument 1408 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, in nAllocationElementData() 1417 xoff, yoff, zoff, in nAllocationElementData() 1470 …3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, in nAllocationData3D() argument 1477 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationData3D() 1482 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); in nAllocationData3D() 1544 jint xoff, jint yoff, jint zoff, in nAllocationElementRead() argument 1550 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, in nAllocationElementRead() 1559 xoff, yoff, zoff, in nAllocationElementRead() 1590 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationRead3D() [all …]
|
/aosp12/hardware/interfaces/renderscript/1.0/default/ |
H A D | Context.h | 70 …tion3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint… 76 …ation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint…
|
H A D | Context.cpp | 203 …tion3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint… in allocation3DWrite() argument 207 uint32_t _zoff = zoff; in allocation3DWrite() 272 …ation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint… in allocation3DRead() argument 276 uint32_t _zoff = zoff; in allocation3DRead()
|
/aosp12/hardware/interfaces/renderscript/1.0/ |
H A D | IContext.hal | 276 * @param zoff Z offset of the region to update in this Allocation 288 uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, 408 * @param zoff Z offset of the region to copy in this array 421 uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h,
|
/aosp12/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1260 …3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, in nAllocationData3D() argument 1266 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationData3D() 1270 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); in nAllocationData3D()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |