Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/tests/benchmark/src/native/common/
H A DBenchmarkC2Common.cpp33 c2_status_t status = store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator); in setupCodec2()
39 status = store->fetchAllocator(C2AllocatorStore::DEFAULT_GRAPHIC, &mGraphicAllocator); in setupCodec2()
/aosp12/frameworks/av/media/codec2/vndk/
H A DC2Store.cpp64 virtual c2_status_t fetchAllocator(
132 c2_status_t C2PlatformAllocatorStoreImpl::fetchAllocator( in fetchAllocator() function in android::C2PlatformAllocatorStoreImpl
468 res = allocatorStore->fetchAllocator( in _createBlockPool()
481 res = allocatorStore->fetchAllocator( in _createBlockPool()
495 res = allocatorStore->fetchAllocator( in _createBlockPool()
508 res = allocatorStore->fetchAllocator( in _createBlockPool()
609 res = allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in GetCodec2BlockPool()
615 res = allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_GRAPHIC, &allocator); in GetCodec2BlockPool()
H A DC2AllocatorBlob.cpp161 allocatorStore->fetchAllocator(C2PlatformAllocatorStore::GRALLOC, &mC2AllocatorGralloc); in C2AllocatorBlob()
H A DC2Buffer.cpp403 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in CreateLinearBlock()
430 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in CreateLinearBlock()
/aosp12/frameworks/av/media/codec2/core/include/
H A DC2Component.h768 virtual c2_status_t fetchAllocator(id_t id, std::shared_ptr<C2Allocator>* const allocator) = 0;
/aosp12/frameworks/av/media/codec2/fuzzer/
H A DC2Fuzzer.cpp165 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator); in initDecoder()
/aosp12/frameworks/av/media/codec2/components/cmds/
H A Dcodec2.cpp147 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mAllocIon), C2_OK); in SimplePlayer()
/aosp12/frameworks/av/media/codec2/hidl/1.0/utils/
H A DInputSurfaceConnection.cpp173 c2_status_t c2err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in init()
/aosp12/frameworks/av/media/codec2/sfplugin/
H A DC2OMXNode.cpp346 c2_status_t err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in setInputSurface()
H A DCCodecBuffers.cpp944 c2_status_t err = mStore->fetchAllocator(mPool->getAllocatorId(), &alloc); in toArrayMode()
967 c2_status_t err = mStore->fetchAllocator(mPool->getAllocatorId(), &alloc); in createNewBuffer()
H A DCCodecBufferChannel.cpp1076 allocatorStore->fetchAllocator(inputAllocators->m.values[0], &allocator); in start()
1236 allocatorStore->fetchAllocator(outputAllocators->m.values[0], &allocator); in start()
1264 allocatorStore->fetchAllocator(surfaceAllocator->value, &allocator); in start()
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
H A DVtsHalMediaC2V1_0TargetAudioEncTest.cpp71 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp()
H A DVtsHalMediaC2V1_0TargetAudioDecTest.cpp98 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp()
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
H A DVtsHalMediaC2V1_0TargetVideoEncTest.cpp71 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_GRAPHIC, &mGraphicAllocator), in SetUp()
H A DVtsHalMediaC2V1_0TargetVideoDecTest.cpp121 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp()
/aosp12/frameworks/av/media/codec2/tests/vndk/
H A DC2BufferTest.cpp335 ASSERT_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, mLinearAllocator), C2_OK); in getLinearAllocator()
/aosp12/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp2395 c2_status_t err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in android_media_MediaCodec_native_queueHardwareBuffer()