class ImageFormat

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

Describes how an image is represented.

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

Public Members

uint32_t width
uint32_t height
uint32_t layers
PixelFormat pixel_format
ColorSpace color_space
array planes

Public Methods

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