Home
last modified time | relevance | path

Searched refs:allocatorStore (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/codec2/vndk/
DC2Store.cpp444 std::shared_ptr<C2PlatformAllocatorStoreImpl> allocatorStore; in SetPreferredCodec2ComponentStore() local
447 allocatorStore = gPlatformAllocatorStore.lock(); in SetPreferredCodec2ComponentStore()
449 if (allocatorStore) { in SetPreferredCodec2ComponentStore()
450 allocatorStore->setComponentStore(componentStore); in SetPreferredCodec2ComponentStore()
501 std::shared_ptr<C2AllocatorStore> allocatorStore = in _createBlockPool() local
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()
[all …]
DC2AllocatorBlob.cpp162 auto allocatorStore = GetCodec2PlatformAllocatorStore(); in C2AllocatorBlob() local
163 allocatorStore->fetchAllocator(C2PlatformAllocatorStore::GRALLOC, &mC2AllocatorGralloc); in C2AllocatorBlob()
DC2Buffer.cpp465 … std::shared_ptr<C2AllocatorStore> allocatorStore = android::GetCodec2PlatformAllocatorStore(); in CreateLinearBlock() local
466 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in CreateLinearBlock()
492 … std::shared_ptr<C2AllocatorStore> allocatorStore = android::GetCodec2PlatformAllocatorStore(); in CreateLinearBlock() local
493 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in CreateLinearBlock()
523 std::shared_ptr<C2AllocatorStore> allocatorStore = in CreateLinearBlock() local
525 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &allocator); in CreateLinearBlock()
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp159 std::shared_ptr<C2AllocatorStore> allocatorStore = GetCodec2PlatformAllocatorStore(); in initDecoder() local
160 if (!allocatorStore) { in initDecoder()
165 allocatorStore->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator); in initDecoder()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp1748 std::shared_ptr<C2AllocatorStore> allocatorStore = GetCodec2PlatformAllocatorStore(); in start() local
1802 allocatorStore->fetchAllocator(inputAllocators->m.values[0], &allocator); in start()
1966 allocatorStore->fetchAllocator(outputAllocators->m.values[0], &allocator); in start()
1994 allocatorStore->fetchAllocator(surfaceAllocator->value, &allocator); in start()