template <>
class WireSyncClientImpl
Defined at line 2727 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_camera2::Stream>|,
avoiding setting up a client.
Public Methods
::fidl::OneWayStatus Start ()
Control Operations
Starts the streaming of frames.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus Stop ()
Stops the streaming of frames.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus ReleaseFrame (uint32_t buffer_id)
Unlocks the specified frame, allowing the driver to reuse the memory.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus AcknowledgeFrameError ()
Provides flow control for receiving frame errors. See OnFrameAvailable comment.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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.
Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_camera2::Stream::GetImageFormats> GetImageFormats ()
Get the image formats that this stream supports.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::WireResult< ::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.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_camera2::Stream::GetBuffers> GetBuffers ()
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.