class VideoFormat

Defined at line 6865 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

VideoFormat

Video (compress or uncompressed) format details. In this context,

"uncompressed" can include block-based image compression formats that still

permit fairly fast random access to image data.

Public Methods

void VideoFormat (VideoFormat && other)
VideoFormat & operator= (VideoFormat && other)
void VideoFormat (const VideoFormat & other)
VideoFormat & operator= (const VideoFormat & other)
bool operator== (const VideoFormat & other)
bool operator!= (const VideoFormat & other)
::fuchsia_media::VideoFormat::Tag Which ()
VideoFormat WithCompressed (::fuchsia_media::VideoCompressedFormat val)
const ::fidl::internal::UnionMemberView<1, Storage_> compressed ()
::fidl::internal::UnionMemberView<1, Storage_> compressed ()
VideoFormat & compressed (::fuchsia_media::VideoCompressedFormat value)

Sets the union to hold the compressed member.

VideoFormat WithUncompressed (::fuchsia_media::VideoUncompressedFormat val)
const ::fidl::internal::UnionMemberView<2, Storage_> uncompressed ()
::fidl::internal::UnionMemberView<2, Storage_> uncompressed ()
VideoFormat & uncompressed (::fuchsia_media::VideoUncompressedFormat value)

Sets the union to hold the uncompressed member.

void VideoFormat (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kCompressed 1
kUncompressed 2

TODO: share union tag types between wire

&

natural.

Defined at line 6875 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits