Modules | Alphabetical List | Class List | Directories | File List | File Members | GIL Home Page # channel.hpp File Reference ## Detailed Description Channel utilities. Author: Lubomir Bourdev and Hailin Jin Adobe Systems Incorporated Date: 2005-2007 Last updated on May 6, 2007 Definitions of standard GIL channel models `#include <limits>` `#include <cassert>` `#include <boost/cstdint.hpp>` `#include "gil_config.hpp"` `#include "utilities.hpp"` Go to the source code of this file.
## Namespaces
namespace | boost
namespace | boost::gil
namespace | boost::gil::detail
namespace | std
## Classes
struct | channel_traits
| Traits for channels. Contains the following members:. More...
struct | scoped_channel_value
| A channel adaptor that modifies the range of the source channel. Models: ChannelValueConcept. More...
class | packed_channel_value
| 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...
## Typedefs
typedef uint8_t | boost::gil::bits8
typedef uint16_t | boost::gil::bits16
typedef uint32_t | boost::gil::bits32
typedef int8_t | boost::gil::bits8s
typedef int16_t | boost::gil::bits16s
typedef int32_t | boost::gil::bits32s
typedef scoped_channel_value< float, float_zero, float_one > | boost::gil::bits32f
## Functions
template<typename BF, int FB, int NB, bool M, typename R>
void | std::swap (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 | std::swap (typename boost::gil::packed_channel_reference< BF, FB, NB, M >::value_type &x, 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 | std::swap (boost::gil::packed_channel_reference< BF, FB, NB, M > x, 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 | std::swap (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 | std::swap (typename boost::gil::packed_dynamic_channel_reference< BF, NB, M >::value_type &x, boost::gil::packed_dynamic_channel_reference< BF, NB, M > y)
| swap for packed_dynamic_channel_reference
template<typename BF, int NB, bool M>
void | std::swap (boost::gil::packed_dynamic_channel_reference< BF, NB, M > x, boost::gil::packed_dynamic_channel_reference< BF, NB, M > y)
| swap for packed_dynamic_channel_reference