Home
last modified time | relevance | path

Searched refs:mAllocator (Results 1 – 16 of 16) 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/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp36 mAllocator = IAllocator::getService(allocatorServiceName); in init()
37 ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; in init()
46 mAllocator = IAllocator::getService(allocatorServiceName); in initNoErr()
70 return mAllocator; in getAllocator()
75 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); in dumpDebugInfo()
96 mAllocator->allocate( in allocate()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp31 mAllocator = IAllocator::getService(allocatorServiceName); in init()
32 ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; in init()
55 return mAllocator; in getAllocator()
60 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); in dumpDebugInfo()
81 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/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp85 : mAllocator(allocator), mMapper(mapper) { in GrallocHalWrapper()
101 sp<AllocatorT> mAllocator; member in android::__anon6e7a76650111::GrallocHalWrapper
111 mAllocator->dumpDebugInfo([&](const hidl_string& tmpDebugInfo) { debugInfo = tmpDebugInfo; }); in dumpDebugInfo()
132 mAllocator->allocate(descriptor, kBufferCount, callback); in allocate()
/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/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h81 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.h93 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.cpp203 sp<IAllocator> mAllocator; in allocateGraphicBuffers() member
206 : mAllocator{std::move(allocator)}, mMapper{std::move(mapper)} {} in allocateGraphicBuffers()
210 sp<IAllocator> mAllocator; in allocateGraphicBuffers() member
213 : mAllocator{std::move(allocator)}, mMapper{std::move(mapper)} {} in allocateGraphicBuffers()
278 gralloc.mAllocator->allocate( in allocateGraphicBuffers()