class Capture

Defined at line 21 of file ../../src/graphics/display/drivers/amlogic-display/capture.h

Manages the display capture (VDIN) hardware.

Public Members

static const size_t kOnCaptureCompleteTargetSize

Public Methods

zx::result<std::unique_ptr<Capture>> Create (fidl::UnownedClientEnd<fuchsia_hardware_platform_device::Device> platform_device, OnCaptureCompleteHandler on_capture_complete)

Factory method intended for production use.

`platform_device` must be valid.

`on_state_change` is called when the display engine finishes writing a

captured image to DRAM.

Defined at line 25 of file ../../src/graphics/display/drivers/amlogic-display/capture.cc

void Capture (const Capture & )

Defined at line 43 of file ../../src/graphics/display/drivers/amlogic-display/capture.h

Capture & operator= (const Capture & )

Defined at line 44 of file ../../src/graphics/display/drivers/amlogic-display/capture.h

void Capture (zx::interrupt capture_finished_interrupt, OnCaptureCompleteHandler on_capture_complete, fdf::SynchronizedDispatcher irq_handler_dispatcher)

Defined at line 66 of file ../../src/graphics/display/drivers/amlogic-display/capture.cc

void ~Capture ()

Defined at line 75 of file ../../src/graphics/display/drivers/amlogic-display/capture.cc

zx::result<> Init ()

Initialization work that is not suitable for the constructor.

Called by Create().

Defined at line 88 of file ../../src/graphics/display/drivers/amlogic-display/capture.cc