boost::gil::packed_channel_reference

Synopsis

Declared in <boost/gil/channel.hpp>

template<
    typename BitField,
    int FirstBit,
    int NumBits,
    bool IsMutable>
class packed_channel_reference;

Specializations

Name

Description

packed_channel_reference<BitField, FirstBit, NumBits, false>

A constant subbyte channel reference whose bit offset is fixed at compile time. Models ChannelConcept

packed_channel_reference<BitField, FirstBit, NumBits, true>

A mutable subbyte channel reference whose bit offset is fixed at compile time. Models ChannelConcept

Template Parameters

Name

Description

BitField

A type that holds the bits of the pixel from which the channel is referenced. Typically an integral type, like std::uint16_t

FirstBit

Defines, with NumBits, the sequence of bits in the data value that contain the channel

NumBits

Defines, with FirstBit, the sequence of bits in the data value that contain the channel

IsMutable

true if the reference is mutable

Created with MrDocs