Home
last modified time | relevance | path

Searched refs:hidlMemory (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoPlugin.cpp37 sp<IMemory> hidlMemory = mapMemory(base); in setSharedBufferBase() local
38 ALOGE_IF(hidlMemory == nullptr, "mapMemory returns nullptr"); in setSharedBufferBase()
41 mSharedBufferMap[bufferId] = hidlMemory; in setSharedBufferBase()
/frameworks/av/media/libmedia/
DOMXBuffer.cpp64 OMXBuffer::OMXBuffer(const hidl_memory &hidlMemory) in OMXBuffer() argument
66 mHidlMemory(hidlMemory) { in OMXBuffer()
/frameworks/ml/nn/common/
DCpuExecutor.cpp254 RunTimePoolInfoImpl(const hidl_memory& hidlMemory, uint8_t* buffer, const sp<IMemory>& memory,
278 RunTimePoolInfo::RunTimePoolInfoImpl::RunTimePoolInfoImpl(const hidl_memory& hidlMemory, in RunTimePoolInfoImpl() argument
282 : mHidlMemory(hidlMemory), mBuffer(buffer), mMemory(memory), mGraphicBuffer(graphicBuffer) {} in RunTimePoolInfoImpl()
327 const hidl_memory& hidlMemory) { in createFromHidlMemory() argument
332 const auto& memType = hidlMemory.name(); in createFromHidlMemory()
334 memory = mapMemory(hidlMemory); in createFromHidlMemory()
346 size_t size = hidlMemory.size(); in createFromHidlMemory()
347 int fd = hidlMemory.handle()->data[0]; in createFromHidlMemory()
348 int prot = hidlMemory.handle()->data[1]; in createFromHidlMemory()
349 size_t offset = getSizeFromInts(hidlMemory.handle()->data[2], hidlMemory.handle()->data[3]); in createFromHidlMemory()
[all …]
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h84 OMXBuffer(const hidl_memory &hidlMemory);
/frameworks/av/include/media/
DOMXBuffer.h84 OMXBuffer(const hidl_memory &hidlMemory);
/frameworks/ml/nn/common/include/
DCpuExecutor.h106 static std::optional<RunTimePoolInfo> createFromHidlMemory(const hidl_memory& hidlMemory);
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp272 sp<HidlMemory> hidlMemory = fromHeap(heap); in setHeapBase() local
274 Return<void> hResult = mPlugin->setSharedBufferBase(*hidlMemory, mNextBufferId++); in setHeapBase()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp105 const sp<IMemory> &mem, const sp<IHidlMemory> &hidlMemory, in BufferMeta()
108 mHidlMemory(hidlMemory), in BufferMeta()
1138 sp<IHidlMemory> hidlMemory = mapMemory(omxBuffer.mHidlMemory); in useBuffer() local
1139 if (hidlMemory == nullptr) { in useBuffer()
1143 return useBuffer_l(portIndex, NULL, hidlMemory, buffer); in useBuffer()
/frameworks/ml/nn/runtime/
DExecutionBuilder.cpp694 hidl_memory hidlMemory; in allocatePointerArgumentsToPool() local