class Compression
Defined at line 11671 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
Describes the compression applied to a stream. This type can be used in conjunction with
`AudioStreamType` or `VideoStreamType` to represent a medium-specific compressed type.
Public Methods
void Compression (Storage_ storage)
void Compression (::std::string type, ::std::optional< ::std::vector<uint8_t>> parameters)
void Compression ()
Default constructs a |Compression| only if all of its members are default constructible.
Defined at line 11681 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
void Compression (Compression && )
Defined at line 11684 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
void Compression (const Compression & other)
Compression & operator= (Compression && )
Defined at line 11685 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
Compression & operator= (const Compression & other)
bool operator== (const Compression & other)
bool operator!= (const Compression & other)
const ::std::string & type ()
The type of compression applied to the stream. This is generally one of the *_ENCODING_*
values, though `AUDIO_ENCODING_LPCM` and `VIDEO_ENCODING_UNCOMPRESSED` must not be used,
because those encodings are regarded as uncompressed.
::std::string & type ()
The type of compression applied to the stream. This is generally one of the *_ENCODING_*
values, though `AUDIO_ENCODING_LPCM` and `VIDEO_ENCODING_UNCOMPRESSED` must not be used,
because those encodings are regarded as uncompressed.
Compression & type (::std::string value)
The type of compression applied to the stream. This is generally one of the *_ENCODING_*
values, though `AUDIO_ENCODING_LPCM` and `VIDEO_ENCODING_UNCOMPRESSED` must not be used,
because those encodings are regarded as uncompressed.
const ::std::optional< ::std::vector<uint8_t>> & parameters ()
Type-specific, opaque 'out-of-band' parameters describing the compression of the stream.
::std::optional< ::std::vector<uint8_t>> & parameters ()
Type-specific, opaque 'out-of-band' parameters describing the compression of the stream.
Compression & parameters (::std::optional< ::std::vector<uint8_t>> value)
Type-specific, opaque 'out-of-band' parameters describing the compression of the stream.
void Compression (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits