class StreamBufferConstraints
Defined at line 11113 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_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
void StreamBufferConstraints (Storage_ storage)
void StreamBufferConstraints ()
Defined at line 11118 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
void StreamBufferConstraints (StreamBufferConstraints && )
Defined at line 11119 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
void StreamBufferConstraints (const StreamBufferConstraints & other)
StreamBufferConstraints & operator= (StreamBufferConstraints && )
Defined at line 11120 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
StreamBufferConstraints & operator= (const StreamBufferConstraints & other)
bool operator== (const StreamBufferConstraints & other)
bool operator!= (const StreamBufferConstraints & other)
bool IsEmpty ()
const std::optional<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).
::std::optional<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).
StreamBufferConstraints & buffer_constraints_version_ordinal (std::optional<uint64_t> value)
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).
const std::optional< ::fuchsia_media::StreamBufferSettings> & default_settings ()
::std::optional< ::fuchsia_media::StreamBufferSettings> & default_settings ()
StreamBufferConstraints & default_settings (std::optional< ::fuchsia_media::StreamBufferSettings> value)
Setter for default_settings.
const std::optional<uint32_t> & per_packet_buffer_bytes_min ()
::std::optional<uint32_t> & per_packet_buffer_bytes_min ()
StreamBufferConstraints & per_packet_buffer_bytes_min (std::optional<uint32_t> value)
Setter for per_packet_buffer_bytes_min.
const std::optional<uint32_t> & per_packet_buffer_bytes_recommended ()
::std::optional<uint32_t> & per_packet_buffer_bytes_recommended ()
StreamBufferConstraints & per_packet_buffer_bytes_recommended (std::optional<uint32_t> value)
Setter for per_packet_buffer_bytes_recommended.
const std::optional<uint32_t> & per_packet_buffer_bytes_max ()
::std::optional<uint32_t> & per_packet_buffer_bytes_max ()
StreamBufferConstraints & per_packet_buffer_bytes_max (std::optional<uint32_t> value)
Setter for per_packet_buffer_bytes_max.
const std::optional<uint32_t> & packet_count_for_server_min ()
::std::optional<uint32_t> & packet_count_for_server_min ()
StreamBufferConstraints & packet_count_for_server_min (std::optional<uint32_t> value)
Setter for packet_count_for_server_min.
const std::optional<uint32_t> & packet_count_for_server_recommended ()
::std::optional<uint32_t> & packet_count_for_server_recommended ()
StreamBufferConstraints & packet_count_for_server_recommended (std::optional<uint32_t> value)
Setter for packet_count_for_server_recommended.
const std::optional<uint32_t> & packet_count_for_server_recommended_max ()
::std::optional<uint32_t> & packet_count_for_server_recommended_max ()
StreamBufferConstraints & packet_count_for_server_recommended_max (std::optional<uint32_t> value)
Setter for packet_count_for_server_recommended_max.
const std::optional<uint32_t> & packet_count_for_server_max ()
::std::optional<uint32_t> & packet_count_for_server_max ()
StreamBufferConstraints & packet_count_for_server_max (std::optional<uint32_t> value)
Setter for packet_count_for_server_max.
const std::optional<uint32_t> & packet_count_for_client_min ()
::std::optional<uint32_t> & packet_count_for_client_min ()
StreamBufferConstraints & packet_count_for_client_min (std::optional<uint32_t> value)
Setter for packet_count_for_client_min.
const std::optional<uint32_t> & packet_count_for_client_max ()
::std::optional<uint32_t> & packet_count_for_client_max ()
StreamBufferConstraints & packet_count_for_client_max (std::optional<uint32_t> value)
Setter for packet_count_for_client_max.
const std::optional<bool> & single_buffer_mode_allowed ()
::std::optional<bool> & single_buffer_mode_allowed ()
StreamBufferConstraints & single_buffer_mode_allowed (std::optional<bool> value)
Setter for single_buffer_mode_allowed.
const std::optional<bool> & is_physically_contiguous_required ()
::std::optional<bool> & is_physically_contiguous_required ()
StreamBufferConstraints & is_physically_contiguous_required (std::optional<bool> value)
Setter for is_physically_contiguous_required.
void StreamBufferConstraints (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits