Home
last modified time | relevance | path

Searched refs:allocatorId (Results 1 – 3 of 3) sorted by relevance

/external/v4l2_codec2/plugin_store/
DV4L2PluginStore.cpp25 C2Allocator* createAllocator(C2Allocator::id_t allocatorId) { in createAllocator() argument
26 ALOGV("%s(allocatorId=%d)", __func__, allocatorId); in createAllocator()
31 ALOGD("%s(): Create C2Allocator (id=%u) from VendorAllocatorLoader", __func__, allocatorId); in createAllocator()
32 return sAllocatorLoader->createAllocator(allocatorId); in createAllocator()
35 ALOGI("%s(): Fallback to create C2AllocatorGralloc(id=%u)", __func__, allocatorId); in createAllocator()
36 return new C2AllocatorGralloc(allocatorId, true); in createAllocator()
39 std::shared_ptr<C2Allocator> fetchAllocator(C2Allocator::id_t allocatorId) { in fetchAllocator() argument
40 ALOGV("%s(allocatorId=%d)", __func__, allocatorId); in fetchAllocator()
47 auto iter = sCacheAllocators.find(allocatorId); in fetchAllocator()
55 allocator.reset(createAllocator(allocatorId)); in fetchAllocator()
[all …]
DVendorAllocatorLoader.cpp53 C2Allocator* VendorAllocatorLoader::createAllocator(C2Allocator::id_t allocatorId) { in createAllocator() argument
54 ALOGV("%s(%d)", __func__, allocatorId); in createAllocator()
56 return mCreateAllocatorFunc(allocatorId); in createAllocator()
/external/v4l2_codec2/plugin_store/include/v4l2_codec2/plugin_store/
DVendorAllocatorLoader.h27 C2Allocator* createAllocator(C2Allocator::id_t allocatorId);