Searched refs:elementSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 72 int elementSize = mComponentMarshaler.getNativeSize(); in unmarshal() local 74 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) { in unmarshal() 76 int arraySize = remaining / elementSize; in unmarshal() 78 if (remaining % elementSize != 0) { in unmarshal() 80 + " must be packed tighly into a multiple of " + elementSize in unmarshal() 81 + "; but there are " + (remaining % elementSize) + " left over bytes"); in unmarshal() 88 arraySize, elementSize, remaining, mClass)); in unmarshal() 125 int elementSize = mComponentMarshaler.getNativeSize(); in calculateMarshalSize() local 128 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) { in calculateMarshalSize() 130 return elementSize * arrayLength; in calculateMarshalSize()
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 317 uint32_t elementSize = field->mHal.state.elementSizeBytes / sizeof(float); in logUniform() local 355 ALOGV("Element size %u data=%p", elementSize, fd); in logUniform() 356 fd += elementSize; in logUniform()
|
D | rsdAllocation.cpp | 1045 size_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData2D_alloc_script() local 1049 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData2D_alloc_script() 1062 uint32_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData3D_alloc_script() local 1069 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData3D_alloc_script()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 951 private int uploadBuffer(Buffer buffer, int elementSize) { in uploadBuffer() argument 957 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, buffer.capacity() * elementSize, buffer, in uploadBuffer()
|
/frameworks/ml/nn/common/include/ |
D | Utils.h | 293 bool sizeOfTensorDataOverflowsUInt32(uint32_t elementSize, const std::vector<uint32_t>& dimensions);
|