Channel utilities. More...
#include <limits>
#include <cassert>
#include <cstdint>
#include <boost/config.hpp>
#include <boost/integer/integer_mask.hpp>
#include <boost/type_traits/remove_cv.hpp>
#include "gil_config.hpp"
#include "utilities.hpp"
Go to the source code of this file.
Classes | |
struct | channel_traits< T > |
Traits for channels. Contains the following members: More... | |
struct | scoped_channel_value< BaseChannelValue, MinVal, MaxVal > |
A channel adaptor that modifies the range of the source channel. Models: ChannelValueConcept. More... | |
class | packed_channel_value< NumBits > |
The value of a subbyte channel. Models: ChannelValueConcept. More... | |
class | packed_channel_reference< BitField, FirstBit, NumBits, false > |
A constant subbyte channel reference whose bit offset is fixed at compile time. Models ChannelConcept. More... | |
class | packed_channel_reference< BitField, FirstBit, NumBits, true > |
A mutable subbyte channel reference whose bit offset is fixed at compile time. Models ChannelConcept. More... | |
class | packed_dynamic_channel_reference< BitField, NumBits, false > |
Models a constant subbyte channel reference whose bit offset is a runtime parameter. Models ChannelConcept Same as packed_channel_reference, except that the offset is a runtime parameter. More... | |
class | packed_dynamic_channel_reference< BitField, NumBits, true > |
Models a mutable subbyte channel reference whose bit offset is a runtime parameter. Models ChannelConcept Same as packed_channel_reference, except that the offset is a runtime parameter. More... | |
Namespaces | |
boost | |
Pixel 2D LOCATOR. | |
Functions | |
template<typename BF , int FB, int NB, bool M, typename R > | |
void | swap (const boost::gil::packed_channel_reference< BF, FB, NB, M > x, R &y) |
swap for packed_channel_reference | |
template<typename BF , int FB, int NB, bool M> | |
void | swap (typename boost::gil::packed_channel_reference< BF, FB, NB, M >::value_type &x, const boost::gil::packed_channel_reference< BF, FB, NB, M > y) |
swap for packed_channel_reference | |
template<typename BF , int FB, int NB, bool M> | |
void | swap (const boost::gil::packed_channel_reference< BF, FB, NB, M > x, const boost::gil::packed_channel_reference< BF, FB, NB, M > y) |
swap for packed_channel_reference | |
template<typename BF , int NB, bool M, typename R > | |
void | swap (const boost::gil::packed_dynamic_channel_reference< BF, NB, M > x, R &y) |
swap for packed_dynamic_channel_reference | |
template<typename BF , int NB, bool M> | |
void | swap (typename boost::gil::packed_dynamic_channel_reference< BF, NB, M >::value_type &x, const boost::gil::packed_dynamic_channel_reference< BF, NB, M > y) |
swap for packed_dynamic_channel_reference | |
template<typename BF , int NB, bool M> | |
void | swap (const boost::gil::packed_dynamic_channel_reference< BF, NB, M > x, const boost::gil::packed_dynamic_channel_reference< BF, NB, M > y) |
swap for packed_dynamic_channel_reference | |
Channel utilities.
Definitions of standard GIL channel models