class VideoFormat

Defined at line 5928 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 ()
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)
bool has_invalid_tag ()

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

bool is_compressed ()

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

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

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

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

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

bool is_uncompressed ()

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

VideoFormat & set_compressed (::fuchsia::media::VideoCompressedFormat value)
VideoFormat & set_uncompressed (::fuchsia::media::VideoUncompressedFormat value)
::fuchsia::media::VideoUncompressedFormat & uncompressed ()

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

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

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

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

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

Enumerations

enum Tag
Name Value
kCompressed 1
kUncompressed 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality