class CreateEncoder_Params
Defined at line 1008 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.
void CreateEncoder_Params ()
void CreateEncoder_Params (CreateEncoder_Params && other)
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 1020 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_input_details ()
Defined at line 1024 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 1034 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_input_details ()
Defined at line 1042 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 1053 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_require_hw ()
Defined at line 1057 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 1064 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_require_hw ()
Defined at line 1072 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
const ::std::string & codec_specifier ()
If set to a value obtained from
`[fuchsia.mediacodec/DetailedCodecDescription.codec_specifier]`, the
create request will create the specified codec or fail. The client
should still set other fields in this table as appropriate, so that the
codec factory can ensure that the codec will meet the client's
requirements (and to convey oob_bytes as needed). More than one codec
reported by from `[fuchsia.mediacodec/DetailedCodecDescription]` can
have the same codec_specifier iff the underlying implementation is the
same. A codec implementation may change its codec_specifier(s) each
boot, whether updated to a new implementation version or not.
Defined at line 1090 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_codec_specifier ()
Defined at line 1094 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
::std::string * mutable_codec_specifier ()
If set to a value obtained from
`[fuchsia.mediacodec/DetailedCodecDescription.codec_specifier]`, the
create request will create the specified codec or fail. The client
should still set other fields in this table as appropriate, so that the
codec factory can ensure that the codec will meet the client's
requirements (and to convey oob_bytes as needed). More than one codec
reported by from `[fuchsia.mediacodec/DetailedCodecDescription]` can
have the same codec_specifier iff the underlying implementation is the
same. A codec implementation may change its codec_specifier(s) each
boot, whether updated to a new implementation version or not.
Defined at line 1108 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_codec_specifier ()
Defined at line 1116 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)
CreateEncoder_Params & set_codec_specifier (::std::string _value)
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)