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 bits8
typedef uint16_t bits16
typedef uint32_t bits32
typedef int8_t bits8s
typedef int16_t bits16s
typedef int32_t bits32s
typedef scoped_channel_value
< float, float_zero, float_one > 
bits32f

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

Generated on Sat May 2 13:50:15 2009 for Generic Image Library by  doxygen 1.5.6