class InputNode

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

Public Methods

void InputNode (async_dispatcher_t * dispatcher, BufferAttachments attachments, FrameCallback frame_callback, const ddk::IspProtocolClient & isp)

Defined at line 21 of file ../../src/camera/drivers/controller/input_node.cc

fpromise::result<std::unique_ptr<InputNode>, zx_status_t> Create (async_dispatcher_t * dispatcher, BufferAttachments attachments, FrameCallback frame_callback, const ddk::IspProtocolClient & isp, const StreamCreationData & info)

Creates an |InputNode| object.

1. Creates the ISP stream protocol

2. Creates the requested ISP stream

3. Allocates buffers if needed

Args:

|info| : StreamCreationData for the requested stream.

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

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

|isp| : ISP protocol to talk to the driver.

Defined at line 25 of file ../../src/camera/drivers/controller/input_node.cc

void StartStreaming ()

Special functionality provided by the ISP node.

Defined at line 127 of file ../../src/camera/drivers/controller/input_node.cc

void StopStreaming ()

Defined at line 132 of file ../../src/camera/drivers/controller/input_node.cc