class StreamBufferPartialSettings
Defined at line 9223 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
Public Methods
void StreamBufferPartialSettings (Storage_ storage)
bool IsEmpty ()
void StreamBufferPartialSettings ()
Defined at line 9228 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
void StreamBufferPartialSettings (StreamBufferPartialSettings && )
Defined at line 9229 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
const std::optional<uint64_t> & buffer_lifetime_ordinal ()
The containing message starts a new buffer_lifetime_ordinal.
There is a separate buffer_lifetime_ordinal for input vs. output.
Re-use of the same value is not allowed. Values must be odd. Values
must only increase (increasing by more than 2 is permitted).
A buffer_lifetime_ordinal lifetime starts at SetInputBufferSettings() or
SetOutputBufferSettings(), and ends at the earlier of
CloseCurrentStream() with release_input_buffers/release_output_buffers
set or SetOutputBufferSettings() with new buffer_lifetime_ordinal in the
case of mid-stream output config change.
::std::optional<uint64_t> & buffer_lifetime_ordinal ()
The containing message starts a new buffer_lifetime_ordinal.
There is a separate buffer_lifetime_ordinal for input vs. output.
Re-use of the same value is not allowed. Values must be odd. Values
must only increase (increasing by more than 2 is permitted).
A buffer_lifetime_ordinal lifetime starts at SetInputBufferSettings() or
SetOutputBufferSettings(), and ends at the earlier of
CloseCurrentStream() with release_input_buffers/release_output_buffers
set or SetOutputBufferSettings() with new buffer_lifetime_ordinal in the
case of mid-stream output config change.
StreamBufferPartialSettings & buffer_lifetime_ordinal (std::optional<uint64_t> value)
The containing message starts a new buffer_lifetime_ordinal.
There is a separate buffer_lifetime_ordinal for input vs. output.
Re-use of the same value is not allowed. Values must be odd. Values
must only increase (increasing by more than 2 is permitted).
A buffer_lifetime_ordinal lifetime starts at SetInputBufferSettings() or
SetOutputBufferSettings(), and ends at the earlier of
CloseCurrentStream() with release_input_buffers/release_output_buffers
set or SetOutputBufferSettings() with new buffer_lifetime_ordinal in the
case of mid-stream output config change.
const std::optional<uint64_t> & buffer_constraints_version_ordinal ()
This value indicates which version of constraints the client is/was aware
of so far.
For input, this must always be 0 because constraints don't change for
input (settings can change, but there's no settings vs current
constraints synchronization issue on input).
For output, this allows the server to know when the client is
sufficiently caught up before the server will generate any more output.
When there is no active stream, a client is permitted to re-configure
buffers again using the same buffer_constraints_version_ordinal.
::std::optional<uint64_t> & buffer_constraints_version_ordinal ()
This value indicates which version of constraints the client is/was aware
of so far.
For input, this must always be 0 because constraints don't change for
input (settings can change, but there's no settings vs current
constraints synchronization issue on input).
For output, this allows the server to know when the client is
sufficiently caught up before the server will generate any more output.
When there is no active stream, a client is permitted to re-configure
buffers again using the same buffer_constraints_version_ordinal.
StreamBufferPartialSettings & buffer_constraints_version_ordinal (std::optional<uint64_t> value)
This value indicates which version of constraints the client is/was aware
of so far.
For input, this must always be 0 because constraints don't change for
input (settings can change, but there's no settings vs current
constraints synchronization issue on input).
For output, this allows the server to know when the client is
sufficiently caught up before the server will generate any more output.
When there is no active stream, a client is permitted to re-configure
buffers again using the same buffer_constraints_version_ordinal.
StreamBufferPartialSettings & operator= (StreamBufferPartialSettings && )
Defined at line 9230 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
const std::optional<bool> & single_buffer_mode ()
::std::optional<bool> & single_buffer_mode ()
StreamBufferPartialSettings & single_buffer_mode (std::optional<bool> value)
Setter for single_buffer_mode.
const std::optional<uint32_t> & packet_count_for_server ()
::std::optional<uint32_t> & packet_count_for_server ()
StreamBufferPartialSettings & packet_count_for_server (std::optional<uint32_t> value)
Setter for packet_count_for_server.
const std::optional<uint32_t> & packet_count_for_client ()
::std::optional<uint32_t> & packet_count_for_client ()
StreamBufferPartialSettings & packet_count_for_client (std::optional<uint32_t> value)
Setter for packet_count_for_client.
const std::optional< ::fidl::ClientEnd< ::fuchsia_sysmem::BufferCollectionToken>> & sysmem_token ()
::std::optional< ::fidl::ClientEnd< ::fuchsia_sysmem::BufferCollectionToken>> & sysmem_token ()
StreamBufferPartialSettings & sysmem_token (std::optional< ::fidl::ClientEnd< ::fuchsia_sysmem::BufferCollectionToken>> value)
Setter for sysmem_token.
const std::optional< ::fidl::ClientEnd< ::fuchsia_sysmem2::BufferCollectionToken>> & sysmem2_token ()
The client end of a BufferCollectionToken channel, which the
StreamProcessor will use to deliver constraints to sysmem and learn of
buffers allocated by sysmem.
The client guarantees that the token is already known to sysmem (via
BufferCollectionToken.Sync(), BufferCollection.Sync(), or
BufferCollectionEvents.OnDuplicatedTokensKnownByServer()).
::std::optional< ::fidl::ClientEnd< ::fuchsia_sysmem2::BufferCollectionToken>> & sysmem2_token ()
The client end of a BufferCollectionToken channel, which the
StreamProcessor will use to deliver constraints to sysmem and learn of
buffers allocated by sysmem.
The client guarantees that the token is already known to sysmem (via
BufferCollectionToken.Sync(), BufferCollection.Sync(), or
BufferCollectionEvents.OnDuplicatedTokensKnownByServer()).
StreamBufferPartialSettings & sysmem2_token (std::optional< ::fidl::ClientEnd< ::fuchsia_sysmem2::BufferCollectionToken>> value)
The client end of a BufferCollectionToken channel, which the
StreamProcessor will use to deliver constraints to sysmem and learn of
buffers allocated by sysmem.
The client guarantees that the token is already known to sysmem (via
BufferCollectionToken.Sync(), BufferCollection.Sync(), or
BufferCollectionEvents.OnDuplicatedTokensKnownByServer()).
void StreamBufferPartialSettings (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits