/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | ortho.h | 19 const T zoff = -(zfar + znear) / (zfar - znear); local 23 0, 0, c, zoff,
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | rasterize.rs | 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/ |
H A D | Allocation.cpp | 365 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, argument 370 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { 376 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, argument 378 validate3DRange(xoff, yoff, zoff, w, h, d); 383 tryDispatch(mRS, RS::dispatch->Allocation3DData(mRS->getContext(), getIDSafe(), xoff, yoff, zoff, 389 tryDispatch(mRS, RS::dispatch->Allocation3DData(mRS->getContext(), getIDSafe(), xoff, yoff, zoff, 396 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, argument 398 validate3DRange(xoff, yoff, zoff, w, h, d); 399 tryDispatch(mRS, RS::dispatch->AllocationCopy3DRange(mRS->getContext(), getIDSafe(), xoff, yoff, zoff, 404 void Allocation::copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_ argument [all...] |
H A D | rsCppStructs.h | 612 void validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, 797 * @param[in] zoff Z offset of region to update in this Allocation 803 void copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, 810 * @param[in] zoff Z offset of region to update in this Allocation 819 void copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, 829 * @param[in] zoff Z offset of region to update in this Allocation 835 void copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Allocation.java | 1067 * @param zoff 1071 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) { argument 1082 if(zoff < 0) { 1096 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, 1722 private void validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) { argument 1727 if (xoff < 0 || yoff < 0 || zoff < 0) { 1733 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { 1746 private void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, argument 1751 validate3DRange(xoff, yoff, zoff, w, h, d); 1767 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLO 1803 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) argument 1829 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Allocation data, int dataXoff, int dataYoff, int dataZoff) argument 2028 copyToFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) argument 2585 copy3DRangeToUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, Object array, Element.DataType dt, int arrayLen) argument 2641 copy3DRangeTo(int xoff, int yoff, int zoff, int w, int h, int d, Object array) argument [all...] |
H A D | RenderScript.java | 543 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); argument 544 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument 546 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 603 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, argument 606 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, argument 610 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, 628 native void rsnAllocationElementRead(long con,long id, int xoff, int yoff, int zoff, argument 630 synchronized void nAllocationElementRead(long id, int xoff, int yoff, int zoff, argument 633 rsnAllocationElementRead(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 646 native void rsnAllocationRead3D(long con, long id, int xoff, int yoff, int zoff, in argument 649 nAllocationRead3D(long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 1047 * @param zoff 1052 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) { 1063 if(zoff < 0) { 1077 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, 1677 private void validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) { argument 1682 if (xoff < 0 || yoff < 0 || zoff < 0) { 1688 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { 1701 private void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, argument 1704 validate3DRange(xoff, yoff, zoff, w, h, d); 1720 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLO 1753 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) argument 1774 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Allocation data, int dataXoff, int dataYoff, int dataZoff) argument [all...] |
H A D | RenderScript.java | 475 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); 476 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { 478 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 537 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, argument 540 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, argument 544 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, 563 native void rsnAllocationElementRead(long con,long id, int xoff, int yoff, int zoff, 565 synchronized void nAllocationElementRead(long id, int xoff, int yoff, int zoff, 568 rsnAllocationElementRead(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 583 native void rsnAllocationRead3D(long con, long id, int xoff, int yoff, int zoff, in [all...] |
/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 | 85 uint32_t xoff, uint32_t yoff, uint32_t zoff, 89 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; 899 uint32_t xoff, uint32_t yoff, uint32_t zoff, 913 for (uint32_t z = zoff; z < (d + zoff); z++) { 979 uint32_t xoff, uint32_t yoff, uint32_t zoff, 990 for (uint32_t z = zoff; z < (d + zoff); z++) { 84 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument 898 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument 978 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
|
/frameworks/rs/rsov/driver/ |
H A D | rsovAllocation.cpp | 148 uint32_t zoff, uint32_t lod, 152 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * 391 uint32_t xoff, uint32_t yoff, uint32_t zoff, 402 for (uint32_t z = zoff; z < (d + zoff); z++) { 461 uint32_t xoff, uint32_t yoff, uint32_t zoff, 472 for (uint32_t z = zoff; z < (d + zoff); z++) { 147 GetOffsetPtr(const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument 390 rsovAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument 460 rsovAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
|
H A D | rsovAllocation.h | 102 uint32_t xoff, uint32_t yoff, uint32_t zoff, 121 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 218 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 221 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 261 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, argument 269 rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 707 void rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, argument 710 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 917 uint32_t xoff, uint32_t yoff, uint32_t zoff, 921 a->read(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 916 rsi_Allocation3DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
|
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.h | 75 extern "C" void rsAllocation3DData (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void * data, size_t data_length, size_t stride); 81 extern "C" void rsAllocation3DRead (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void * data, size_t data_length, size_t stride);
|
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.cpp | 427 extern "C" void rsAllocation3DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 431 RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride); 463 extern "C" void rsAllocation3DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 467 RS_DISPATCH(ctxWrapper, Allocation3DRead, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride);
|
H A D | rsHidlAdaptation.cpp | 600 void RsHidlAdaptation::Allocation3DData (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, argument 608 GetIContextHandle(context)->allocation3DWrite(_allocation, xoff, yoff, zoff, lod, w, h, d, _data, stride); 650 void RsHidlAdaptation::Allocation3DRead (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, argument 655 GetIContextHandle(context)->allocation3DRead(_allocation, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1415 jint xoff, jint yoff, jint zoff, 1420 ALOGD("nAllocationElementData, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), comp(%i), len(%i), " 1421 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, 1430 xoff, yoff, zoff, 1483 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, argument 1489 ALOGD("nAllocation3DData, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), lod(%i), w(%i)," 1490 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, 1495 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); 1557 jint xoff, jint yoff, jint zoff, 1562 ALOGD("nAllocationElementRead, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff( 1414 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1556 nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1596 nAllocationRead3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jobject data, int sizeBytes, int dataType, jint mSize, jboolean usePadding) argument [all...] |
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1202 jint xoff, jint yoff, jint zoff, 1206 LOG_API("nAllocationElementData, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), comp(%i), len(%i), " 1207 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, 1211 xoff, yoff, zoff, 1258 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, argument 1263 LOG_API("nAllocation3DData, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), lod(%i), w(%i)," 1264 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, 1268 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); 1322 jint xoff, jint yoff, jint zoff, 1326 LOG_API("nAllocationElementRead, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff( [all...] |