Home
last modified time | relevance | path

Searched refs:zoff (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/cpp/
DAllocation.cpp365 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 …]
DrsCppStructs.h612 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/
Dortho.h19 const T zoff = -(zfar + znear) / (zfar - znear); in OrthoMatrix() local
23 0, 0, c, zoff, in OrthoMatrix()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java1071 …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 …]
DRenderScript.java543 …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/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Drasterize.rs28 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/rs/rsov/driver/
DrsovAllocation.cpp148 uint32_t zoff, uint32_t lod, in GetOffsetPtr() argument
152 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * in GetOffsetPtr()
390 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsovAllocationData3D() argument
401 for (uint32_t z = zoff; z < (d + zoff); z++) { in rsovAllocationData3D()
460 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsovAllocationRead3D() argument
471 for (uint32_t z = zoff; z < (d + zoff); z++) { in rsovAllocationRead3D()
DrsovAllocation.h102 uint32_t xoff, uint32_t yoff, uint32_t zoff,
121 uint32_t xoff, uint32_t yoff, uint32_t zoff,
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DAllocation.java1677 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 …]
DRenderScript.java549 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationData3D() argument
552 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, in nAllocationData3D() argument
556 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, in nAllocationData3D()
/frameworks/rs/
DrsAllocation.cpp218 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()
DrsAllocation.h135 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,
Drs.spec219 param uint32_t zoff
271 param uint32_t zoff
Drs_hal.h252 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,
DrsApiStubs.cpp422 …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()
DrsApiStubs.h75 …a (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint…
81 …d (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint…
DrsHidlAdaptation.cpp600 …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/
DrsdAllocation.h121 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,
DrsdAllocation.cpp87 uint32_t xoff, uint32_t yoff, uint32_t zoff, in GetOffsetPtr() argument
91 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr()
910 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationData3D() argument
924 for (uint32_t z = zoff; z < (d + zoff); z++) { in rsdAllocationData3D()
990 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationRead3D() argument
1001 for (uint32_t z = zoff; z < (d + zoff); z++) { in rsdAllocationRead3D()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1407 jint xoff, jint yoff, jint zoff, in nAllocationElementData() argument
1413 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, in nAllocationElementData()
1422 xoff, yoff, zoff, in nAllocationElementData()
1475 …3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, in nAllocationData3D() argument
1482 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationData3D()
1487 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); in nAllocationData3D()
1549 jint xoff, jint yoff, jint zoff, in nAllocationElementRead() argument
1555 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, in nAllocationElementRead()
1564 xoff, yoff, zoff, in nAllocationElementRead()
1588 …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/
Dandroid_renderscript_RenderScript.cpp1260 …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()