class ImageFormat

Defined at line 3718 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h

Describes how an image is represented.

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

Public Methods

void ImageFormat (uint32_t width, uint32_t height, uint32_t layers, ::fuchsia_sysmem::PixelFormat pixel_format, ::fuchsia_sysmem::ColorSpace color_space, ::std::array< ::fuchsia_sysmem::ImagePlane, 4> planes)
void ImageFormat ()

Default constructs a |ImageFormat| only if all of its members are default constructible.

Defined at line 3728 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h

void ImageFormat (ImageFormat && )

Defined at line 3731 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h

void ImageFormat (Storage_ storage)
void ImageFormat (const ImageFormat & other)
ImageFormat & operator= (const ImageFormat & other)
bool operator== (const ImageFormat & other)
bool operator!= (const ImageFormat & other)
uint32_t width ()

Row width in pixels.

uint32_t & width ()

Row width in pixels.

ImageFormat & width (uint32_t value)

Row width in pixels.

uint32_t height ()

Number of rows.

uint32_t & height ()

Number of rows.

ImageFormat & height (uint32_t value)

Number of rows.

uint32_t layers ()

Number of layers within a multi-layered image.

Defaults to 1 if not specified.

uint32_t & layers ()

Number of layers within a multi-layered image.

Defaults to 1 if not specified.

ImageFormat & layers (uint32_t value)

Number of layers within a multi-layered image.

Defaults to 1 if not specified.

ImageFormat & operator= (ImageFormat && )

Defined at line 3732 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h

const ::fuchsia_sysmem::PixelFormat & pixel_format ()

Pixel format.

::fuchsia_sysmem::PixelFormat & pixel_format ()

Pixel format.

ImageFormat & pixel_format (::fuchsia_sysmem::PixelFormat value)

Pixel format.

const ::fuchsia_sysmem::ColorSpace & color_space ()

Color space.

::fuchsia_sysmem::ColorSpace & color_space ()

Color space.

ImageFormat & color_space (::fuchsia_sysmem::ColorSpace value)

Color space.

const ::std::array< ::fuchsia_sysmem::ImagePlane, 4> & planes ()
::std::array< ::fuchsia_sysmem::ImagePlane, 4> & planes ()
ImageFormat & planes (::std::array< ::fuchsia_sysmem::ImagePlane, 4> value)

Setter for planes.

void ImageFormat (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits