boost::gil::packed_pixel

Heterogeneous pixel value whose channel references can be constructed from the pixel bitfield and their index. Models ColorBaseValueConcept, PixelValueConcept, PixelBasedConcept Typical use for this is a model of a packed pixel (like 565 RGB)

Synopsis

template<
    typename P,
    typename C,
    typename L>
struct packed_pixel;

Member Functions

Name

Description

packed_pixel [constructor]

Constructors

operator=

Assignment operators

operator==

Equality operators

operator!=

Inequality operator

Data Members

Name

_bitfield

Static Data Members

Name

is_mutable

Template Parameters

Name

Description

BitField

Type that holds the bits of the pixel. Typically an integral type, like std::uint16_t.

ChannelRefs

MP11 list whose elements are packed channels. They must be constructible from BitField. GIL uses packed_channel_reference

Layout

defining the color space and ordering of the channels. Example value: rgb_layout_t

Created with MrDocs