Home
last modified time | relevance | path

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

/frameworks/native/services/bufferhub/tests/
DBufferNode_test.cpp49 mapper.importBuffer(mBufferNode->bufferHandle(), mBufferNode->bufferDesc().width, in TEST_F()
50 mBufferNode->bufferDesc().height, mBufferNode->bufferDesc().layers, in TEST_F()
51 mBufferNode->bufferDesc().format, mBufferNode->bufferDesc().usage, in TEST_F()
52 mBufferNode->bufferDesc().stride, &outHandle); in TEST_F()
/frameworks/native/services/bufferhub/
DBufferHubService.cpp81 memcpy(&allocatedBufferDesc, &node->bufferDesc(), sizeof(AHardwareBuffer_Desc)); in allocateBuffer()
165 HardwareBufferDescription bufferDesc; in importBuffer() local
166 memcpy(&bufferDesc, &node->bufferDesc(), sizeof(HardwareBufferDescription)); in importBuffer()
175 BufferTraits bufferTraits = {/*bufferDesc=*/bufferDesc, in importBuffer()
240 AHardwareBuffer_Desc desc = node->bufferDesc(); in debug()
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferNode.h33 const AHardwareBuffer_Desc& bufferDesc() const { return mBufferDesc; } in bufferDesc() function
/frameworks/ml/nn/runtime/
DMemory.cpp586 AHardwareBuffer_Desc bufferDesc; in create() local
587 AHardwareBuffer_describe(&ahwb, &bufferDesc); in create()
591 if (bufferDesc.format == AHARDWAREBUFFER_FORMAT_BLOB) { in create()
592 hidlMemory = hidl_memory("hardware_buffer_blob", handle, bufferDesc.width); in create()
593 validator = std::make_unique<SizedMemoryValidator>(bufferDesc.width); in create()
/frameworks/hardware/interfaces/bufferhub/1.0/
Dtypes.hal36 HardwareBufferDescription bufferDesc;
/frameworks/native/libs/ui/
DBufferHubBuffer.cpp226 memcpy(&mBufferDesc, &bufferTraits.bufferDesc, sizeof(AHardwareBuffer_Desc)); in initWithBufferTraits()
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp95 memcpy(&desc, &bufferTraits.bufferDesc, sizeof(AHardwareBuffer_Desc)); in isValidTraits()