Boost GIL


Classes | Namespaces | Functions
bit_aligned_pixel_reference.hpp File Reference

A model of a heterogeneous pixel that is not byte aligned. Examples are bitmap (1-bit pixels) or 6-bit RGB (222) More...

#include <functional>
#include <boost/config.hpp>
#include <boost/mpl/accumulate.hpp>
#include <boost/mpl/at.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/plus.hpp>
#include <boost/mpl/push_back.hpp>
#include <boost/mpl/vector.hpp>
#include "gil_config.hpp"
#include "pixel.hpp"
#include "channel.hpp"

Go to the source code of this file.

Classes

struct  bit_aligned_pixel_reference< BitField, ChannelBitSizes, Layout, IsMutable >
 Heterogeneous pixel reference corresponding to non-byte-aligned bit range. Models ColorBaseConcept, PixelConcept, PixelBasedConcept. More...
 
struct  is_pixel< bit_aligned_pixel_reference< B, C, L, M > >
 Metafunction predicate that flags bit_aligned_pixel_reference as a model of PixelConcept. Required by PixelConcept. More...
 

Namespaces

 boost
 Pixel 2D LOCATOR.
 

Functions

template<int K, typename BitField , typename ChannelBitSizes , typename L , bool Mutable>
kth_element_reference_type
< bit_aligned_pixel_reference
< BitField, ChannelBitSizes, L,
Mutable >, K >::type 
at_c (const bit_aligned_pixel_reference< BitField, ChannelBitSizes, L, Mutable > &p)
 
template<typename B , typename C , typename L , typename R >
void swap (const boost::gil::bit_aligned_pixel_reference< B, C, L, true > x, R &y)
 
template<typename B , typename C , typename L >
void swap (typename boost::gil::bit_aligned_pixel_reference< B, C, L, true >::value_type &x, const boost::gil::bit_aligned_pixel_reference< B, C, L, true > y)
 
template<typename B , typename C , typename L >
void swap (const boost::gil::bit_aligned_pixel_reference< B, C, L, true > x, const boost::gil::bit_aligned_pixel_reference< B, C, L, true > y)
 

Detailed Description

A model of a heterogeneous pixel that is not byte aligned. Examples are bitmap (1-bit pixels) or 6-bit RGB (222)

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date
2005-2007
Last updated on September 28, 2006