class GdcNode

Defined at line 21 of file ../../src/camera/drivers/controller/gdc_node.h

Public Methods

void GdcNode (async_dispatcher_t * dispatcher, BufferAttachments attachments, FrameCallback frame_callback, const ddk::GdcProtocolClient & gdc)

Defined at line 41 of file ../../src/camera/drivers/controller/gdc_node.cc

fpromise::result<std::unique_ptr<ProcessNode>, zx_status_t> Create (async_dispatcher_t * dispatcher, BufferAttachments attachments, FrameCallback frame_callback, const LoadFirmwareCallback & load_firmware, const ddk::GdcProtocolClient & gdc, const InternalConfigNode & internal_gdc_node, const StreamCreationData & info)

Creates a |GdcNode| object.

Args:

|memory_allocator| : Memory allocator object to allocate memory using sysmem.

|dispatcher| : Dispatcher on which GDC tasks can be queued up.

|device| : Device pointer to get the GDC configs from DDK.

|gdc| : GDC protocol to talk to the driver.

|info| : StreamCreationData for the requested stream.

|parent_node| : pointer to the node to which we need to append this |OutputNode|.

|internal_output_node| : InternalConfigNode corresponding to this node.

Defined at line 45 of file ../../src/camera/drivers/controller/gdc_node.cc