class DetailedCodecDescription
Defined at line 1911 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
Clients needing codec information prior to just requesting a codec with
CodecFactory.CreateDecoder or CodecFactory.CreateEncoder should use GetDetailedCodecDescriptions
to get this table, which has details re. the codec and the profile entries supported by the
codec.
Clients with no real need for codec information prior to requesting a codec can simply use
CodecFactory.CreateDecoder or CodecFactory.CreateEncoder with relevant requirements set in that
request, and then call StreamProcessor.Sync (round trip) to see if a codec was created
successfully.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::mediacodec::CodecType & codec_type ()
Decoder or encoder.
Defined at line 1918 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_codec_type ()
Defined at line 1922 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
::fuchsia::mediacodec::CodecType * mutable_codec_type ()
Decoder or encoder.
Defined at line 1927 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_codec_type ()
Defined at line 1935 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
const ::std::string & mime_type ()
The mime type of the compressed format. For decoders this is the mime
type of the input. For encoders, this is the mime type of the output.
Defined at line 1945 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_mime_type ()
Defined at line 1949 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
::std::string * mutable_mime_type ()
The mime type of the compressed format. For decoders this is the mime
type of the input. For encoders, this is the mime type of the output.
Defined at line 1955 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_mime_type ()
Defined at line 1963 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
const bool & is_hw ()
If this decoder/encoder uses underlying hardware to perform its operations.
Defined at line 1972 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_is_hw ()
Defined at line 1976 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool * mutable_is_hw ()
If this decoder/encoder uses underlying hardware to perform its operations.
Defined at line 1981 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_is_hw ()
Defined at line 1989 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
const ::fuchsia::mediacodec::ProfileDescriptions & profile_descriptions ()
A list of profile descriptions that describe what codec profiles this
encoder/decoder supports along with requirements for using each profile.
Defined at line 1999 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
bool has_profile_descriptions ()
Defined at line 2003 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
::fuchsia::mediacodec::ProfileDescriptions * mutable_profile_descriptions ()
A list of profile descriptions that describe what codec profiles this
encoder/decoder supports along with requirements for using each profile.
Defined at line 2009 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
void clear_profile_descriptions ()
Defined at line 2017 of file fidling/gen/sdk/fidl/fuchsia.mediacodec/fuchsia.mediacodec/hlcpp/fuchsia/mediacodec/cpp/fidl.h
DetailedCodecDescription & set_codec_type (::fuchsia::mediacodec::CodecType _value)
DetailedCodecDescription & set_mime_type (::std::string _value)
DetailedCodecDescription & set_is_hw (bool _value)
DetailedCodecDescription & set_profile_descriptions (::fuchsia::mediacodec::ProfileDescriptions _value)
void DetailedCodecDescription ()
void DetailedCodecDescription (DetailedCodecDescription && other)
void ~DetailedCodecDescription ()
DetailedCodecDescription & operator= (DetailedCodecDescription && other)
::std::unique_ptr<DetailedCodecDescription> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DetailedCodecDescription * _value, size_t _offset)
zx_status_t Clone (DetailedCodecDescription * _result)