class Controller
Defined at line 1015 of file fidling/gen/src/camera/bin/factory/fuchsia.factory.camera/hlcpp/fuchsia/factory/camera/cpp/fidl.h
This interface provides access to factory-only functionality in the ISP driver.
Public Members
static const char[] Name_
Public Methods
void ~Controller ()
void IsIspBypassModeEnabled (bool enabled)
Instructs the controller to switch its stream format based on the ISP's output.
+ request `on` The ISP's streaming mode:
`True` 16-bit portable grey map format.
`False` 10-bit RGB format.
void CaptureFrames (::std::string dir_path, CaptureFramesCallback callback)
Instructs the device to capture a frame from the stream, and write it to disk.
+ request `amount` The number of frames to capture.
+ request `dir_path` Specifies where to write the captured frames.
- response `s` The operation's status code:
`ZX_OK` if the operation succeeded.
`ZX_ERR_UNAVAILABLE` if there are no active streams to capture from.
`ZX_ERR_NOT_DIR` if the specified `dir_path` does not exist or is
not a directory.
- response `image_info` A struct outlining the image's properties, e.g.
width/height, pixel format, etc.
void DisplayToScreen (uint32_t stream_index, DisplayToScreenCallback callback)
Displays a single stream the DUT's screen.
+ request `stream_index` The index of the stream in the DUT's
`fuchsia.camera3.Device.Configuration` vector.
- response `s` The operation's status code:
`ZX_OK` if the operation succeeded.
`ZX_ERR_UNAVAILABLE` if there are no active streams to display from.
`ZX_ERR_NOT_SUPPORTED` if the DUT does not have a screen.