/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 304 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, argument 309 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { 315 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, argument 317 validate3DRange(xoff, yoff, zoff, w, h, d); 318 tryDispatch(mRS, RS::dispatch->Allocation3DData(mRS->getContext(), getIDSafe(), xoff, yoff, zoff, 324 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, argument 326 validate3DRange(xoff, yoff, zoff, dataXoff, dataYoff, dataZoff); 327 tryDispatch(mRS, RS::dispatch->AllocationCopy3DRange(mRS->getContext(), getIDSafe(), xoff, yoff, zoff,
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 994 private void validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) { argument 999 if (xoff < 0 || yoff < 0 || zoff < 0) { 1005 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { 1015 void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, byte[] data) { argument 1017 validate3DRange(xoff, yoff, zoff, w, h, d); 1018 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, 1026 void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, short[] data) { argument 1028 validate3DRange(xoff, yoff, zoff, w, h, d); 1029 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, 1037 void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, in argument 1048 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, float[] data) argument 1069 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, byte[] data) argument 1078 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, short[] data) argument 1087 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, int[] data) argument 1096 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, float[] data) argument 1117 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 | 467 native void rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, byte[] d, int sizeBytes); argument 468 synchronized void nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, byte[] d, int sizeBytes) { argument 470 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes); 472 native void rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, short[] d, int sizeBytes); argument 473 synchronized void nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, short[] d, int sizeBytes) { argument 475 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes); 477 native void rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, int[] d, int sizeBytes); argument 478 synchronized void nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, int[] d, int sizeBytes) { argument 480 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes); 482 native void rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, in argument 483 nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, float[] d, int sizeBytes) argument [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Allocation.java | 1170 private void validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) { argument 1175 if (xoff < 0 || yoff < 0 || zoff < 0) { 1181 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { 1191 private void copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, argument 1195 validate3DRange(xoff, yoff, zoff, w, h, d); 1196 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, 1208 * @param zoff Z offset of the region to update in this Allocation 1214 public void copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) { argument 1216 copy3DRangeFromUnchecked(xoff, yoff, zoff, w, h, d, array, 1229 * @param zoff 1238 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 | 503 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, argument 505 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, argument 508 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, dt.mID);
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 93 uint32_t xoff, uint32_t yoff, uint32_t zoff, 97 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; 876 uint32_t xoff, uint32_t yoff, uint32_t zoff, 890 for (uint32_t z = zoff; z < d; z++) { 956 uint32_t xoff, uint32_t yoff, uint32_t zoff, 967 for (uint32_t z = zoff; z < d; z++) { 92 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument 875 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 955 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/ |
H A D | rsAllocation.cpp | 138 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 141 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 179 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, argument 187 rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 606 void rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, argument 609 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 558 nAllocationData3D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, argument 562 LOG_API("nAllocation3DData_s, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, zoff, w, h, d, len); 564 rsAllocation3DData(con, (RsAllocation)alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); 569 nAllocationData3D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, argument 573 LOG_API("nAllocation3DData_b, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, zoff, w, h, d, len); 575 rsAllocation3DData(con, (RsAllocation)alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); 580 nAllocationData3D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, argument 584 LOG_API("nAllocation3DData_i, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, zoff, w, h, d, len); 586 rsAllocation3DData(con, (RsAllocation)alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); 591 nAllocationData3D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jin argument [all...] |
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 743 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, argument 747 LOG_API("nAllocation3DData, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), lod(%i), w(%i), h(%i), d(%i), sizeBytes(%i)", 748 (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, lod, w, h, d, sizeBytes); 749 PER_ARRAY_TYPE(NULL, rsAllocation3DData, true, (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0);
|