class CreateEncoder_Params
Defined at line 788 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
Parameters used to request an encoder.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::media::FormatDetails & input_details ()
The format of the uncompressed input data.
This field should be a raw mime_type (e.g. 'video/raw') and uncompressed
format details for the encoder to use when reading buffers.
To be elibigible an encoder must support the input format.
Defined at line 800 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_input_details ()
Defined at line 804 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
::fuchsia::media::FormatDetails * mutable_input_details ()
The format of the uncompressed input data.
This field should be a raw mime_type (e.g. 'video/raw') and uncompressed
format details for the encoder to use when reading buffers.
To be elibigible an encoder must support the input format.
Defined at line 814 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_input_details ()
Defined at line 822 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
const bool & require_hw ()
If true, require that the returned codec is HW-accelerated.
If not set, interpreted as false.
Defined at line 833 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_require_hw ()
Defined at line 837 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool * mutable_require_hw ()
If true, require that the returned codec is HW-accelerated.
If not set, interpreted as false.
Defined at line 844 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_require_hw ()
Defined at line 852 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
CreateEncoder_Params & set_input_details (::fuchsia::media::FormatDetails _value)
CreateEncoder_Params & set_require_hw (bool _value)
void CreateEncoder_Params ()
void CreateEncoder_Params (CreateEncoder_Params && other)
void ~CreateEncoder_Params ()
CreateEncoder_Params & operator= (CreateEncoder_Params && other)
::std::unique_ptr<CreateEncoder_Params> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, CreateEncoder_Params * _value, size_t _offset)
zx_status_t Clone (CreateEncoder_Params * _result)