class StreamProcessorRemoveBufferRequest
Defined at line 11300 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.
void StreamProcessorRemoveBufferRequest ()
void StreamProcessorRemoveBufferRequest (StreamProcessorRemoveBufferRequest && other)
const ::fuchsia::media::Port & port ()
Must be set. Which port (input or output) the buffer is for.
Defined at line 11307 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_port ()
Defined at line 11311 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
::fuchsia::media::Port * mutable_port ()
Must be set. Which port (input or output) the buffer is for.
Defined at line 11316 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_port ()
Defined at line 11324 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const uint64_t & buffer_lifetime_ordinal ()
Scoped to input or output, this is the buffer_lifetime_ordinal under
which the buffer_index is meaningful.
Defined at line 11334 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_buffer_lifetime_ordinal ()
Defined at line 11338 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
uint64_t * mutable_buffer_lifetime_ordinal ()
Scoped to input or output, this is the buffer_lifetime_ordinal under
which the buffer_index is meaningful.
Defined at line 11344 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_buffer_lifetime_ordinal ()
Defined at line 11352 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const uint32_t & buffer_index ()
The buffer_index of the buffer previously established (and most
recently established) by AddBuffer, or by
SetInputBufferPartialSettings / SetOutputBufferPartialSettings. The
scope of this value is under input vs. output and under the
buffer_lifetime_ordinal value.
When using dynamic buffers, the buffer_index values that are between
AddBuffer starting and RemoveBuffer completing (the active
buffer_index values) must be unique for a given Port value and
buffer_lifetime_ordinal value.
Clients using dynamic buffers may wish to not re-use a buffer_index
value quickly upon completion of RemoveBuffer just to make
debugging/diagnosing easier, but technically re-use of buffer_index
in a subsequent AddBuffer is permitted as soon as RemoveBuffer
completes (from the StreamProcessor point of view - the client may
have its own reasons to not re-use that quickly). AddBuffer under an
old (not current) buffer_lifetime_ordinal is never allowed.
Defined at line 11378 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool has_buffer_index ()
Defined at line 11382 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
uint32_t * mutable_buffer_index ()
The buffer_index of the buffer previously established (and most
recently established) by AddBuffer, or by
SetInputBufferPartialSettings / SetOutputBufferPartialSettings. The
scope of this value is under input vs. output and under the
buffer_lifetime_ordinal value.
When using dynamic buffers, the buffer_index values that are between
AddBuffer starting and RemoveBuffer completing (the active
buffer_index values) must be unique for a given Port value and
buffer_lifetime_ordinal value.
Clients using dynamic buffers may wish to not re-use a buffer_index
value quickly upon completion of RemoveBuffer just to make
debugging/diagnosing easier, but technically re-use of buffer_index
in a subsequent AddBuffer is permitted as soon as RemoveBuffer
completes (from the StreamProcessor point of view - the client may
have its own reasons to not re-use that quickly). AddBuffer under an
old (not current) buffer_lifetime_ordinal is never allowed.
Defined at line 11404 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void clear_buffer_index ()
Defined at line 11412 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
StreamProcessorRemoveBufferRequest & set_port (::fuchsia::media::Port _value)
StreamProcessorRemoveBufferRequest & set_buffer_lifetime_ordinal (uint64_t _value)
StreamProcessorRemoveBufferRequest & set_buffer_index (uint32_t _value)
void ~StreamProcessorRemoveBufferRequest ()
StreamProcessorRemoveBufferRequest & operator= (StreamProcessorRemoveBufferRequest && other)
::std::unique_ptr<StreamProcessorRemoveBufferRequest> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,StreamProcessorRemoveBufferRequest *_value,size_t_offset)
zx_status_t Clone (StreamProcessorRemoveBufferRequest * _result)