/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/base/rs/java/android/renderscript/ |
D | Allocation.java | 1071 …public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp)… in setFromFieldPacker() argument 1082 if(zoff < 0) { in setFromFieldPacker() 1096 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, in setFromFieldPacker() local 1722 private void validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) { in validate3DRange() argument 1727 if (xoff < 0 || yoff < 0 || zoff < 0) { in validate3DRange() 1733 … if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { in validate3DRange() 1746 private void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, in copy3DRangeFromUnchecked() argument 1751 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFromUnchecked() 1767 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, in copy3DRangeFromUnchecked() local 1803 public void copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) { in copy3DRangeFrom() argument [all …]
|
D | RenderScript.java | 543 …native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int … in rsnAllocationElementData() argument 544 …synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compI… in nAllocationElementData() argument 546 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); in nAllocationElementData() 603 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationData3D() argument 606 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, in nAllocationData3D() argument 610 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, in nAllocationData3D() 628 native void rsnAllocationElementRead(long con,long id, int xoff, int yoff, int zoff, in rsnAllocationElementRead() argument 630 synchronized void nAllocationElementRead(long id, int xoff, int yoff, int zoff, in nAllocationElementRead() argument 633 rsnAllocationElementRead(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); in nAllocationElementRead() 646 native void rsnAllocationRead3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationRead3D() argument [all …]
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | rasterize.rs | 28 static float zoff[12]; 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/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Allocation.java | 1677 private void validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) { in validate3DRange() argument 1682 if (xoff < 0 || yoff < 0 || zoff < 0) { in validate3DRange() 1688 … if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { in validate3DRange() 1701 private void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, in copy3DRangeFromUnchecked() argument 1704 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFromUnchecked() 1720 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, in copy3DRangeFromUnchecked() local 1753 public void copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) { in copy3DRangeFrom() argument 1754 copy3DRangeFromUnchecked(xoff, yoff, zoff, w, h, d, array, in copy3DRangeFrom() 1774 public void copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, in copy3DRangeFrom() argument 1777 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom() [all …]
|
D | RenderScript.java | 537 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationData3D() argument 540 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, in nAllocationData3D() argument 544 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, in nAllocationData3D()
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 123 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 138 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
D | rsdAllocation.cpp | 92 uint32_t xoff, uint32_t yoff, uint32_t zoff, in GetOffsetPtr() argument 96 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr() 953 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationData3D() argument 967 for (uint32_t z = zoff; z < (d + zoff); z++) { in rsdAllocationData3D() 1033 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationRead3D() argument 1044 for (uint32_t z = zoff; z < (d + zoff); z++) { in rsdAllocationRead3D()
|
/frameworks/rs/ |
D | rsAllocation.cpp | 215 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() argument 218 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data() 256 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read() argument 264 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read() 747 …ion3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in rsi_Allocation3DData() argument 750 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DData() 957 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsi_Allocation3DRead() argument 961 a->read(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DRead()
|
D | rsAllocation.h | 139 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 145 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 | 249 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 261 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1403 jint xoff, jint yoff, jint zoff, in nAllocationElementData() argument 1409 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, in nAllocationElementData() 1418 xoff, yoff, zoff, in nAllocationElementData() 1471 …3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, in nAllocationData3D() argument 1478 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationData3D() 1483 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); in nAllocationData3D() 1545 jint xoff, jint yoff, jint zoff, in nAllocationElementRead() argument 1551 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, in nAllocationElementRead() 1560 xoff, yoff, zoff, in nAllocationElementRead() 1584 …3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, in nAllocationRead3D() argument [all …]
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 1258 …3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, in nAllocationData3D() argument 1264 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationData3D() 1268 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); in nAllocationData3D()
|