Home
last modified time | relevance | path

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

/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
Dbuffer_allocator_utils.cpp36 auto allocator = factory->GetBufferAllocator(source); in GetBufferAllocator() local
37 if (allocator == nullptr) { in GetBufferAllocator()
42 if (allocator->Init() != RC_OK) { in GetBufferAllocator()
46 return allocator; in GetBufferAllocator()
66 auto allocator = GetBufferAllocator(source); in AllocBuffer() local
67 CHECK_IF_PTR_NULL_RETURN_VALUE(allocator, nullptr); in AllocBuffer()
69 return allocator->AllocBuffer(width, height, usage, format); in AllocBuffer()
74 auto allocator = GetAllocator(buffer); in FreeBuffer() local
75 CHECK_IF_PTR_NULL_RETURN_VALUE(allocator, RC_ERROR); in FreeBuffer()
76 return allocator->FreeBuffer(buffer); in FreeBuffer()
[all …]
Dbuffer_allocator_factory.cpp46 std::shared_ptr<IBufferAllocator> allocator(allocatorRegisterMap_[type]()); in CreateBufferAllocator() local
47 bufferAllocatorMap_[type] = allocator; in CreateBufferAllocator()
48 return allocator; in CreateBufferAllocator()
/drivers/peripheral/display/hal/default_standard/
DBUILD.gn25 "src/display_gralloc/allocator.cpp",