template <>

class WireSyncBufferClientImpl

Defined at line 2798 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/wire_messaging.h

Public Methods

::fidl::OneWayStatus Start ()

Control Operations

Starts the streaming of frames.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus Stop ()

Stops the streaming of frames.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus ReleaseFrame (uint32_t buffer_id)

Unlocks the specified frame, allowing the driver to reuse the memory.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus AcknowledgeFrameError ()

Provides flow control for receiving frame errors. See OnFrameAvailable comment.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_camera2::Stream::SetRegionOfInterest> SetRegionOfInterest (float x_min, float y_min, float x_max, float y_max)

Data operations

This is used by clients to provide inputs for region of interest

selection.

Inputs are the x

&

y coordinates for the new bounding box.

For streams which do not support smart framing, this would

return an error.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_camera2::Stream::SetImageFormat> SetImageFormat (uint32_t image_format_index)

Change the image format of the stream. This is called when clients want

to dynamically change the resolution of the stream while the streaming is

is going on.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_camera2::Stream::GetImageFormats> GetImageFormats ()

Get the image formats that this stream supports.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_camera2::Stream::GetBuffers2> GetBuffers2 ()

Returns a token to the buffers that are being used to output frames on the stream. The

token is `dispensable` which means it doesn't have to be turned in to sysmem for allocation

to complete. This also means that any SetConstraints call on the returned token can't

conflict with the constraints in the `StreamConfig`, otherwise attempts to wait for buffers

on the token will fail.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_camera2::Stream::GetBuffers> GetBuffers ()

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.