Searched refs:hardwareBuffer (Results 1 – 13 of 13) sorted by relevance
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Utils.cpp | 82 case Memory::Tag::hardwareBuffer: { in clone() 83 const auto& hardwareBuffer = memory.get<Memory::Tag::hardwareBuffer>(); in clone() local 85 .description = hardwareBuffer.description, in clone() 86 .handle = NN_TRY(clone(hardwareBuffer.handle)), in clone() 88 return Memory::make<Memory::Tag::hardwareBuffer>(std::move(handle)); in clone()
|
D | Conversions.cpp | 384 case Tag::hardwareBuffer: { in unvalidatedConvert() 385 const auto& hardwareBuffer = memory.get<Tag::hardwareBuffer>(); in unvalidatedConvert() local 388 NN_TRY(nativeHandleFromAidlHandle(hardwareBuffer.handle)); in unvalidatedConvert() 392 .width = static_cast<uint32_t>(hardwareBuffer.description.width), in unvalidatedConvert() 393 .height = static_cast<uint32_t>(hardwareBuffer.description.height), in unvalidatedConvert() 394 .layers = static_cast<uint32_t>(hardwareBuffer.description.layers), in unvalidatedConvert() 395 .format = static_cast<uint32_t>(hardwareBuffer.description.format), in unvalidatedConvert() 396 .usage = static_cast<uint64_t>(hardwareBuffer.description.usage), in unvalidatedConvert() 397 .stride = static_cast<uint32_t>(hardwareBuffer.description.stride), in unvalidatedConvert() 719 auto hardwareBuffer = graphics::common::HardwareBuffer{ in unvalidatedConvert() [all …]
|
/hardware/interfaces/automotive/sv/1.0/vts/functional/ |
D | SurroundViewStreamHandler.cpp | 65 if (svFramesDesc.svBuffers[i].hardwareBuffer.nativeHandle == nullptr) { in receiveFrames() 80 mLastReceivedFrames.svBuffers[i].hardwareBuffer.description = in receiveFrames() 81 svFramesDesc.svBuffers[i].hardwareBuffer.description; in receiveFrames()
|
D | VtsHalSurroundViewV1_0TargetTest.cpp | 215 reinterpret_cast<const AHardwareBuffer_Desc *>(&svBuffer2d.hardwareBuffer.description); in TEST_P() 280 reinterpret_cast<const AHardwareBuffer_Desc *>(&svBuffer2d.hardwareBuffer.description); in TEST_P() 319 reinterpret_cast<const AHardwareBuffer_Desc *>(&svBuffer2d.hardwareBuffer.description); in TEST_P() 377 reinterpret_cast<const AHardwareBuffer_Desc *>(&svBuffer2d.hardwareBuffer.description); in TEST_P() 646 EXPECT_EQ(frames.svBuffers[0].hardwareBuffer.description[0], in TEST_P() 647 frames.svBuffers[1].hardwareBuffer.description[0]); in TEST_P() 648 EXPECT_EQ(frames.svBuffers[0].hardwareBuffer.description[1], in TEST_P() 649 frames.svBuffers[1].hardwareBuffer.description[1]); in TEST_P() 650 EXPECT_EQ(frames.svBuffers[1].hardwareBuffer.description[0], in TEST_P() 651 frames.svBuffers[2].hardwareBuffer.description[0]); in TEST_P() [all …]
|
/hardware/interfaces/automotive/sv/1.0/default/ |
D | SurroundView2dSession.cpp | 38 framesRecord.frames.svBuffers[0].hardwareBuffer.nativeHandle = in SurroundView2dSession() 40 framesRecord.frames.svBuffers[0].hardwareBuffer.description[0] = in SurroundView2dSession() 42 framesRecord.frames.svBuffers[0].hardwareBuffer.description[1] = in SurroundView2dSession() 204 framesRecord.frames.svBuffers[0].hardwareBuffer.description[0] = in generateFrames() 206 framesRecord.frames.svBuffers[0].hardwareBuffer.description[1] = in generateFrames()
|
D | SurroundView3dSession.cpp | 48 framesRecord.frames.svBuffers[0].hardwareBuffer.nativeHandle = new native_handle_t(); in SurroundView3dSession() 49 framesRecord.frames.svBuffers[0].hardwareBuffer.description[0] = mConfig.width; in SurroundView3dSession() 50 framesRecord.frames.svBuffers[0].hardwareBuffer.description[1] = mConfig.height; in SurroundView3dSession() 281 framesRecord.frames.svBuffers[i].hardwareBuffer.nativeHandle = new native_handle_t(); in generateFrames() 282 framesRecord.frames.svBuffers[i].hardwareBuffer.description[0] = mConfig.width; // width in generateFrames() 283 … framesRecord.frames.svBuffers[i].hardwareBuffer.description[1] = mConfig.height; // height in generateFrames()
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 android.hardware.graphics.common.HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 android.hardware.graphics.common.HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | CommonUtils.cpp | 370 AHardwareBuffer* hardwareBuffer = nullptr; in createSharedMemoryFromHidlMemory() local 384 &hardwareBuffer); in createSharedMemoryFromHidlMemory() 394 return nn::createSharedMemoryFromAHWB(hardwareBuffer, /*takeOwnership=*/true); in createSharedMemoryFromHidlMemory()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | MemoryDomainTests.cpp | 672 case Memory::Tag::hardwareBuffer: { in getSize() 673 const auto& hardwareBuffer = memory.get<Memory::Tag::hardwareBuffer>(); in getSize() local 675 hardwareBuffer.description.format == graphics::common::PixelFormat::BLOB; in getSize() 676 return isBlob ? hardwareBuffer.description.width : 0; in getSize()
|
D | ValidateModel.cpp | 267 if (memory.getTag() == Memory::Tag::hardwareBuffer) { in sizeForBinder() 268 const NativeHandle& handle = memory.get<Memory::Tag::hardwareBuffer>().handle; in sizeForBinder()
|
/hardware/interfaces/automotive/sv/1.0/ |
D | types.hal | 136 HardwareBuffer hardwareBuffer;
|