Home
last modified time | relevance | path

Searched refs:fetchAllocator (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.cpp33 c2_status_t status = store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator); in setupCodec2()
39 status = store->fetchAllocator(C2AllocatorStore::DEFAULT_GRAPHIC, &mGraphicAllocator); in setupCodec2()
/frameworks/av/media/codec2/vndk/
DC2Store.cpp68 virtual c2_status_t fetchAllocator(
139 c2_status_t C2PlatformAllocatorStoreImpl::fetchAllocator( in fetchAllocator() function in android::C2PlatformAllocatorStoreImpl
518 res = allocatorStore->fetchAllocator( in _createBlockPool()
531 res = allocatorStore->fetchAllocator( in _createBlockPool()
545 res = allocatorStore->fetchAllocator( in _createBlockPool()
558 res = allocatorStore->fetchAllocator( in _createBlockPool()
576 res = allocatorStore->fetchAllocator( in _createBlockPool()
695 res = allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in GetCodec2BlockPool()
701 res = allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_GRAPHIC, &allocator); in GetCodec2BlockPool()
DC2AllocatorBlob.cpp161 allocatorStore->fetchAllocator(C2PlatformAllocatorStore::GRALLOC, &mC2AllocatorGralloc); in C2AllocatorBlob()
DC2Buffer.cpp466 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in CreateLinearBlock()
493 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in CreateLinearBlock()
525 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in CreateLinearBlock()
/frameworks/av/media/codec2/core/include/
DC2Component.h768 virtual c2_status_t fetchAllocator(id_t id, std::shared_ptr<C2Allocator>* const allocator) = 0;
/frameworks/av/media/codec2/sfplugin/
DC2NodeImpl.cpp259 c2_status_t err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in setInputSurface()
272 c2_status_t err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in setAidlInputSurface()
DCCodecBuffers.cpp1193 c2_status_t err = mStore->fetchAllocator(mPool->getAllocatorId(), &alloc); in toArrayMode()
1216 c2_status_t err = mStore->fetchAllocator(mPool->getAllocatorId(), &alloc); in createNewBuffer()
DCCodecBufferChannel.cpp1629 allocatorStore->fetchAllocator(inputAllocators->m.values[0], &allocator); in start()
1789 allocatorStore->fetchAllocator(outputAllocators->m.values[0], &allocator); in start()
1817 allocatorStore->fetchAllocator(surfaceAllocator->value, &allocator); in start()
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp165 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator); in initDecoder()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp147 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mAllocIon), C2_OK); in SimplePlayer()
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DInputSurfaceConnection.cpp173 c2_status_t c2err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in init()
DComponent.cpp587 if(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator) == C2_OK) { in initListener()
/frameworks/av/media/codec2/hal/aidl/
DComponent.cpp493 if(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator) == C2_OK) { in initListener()
/frameworks/av/media/codec2/hal/hidl/1.2/utils/
DComponent.cpp627 if(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator) == C2_OK) { in initListener()
/frameworks/av/media/codec2/hal/hidl/1.1/utils/
DComponent.cpp600 if(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator) == C2_OK) { in initListener()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp72 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp97 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp73 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_GRAPHIC, &mGraphicAllocator), in SetUp()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp123 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp335 ASSERT_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, mLinearAllocator), C2_OK); in getLinearAllocator()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp3105 c2_status_t err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in android_media_MediaCodec_native_queueHardwareBuffer()