class PixelFormat

Defined at line 1954 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/hlcpp/fuchsia/sysmem/cpp/fidl.h

Describes how the pixels within an image are represented.

Simple formats need only a type.

Parametric pixel formats may require additional properties.

This type is deprecated for new code, but is still used by some camera code.

Public Members

PixelFormatType type
bool has_format_modifier
FormatModifier format_modifier

Public Methods

::std::unique_ptr<PixelFormat> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, PixelFormat * value, size_t _offset)
zx_status_t Clone (PixelFormat * result)