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.java531 int xBytesSize = mType.getX() * mType.getElement().getBytesSize(); in getByteBuffer() local
541 data = new byte[xBytesSize * mType.getY()]; in getByteBuffer()
543 Element.DataType.SIGNED_8, xBytesSize * mType.getY()); in getByteBuffer()
546 data = new byte[xBytesSize]; in getByteBuffer()
550 mByteBufferStride = xBytesSize; in getByteBuffer()
555 … mByteBuffer = mRS.nAllocationGetByteBuffer(getID(mRS), xBytesSize, mType.getY(), mType.getZ()); in getByteBuffer()
DScript.java55 int xBytesSize = inType.getX() * inType.getElement().getBytesSize(); in getDummyAlloc() local
56 placeholderAlloc = mRS.nIncAllocationCreateTyped(ain.getID(mRS), dInType, xBytesSize); in getDummyAlloc()
DRenderScript.java455 …native ByteBuffer rsnAllocationGetByteBuffer(long con, long alloc, int xBytesSize, int dimY, int d… in rsnAllocationGetByteBuffer() argument
456 … synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, int xBytesSize, int dimY, int dimZ) { in nAllocationGetByteBuffer() argument
458 return rsnAllocationGetByteBuffer(mContext, alloc, xBytesSize, dimY, dimZ); in nAllocationGetByteBuffer()
1044 …ve long rsnIncAllocationCreateTyped(long con, long incCon, long alloc, long type, int xBytesSize); in rsnIncAllocationCreateTyped() argument
1045 synchronized long nIncAllocationCreateTyped(long alloc, long type, int xBytesSize) { in nIncAllocationCreateTyped() argument
1047 return rsnIncAllocationCreateTyped(mContext, mIncCon, alloc, type, xBytesSize); in nIncAllocationCreateTyped()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java491 int xBytesSize, int dimY, int dimZ); in rsnAllocationGetByteBuffer() argument
492 synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, long[] stride, int xBytesSize, in nAllocationGetByteBuffer() argument
495 return rsnAllocationGetByteBuffer(mContext, alloc, stride, xBytesSize, dimY, dimZ); in nAllocationGetByteBuffer()
DAllocation.java2866 int xBytesSize = mType.getX() * mType.getElement().getBytesSize(); in getByteBuffer() local
2868 …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.cpp2771 jlongArray strideArr, jint xBytesSize, in nAllocationGetByteBuffer() argument
2783 size_t strideIn = xBytesSize; in nAllocationGetByteBuffer()