/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
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;
|
/frameworks/rs/cpp/ |
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() 396 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t … in copy3DRangeFrom() argument 398 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom() 399 …Dispatch(mRS, RS::dispatch->AllocationCopy3DRange(mRS->getContext(), getIDSafe(), xoff, yoff, zoff, in copy3DRangeFrom() 404 void Allocation::copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeTo() argument [all …]
|
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,
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | ortho.h | 19 const T zoff = -(zfar + znear) / (zfar - znear); in OrthoMatrix() local 23 0, 0, c, zoff, in OrthoMatrix()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Allocation.java | 1075 …public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp)… in setFromFieldPacker() argument 1086 if(zoff < 0) { in setFromFieldPacker() 1100 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, in setFromFieldPacker() local 1726 private void validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) { in validate3DRange() argument 1731 if (xoff < 0 || yoff < 0 || zoff < 0) { in validate3DRange() 1737 … if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { in validate3DRange() 1750 private void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, in copy3DRangeFromUnchecked() argument 1755 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFromUnchecked() 1771 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, in copy3DRangeFromUnchecked() local 1807 public void copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) { in copy3DRangeFrom() argument [all …]
|
D | RenderScript.java | 549 …native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int … in rsnAllocationElementData() argument 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 [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
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 …]
|
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()
|
/frameworks/rs/ |
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()
|
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,
|
D | rs.spec | 219 param uint32_t zoff 271 param uint32_t zoff
|
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,
|
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()
|
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,
|
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()
|
/frameworks/rs/driver/ |
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,
|
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()
|
/frameworks/base/rs/jni/ |
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() 1583 …3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, in nAllocationRead3D() argument [all …]
|
/frameworks/rs/support/jni/ |
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()
|