Home
last modified time | relevance | path

Searched refs:elementSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java75 int elementSize = mComponentMarshaler.getNativeSize(); in unmarshal() local
77 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) { in unmarshal()
79 int arraySize = remaining / elementSize; in unmarshal()
81 if (remaining % elementSize != 0) { in unmarshal()
83 + " must be packed tighly into a multiple of " + elementSize in unmarshal()
84 + "; but there are " + (remaining % elementSize) + " left over bytes"); in unmarshal()
91 arraySize, elementSize, remaining, mClass)); in unmarshal()
128 int elementSize = mComponentMarshaler.getNativeSize(); in calculateMarshalSize() local
131 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) { in calculateMarshalSize()
133 return elementSize * arrayLength; in calculateMarshalSize()
/frameworks/rs/driver/
DrsdShader.cpp311 uint32_t elementSize = field->mHal.state.elementSizeBytes / sizeof(float); in logUniform() local
349 ALOGV("Element size %u data=%p", elementSize, fd); in logUniform()
350 fd += elementSize; in logUniform()
DrsdAllocation.cpp1010 size_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData2D_alloc_script() local
1014 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData2D_alloc_script()
1027 uint32_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData3D_alloc_script() local
1034 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData3D_alloc_script()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java951 private int uploadBuffer(Buffer buffer, int elementSize) { in uploadBuffer() argument
957 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, buffer.capacity() * elementSize, buffer, in uploadBuffer()