class StreamBufferConstraints
Defined at line 6032 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
This struct conveys the buffer_constraints_version_ordinal.
Historically this table conveyed more fields than it currently does, but
those fields are all deprecated in favor of using sysmem instead.
There are separate instances of this struct for stream input and stream
output.
Notes about fields:
For uncompressed video, separate and complete frames in their
separate buffers (buffer-per-packet mode) are always a requirement.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_media::wire::StreamBufferConstraints> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_media::wire::StreamBufferConstraints> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_media::wire::StreamBufferConstraints>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void StreamBufferConstraints ()
Defined at line 6034 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
void StreamBufferConstraints (const StreamBufferConstraints & other)
Defined at line 6035 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
bool has_per_packet_buffer_bytes_recommended ()
StreamBufferConstraints & operator= (const StreamBufferConstraints & other)
Defined at line 6036 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
void StreamBufferConstraints (StreamBufferConstraints && other)
Defined at line 6037 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
uint64_t & buffer_constraints_version_ordinal ()
This is a version number the server sets on the constraints to allow the
server to determine when the client has caught up with the latest
constraints sent by the server. The server won't emit output data until
the client has configured output settings and buffers with a
buffer_constraints_version_ordinal >= the latest
buffer_constraints_version_ordinal that had
buffer_constraints_action_required true. See
buffer_constraints_action_required comments for more.
A buffer_constraints_version_ordinal of 0 is not permitted, to simplify
initial state handling. Other than 0, both odd and even version ordinals
are allowed (in contrast to the stream_lifetime_ordinal, neither the
client nor server ever has a reason to consider the latest version to be
stale, so there would be no benefit to disallowing even values).
bool has_buffer_constraints_version_ordinal ()
::fuchsia_media::wire::StreamBufferSettings & default_settings ()
bool has_default_settings ()
StreamBufferConstraints & operator= (StreamBufferConstraints && other)
Defined at line 6038 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
uint32_t & per_packet_buffer_bytes_min ()
bool has_per_packet_buffer_bytes_min ()
uint32_t & per_packet_buffer_bytes_recommended ()
uint32_t & per_packet_buffer_bytes_max ()
bool has_per_packet_buffer_bytes_max ()
uint32_t & packet_count_for_server_min ()
bool has_packet_count_for_server_min ()
uint32_t & packet_count_for_server_recommended ()
bool has_packet_count_for_server_recommended ()
uint32_t & packet_count_for_server_recommended_max ()
bool has_packet_count_for_server_recommended_max ()
uint32_t & packet_count_for_server_max ()
bool has_packet_count_for_server_max ()
uint32_t & packet_count_for_client_min ()
bool has_packet_count_for_client_min ()
uint32_t & packet_count_for_client_max ()
bool has_packet_count_for_client_max ()
bool & single_buffer_mode_allowed ()
bool has_single_buffer_mode_allowed ()
bool & is_physically_contiguous_required ()
bool has_is_physically_contiguous_required ()
void ~StreamBufferConstraints ()
Defined at line 6040 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder