Home
last modified time | relevance | path

Searched refs:mAllocator (Results 1 – 17 of 17) sorted by relevance

/hardware/google/av/codec2/vndk/include/
DC2BufferPriv.h32 return mAllocator->getId(); in getAllocatorId()
47 const std::shared_ptr<C2Allocator> mAllocator;
57 return mAllocator->getId(); in getAllocatorId()
72 const std::shared_ptr<C2Allocator> mAllocator;
82 return mAllocator->getId(); in getAllocatorId()
118 const std::shared_ptr<C2Allocator> mAllocator;
DC2BqBufferPriv.h32 return mAllocator->getId(); in getAllocatorId()
68 const std::shared_ptr<C2Allocator> mAllocator;
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp30 mAllocator = allocator2::IAllocator::getService(); in init()
31 if (mAllocator == nullptr) { in init()
62 return mAllocator; in getAllocator()
67 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); in dumpDebugInfo()
85 mAllocator->allocate(descriptor, count, in allocate()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp38 mAllocator = ::testing::VtsHalHidlTargetTestBase::getService<IAllocator>(allocatorServiceName); in init()
39 ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; in init()
48 mAllocator = ::testing::VtsHalHidlTargetTestBase::getService<IAllocator>(allocatorServiceName); in initNoErr()
72 return mAllocator; in getAllocator()
77 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); in dumpDebugInfo()
98 mAllocator->allocate( in allocate()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp33 mAllocator = ::testing::VtsHalHidlTargetTestBase::getService<IAllocator>(allocatorServiceName); in init()
34 ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; in init()
57 return mAllocator; in getAllocator()
62 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); in dumpDebugInfo()
83 mAllocator->allocate( in allocate()
/hardware/google/av/codec2/vndk/
DC2Buffer.cpp328 : mAllocator(allocator) { } in C2BasicLinearBlockPool()
337 c2_status_t err = mAllocator->newLinearAllocation(capacity, usage, &alloc); in fetchLinearBlock()
439 : mAllocator(allocator) {} in _C2BufferPoolAllocator()
518 const std::shared_ptr<C2Allocator> mAllocator; member in _C2BufferPoolAllocator
551 status = mAllocator->newLinearAllocation( in allocate()
570 status = mAllocator->newGraphicAllocation( in allocate()
633 return mAllocator->priorLinearAllocation(handle, c2Allocation); in priorLinearAllocation()
639 return mAllocator->priorGraphicAllocation(handle, c2Allocation); in priorGraphicAllocation()
647 mAllocator(std::make_shared<_C2BufferPoolAllocator>(allocator)) { in Impl()
648 if (mAllocator && mBufferPoolManager) { in Impl()
[all …]
DC2AllocatorGralloc.cpp617 sp<IAllocator> mAllocator; member in android::C2AllocatorGralloc::Impl
638 mAllocator = IAllocator::getService(); in Impl()
640 if (mAllocator == nullptr || mMapper == nullptr) { in Impl()
677 mAllocator->allocate( in newGraphicAllocation()
/hardware/google/av/codec2/vndk/platform/
DC2BqBuffer.cpp284 c2_status_t err = mAllocator->priorGraphicAllocation(c2Handle, &alloc); in fetchFromIgbp_l()
304 : mInit(C2_OK), mProducerId(0), mAllocator(allocator) { in Impl()
341 c2_status_t err = mAllocator->newGraphicAllocation( in fetchGraphicBlock()
421 const std::shared_ptr<C2Allocator> mAllocator; member in C2BufferQueueBlockPool::Impl
460 : mAllocator(allocator), mLocalId(localId), mImpl(new Impl(allocator)) {} in C2BufferQueueBlockPool()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStream.cpp369 mAllocator(allocator), in QCameraStream()
436 mAllocator.waitForBackgroundTask(mAllocTaskId); in ~QCameraStream()
437 mAllocator.waitForBackgroundTask(mMapTaskId); in ~QCameraStream()
761 mAllocTaskId = mAllocator.scheduleBackgroundTask(&mAllocTask); in init()
818 mMapTaskId = mAllocator.scheduleBackgroundTask(&mMapTask); in init()
964 mAllocator.waitForBackgroundTask(mAllocTaskId); in stop()
965 mAllocator.waitForBackgroundTask(mMapTaskId); in stop()
1402 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in getBufs()
1405 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs()
1543 rc = mAllocator.waitForBackgroundTask(mAllocTaskId); in getBufsDeferred()
[all …]
DQCameraStream.h184 QCameraAllocator &mAllocator; variable
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DGrallocWrapper.h69 sp<allocator2::IAllocator> mAllocator; variable
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h80 sp<IAllocator> mAllocator; variable
/hardware/google/av/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp150 &mAllocator); in init()
175 c2_status_t err = mAllocator->priorGraphicAllocation(handle, &alloc); in submitBuffer()
381 std::shared_ptr<C2Allocator> mAllocator; member
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h92 sp<IAllocator> mAllocator; variable
/hardware/google/av/media/sfplugin/
DC2OMXNode.h84 std::shared_ptr<C2Allocator> mAllocator; member
DC2OMXNode.cpp166 &mAllocator); in setInputSurface()
235 c2_status_t err = mAllocator->priorGraphicAllocation(handle, &alloc); in emptyBuffer()
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp204 sp<IAllocator> mAllocator; in allocateGraphicBuffers() member
207 : mAllocator{std::move(allocator)}, mMapper{std::move(mapper)} {} in allocateGraphicBuffers()
211 sp<IAllocator> mAllocator; in allocateGraphicBuffers() member
214 : mAllocator{std::move(allocator)}, mMapper{std::move(mapper)} {} in allocateGraphicBuffers()
279 gralloc.mAllocator->allocate( in allocateGraphicBuffers()