Home
last modified time | relevance | path

Searched refs:xBytesSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java526 int xBytesSize = mType.getX() * mType.getElement().getBytesSize(); in getByteBuffer() local
536 data = new byte[xBytesSize * mType.getY()]; in getByteBuffer()
538 Element.DataType.SIGNED_8, xBytesSize * mType.getY()); in getByteBuffer()
541 data = new byte[xBytesSize]; in getByteBuffer()
545 mByteBufferStride = xBytesSize; in getByteBuffer()
550 … mByteBuffer = mRS.nAllocationGetByteBuffer(getID(mRS), xBytesSize, mType.getY(), mType.getZ()); in getByteBuffer()
DScript.java50 int xBytesSize = inType.getX() * inType.getElement().getBytesSize(); in getDummyAlloc() local
51 placeholderAlloc = mRS.nIncAllocationCreateTyped(ain.getID(mRS), dInType, xBytesSize); in getDummyAlloc()
DRenderScript.java450 …native ByteBuffer rsnAllocationGetByteBuffer(long con, long alloc, int xBytesSize, int dimY, int d… in rsnAllocationGetByteBuffer() argument
451 … synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, int xBytesSize, int dimY, int dimZ) { in nAllocationGetByteBuffer() argument
453 return rsnAllocationGetByteBuffer(mContext, alloc, xBytesSize, dimY, dimZ); in nAllocationGetByteBuffer()
1039 …ve long rsnIncAllocationCreateTyped(long con, long incCon, long alloc, long type, int xBytesSize); in rsnIncAllocationCreateTyped() argument
1040 synchronized long nIncAllocationCreateTyped(long alloc, long type, int xBytesSize) { in nIncAllocationCreateTyped() argument
1042 return rsnIncAllocationCreateTyped(mContext, mIncCon, alloc, type, xBytesSize); in nIncAllocationCreateTyped()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java497 int xBytesSize, int dimY, int dimZ); in rsnAllocationGetByteBuffer() argument
498 synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, long[] stride, int xBytesSize, in nAllocationGetByteBuffer() argument
501 return rsnAllocationGetByteBuffer(mContext, alloc, stride, xBytesSize, dimY, dimZ); in nAllocationGetByteBuffer()
DAllocation.java2862 int xBytesSize = mType.getX() * mType.getElement().getBytesSize(); in getByteBuffer() local
2864 …mByteBuffer = mRS.nAllocationGetByteBuffer(getID(mRS), stride, xBytesSize, mType.getY(), mType.get… in getByteBuffer()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp2205 …ped(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong alloc, jlong type, jint xBytesSize) in nIncAllocationCreateTyped() argument
2228 size_t minRequiredAlignment = strideIn - xBytesSize; in nIncAllocationCreateTyped()
2241 nAllocationGetByteBuffer(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xBytesSize, jint… in nAllocationGetByteBuffer() argument
2244 size_t strideIn = xBytesSize; in nAllocationGetByteBuffer()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2776 jlongArray strideArr, jint xBytesSize, in nAllocationGetByteBuffer() argument
2788 size_t strideIn = xBytesSize; in nAllocationGetByteBuffer()