class StreamBufferPartialSettings
Defined at line 8760 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
StreamBufferPartialSettings & set_buffer_lifetime_ordinal (uint64_t _value)
StreamBufferPartialSettings & set_buffer_constraints_version_ordinal (uint64_t _value)
StreamBufferPartialSettings & set_single_buffer_mode (bool _value)
StreamBufferPartialSettings & set_packet_count_for_server (uint32_t _value)
StreamBufferPartialSettings & set_packet_count_for_client (uint32_t _value)
StreamBufferPartialSettings & set_sysmem_token (::fidl::InterfaceHandle< ::fuchsia::sysmem::BufferCollectionToken> _value)
StreamBufferPartialSettings & set_sysmem2_token (::fidl::InterfaceHandle< ::fuchsia::sysmem2::BufferCollectionToken> _value)
void StreamBufferPartialSettings ()
void StreamBufferPartialSettings (StreamBufferPartialSettings && other)
void ~StreamBufferPartialSettings ()
StreamBufferPartialSettings & operator= (StreamBufferPartialSettings && other)
::std::unique_ptr<StreamBufferPartialSettings> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, StreamBufferPartialSettings * _value, size_t _offset)
zx_status_t Clone (StreamBufferPartialSettings * _result)
const 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.
Defined at line 8778 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_buffer_lifetime_ordinal ()
Defined at line 8782 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
uint64_t * mutable_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.
Defined at line 8798 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_buffer_lifetime_ordinal ()
Defined at line 8806 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const 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.
Defined at line 8826 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_buffer_constraints_version_ordinal ()
Defined at line 8830 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
uint64_t * mutable_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.
Defined at line 8846 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_buffer_constraints_version_ordinal ()
Defined at line 8854 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const bool & single_buffer_mode ()
Defined at line 8862 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_single_buffer_mode ()
Defined at line 8866 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool * mutable_single_buffer_mode ()
Defined at line 8870 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_single_buffer_mode ()
Defined at line 8878 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const uint32_t & packet_count_for_server ()
Defined at line 8886 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_packet_count_for_server ()
Defined at line 8890 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
uint32_t * mutable_packet_count_for_server ()
Defined at line 8894 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_packet_count_for_server ()
Defined at line 8902 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const uint32_t & packet_count_for_client ()
Defined at line 8910 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_packet_count_for_client ()
Defined at line 8914 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
uint32_t * mutable_packet_count_for_client ()
Defined at line 8918 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_packet_count_for_client ()
Defined at line 8926 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const ::fidl::InterfaceHandle< ::fuchsia::sysmem::BufferCollectionToken> & sysmem_token ()
Defined at line 8934 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_sysmem_token ()
Defined at line 8938 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
::fidl::InterfaceHandle< ::fuchsia::sysmem::BufferCollectionToken> * mutable_sysmem_token ()
Defined at line 8942 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_sysmem_token ()
Defined at line 8950 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const ::fidl::InterfaceHandle< ::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()).
Defined at line 8965 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_sysmem2_token ()
Defined at line 8969 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
::fidl::InterfaceHandle< ::fuchsia::sysmem2::BufferCollectionToken> * mutable_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()).
Defined at line 8980 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_sysmem2_token ()
Defined at line 8988 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h