/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
ortho.h | 19 const T zoff = -(zfar + znear) / (zfar - znear); local 23 0, 0, c, zoff,
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCopyToTest.java | 414 int zoff = random.nextInt(height); local 418 int zcount = depth - zoff; 428 alloc.copy3DRangeFrom(xoff, yoff, zoff, xcount, ycount, zcount, (Object)inArray); 429 alloc.copy3DRangeTo(xoff, yoff, zoff, xcount, ycount, zcount, (Object)outArray); 451 int zoff = random.nextInt(height); local 455 int zcount = depth - zoff; 468 alloc.copy3DRangeFrom(xoff, yoff, zoff, xcount, ycount, zcount, (Object)inArray); 469 alloc.copy3DRangeTo(xoff, yoff, zoff, xcount, ycount, zcount, (Object)outArray); 496 int zoff = random.nextInt(height); local 500 int zcount = depth - zoff; 536 int zoff = random.nextInt(height); local 576 int zoff = random.nextInt(height); local 616 int zoff = random.nextInt(height); local [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
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;
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKZoneId.java | 337 ZoneOffset zoff = ZoneOffset.of(offset); local 338 ZoneId zoneId = ZoneId.ofOffset(prefix, zoff); 339 assertEquals(zoneId.getId(), prefix + zoff.getId(), "in correct id for : " + prefix + ", zoff: " + zoff); local 356 ZoneOffset zoff = ZoneOffset.of(offset); local 357 ZoneId zoneId = ZoneId.ofOffset(prefix, zoff);
|
/frameworks/rs/cpp/ |
Allocation.cpp | 365 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, 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, 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, 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_t w [all...] |
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, [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Allocation.java | 1096 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1767 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local 1833 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 2053 mRS.nAllocationElementRead(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 2606 mRS.nAllocationRead3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local [all...] |
RenderScript.java | 543 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); 544 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { 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, 606 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, 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, 630 synchronized void nAllocationElementRead(long id, int xoff, int yoff, int zoff, 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, int mip [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
Allocation.java | 1720 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local 1778 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local [all...] |
RenderScript.java | 487 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); 488 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { 490 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 549 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, 552 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, 556 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, 575 native void rsnAllocationElementRead(long con,long id, int xoff, int yoff, int zoff, 577 synchronized void nAllocationElementRead(long id, int xoff, int yoff, int zoff, 580 rsnAllocationElementRead(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 595 native void rsnAllocationRead3D(long con, long id, int xoff, int yoff, int zoff, int mip [all...] |
/frameworks/rs/driver/ |
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,
|
rsdAllocation.cpp | 87 uint32_t xoff, uint32_t yoff, uint32_t zoff, 91 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; [all...] |
/frameworks/rs/rsov/driver/ |
rsovAllocation.cpp | 148 uint32_t zoff, uint32_t lod, 152 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * 390 uint32_t xoff, uint32_t yoff, uint32_t zoff, 401 for (uint32_t z = zoff; z < (d + zoff); z++) { 460 uint32_t xoff, uint32_t yoff, uint32_t zoff, 471 for (uint32_t z = zoff; z < (d + zoff); z++) {
|
rsovAllocation.h | 102 uint32_t xoff, uint32_t yoff, uint32_t zoff, 121 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
/frameworks/rs/ |
rsAllocation.cpp | 218 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, 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, 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, 710 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); [all...] |
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,
|
rs.spec | 219 param uint32_t zoff 271 param uint32_t zoff
|
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);
|
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,
|
rsApiStubs.cpp | 422 extern "C" void rsAllocation3DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, 426 RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride); 458 extern "C" void rsAllocation3DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, 462 RS_DISPATCH(ctxWrapper, Allocation3DRead, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride); [all...] |
rsHidlAdaptation.cpp | 600 void RsHidlAdaptation::Allocation3DData (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 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, 655 GetIContextHandle(context)->allocation3DRead(_allocation, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); [all...] |
/hardware/interfaces/renderscript/1.0/ |
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, [all...] |
/hardware/interfaces/renderscript/1.0/default/ |
Context.h | 54 Return<void> allocation3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const hidl_vec<uint8_t>& data, Size stride) override; 60 Return<void> allocation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, Ptr data, Size sizeBytes, Size stride) override;
|
Context.cpp | 187 Return<void> Context::allocation3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const hidl_vec<uint8_t>& data, Size stride) { 191 uint32_t _zoff = zoff; 256 Return<void> Context::allocation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, Ptr data, Size sizeBytes, Size stride) { 260 uint32_t _zoff = zoff; [all...] |
/frameworks/base/rs/jni/ |
android_renderscript_RenderScript.cpp | [all...] |