class VideoFormat

Defined at line 6002 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

void VideoFormat ()
bool has_invalid_tag ()

Defined at line 6029 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

bool is_compressed ()

Defined at line 6033 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

::fuchsia::media::VideoCompressedFormat & compressed ()

Defined at line 6035 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

const ::fuchsia::media::VideoCompressedFormat & compressed ()

Defined at line 6040 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

bool is_uncompressed ()

Defined at line 6046 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

void ~VideoFormat ()
void VideoFormat (VideoFormat && )
VideoFormat & operator= (VideoFormat && )
VideoFormat WithCompressed (::fuchsia::media::VideoCompressedFormat && )
VideoFormat WithUncompressed (::fuchsia::media::VideoUncompressedFormat && )
::std::unique_ptr<VideoFormat> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, VideoFormat * value, size_t offset)
zx_status_t Clone (VideoFormat * result)
VideoFormat & set_compressed (::fuchsia::media::VideoCompressedFormat value)
::fuchsia::media::VideoUncompressedFormat & uncompressed ()

Defined at line 6048 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

const ::fuchsia::media::VideoUncompressedFormat & uncompressed ()

Defined at line 6053 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

::fuchsia::media::VideoFormat::Tag Which ()

Defined at line 6059 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

Defined at line 6067 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

VideoFormat & set_uncompressed (::fuchsia::media::VideoUncompressedFormat value)

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kCompressed 1

0x1

kUncompressed 2

0x2

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 6015 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

Friends

class Equality