class ControllerMemoryAllocator
Defined at line 18 of file ../../src/camera/drivers/controller/memory_allocation.h
Public Methods
void ControllerMemoryAllocator (fuchsia::sysmem2::AllocatorSyncPtr sysmem_allocator)
Defined at line 17 of file ../../src/camera/drivers/controller/memory_allocation.cc
zx_status_t AllocateSharedMemory (const std::vector<fuchsia::sysmem2::BufferCollectionConstraints> &constraints,BufferCollection &out_buffer_collection,const std::string &name)
Takes in a set of constraints and allocates memory using sysmem based on those
constraints.
Defined at line 61 of file ../../src/camera/drivers/controller/memory_allocation.cc
fuchsia::sysmem2::BufferCollectionHandle AttachObserverCollection (fuchsia::sysmem2::BufferCollectionTokenHandle & token)
Duplicates the provided token, assigns it "default" constraints, and returns the collection.
Defined at line 181 of file ../../src/camera/drivers/controller/memory_allocation.cc