Home
last modified time | relevance | path

Searched refs:mBufferDesc (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/bufferhub/
DBufferNode.cpp50 mBufferDesc.width = width; in BufferNode()
51 mBufferDesc.height = height; in BufferNode()
52 mBufferDesc.layers = layerCount; in BufferNode()
53 mBufferDesc.format = format; in BufferNode()
54 mBufferDesc.usage = usage; in BufferNode()
55 mBufferDesc.stride = outStride; in BufferNode()
/frameworks/ml/nn/runtime/
DMemory.h128 AHardwareBuffer_describe(ahwb, &mBufferDesc); in set()
131 if (mBufferDesc.format == AHARDWAREBUFFER_FORMAT_BLOB) { in set()
132 mHidlMemory = hidl_memory("hardware_buffer_blob", handle, mBufferDesc.width); in set()
154 if (mBufferDesc.format == AHARDWAREBUFFER_FORMAT_BLOB) { in validateSize()
155 if (offset + length > mBufferDesc.width) { in validateSize()
169 AHardwareBuffer_Desc mBufferDesc; variable
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferNode.h33 const AHardwareBuffer_Desc& bufferDesc() const { return mBufferDesc; } in bufferDesc()
65 AHardwareBuffer_Desc mBufferDesc; variable
/frameworks/native/libs/ui/include/ui/
DBufferHubBuffer.h50 const AHardwareBuffer_Desc& desc() const { return mBufferDesc; } in desc()
122 AHardwareBuffer_Desc mBufferDesc; variable
/frameworks/native/libs/ui/
DBufferHubBuffer.cpp226 memcpy(&mBufferDesc, &bufferTraits.bufferDesc, sizeof(AHardwareBuffer_Desc)); in initWithBufferTraits()