Boost GIL


Classes | Namespaces | Functions
packed_pixel.hpp File Reference

A model of a heterogeneous pixel whose channels are bit ranges. For example 16-bit RGB in '565' format. More...

#include <functional>
#include <boost/core/ignore_unused.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/front.hpp>
#include "gil_config.hpp"
#include "pixel.hpp"

Go to the source code of this file.

Classes

struct  packed_pixel< P, C, L >
 Heterogeneous pixel value whose channel references can be constructed from the pixel bitfield and their index. Models ColorBaseValueConcept, PixelValueConcept, PixelBasedConcept Typical use for this is a model of a packed pixel (like 565 RGB) More...
 

Namespaces

 boost
 Pixel 2D LOCATOR.
 

Functions

template<int K, typename P , typename C , typename L >
kth_element_reference_type
< packed_pixel< P, C, L >, K >
::type 
at_c (packed_pixel< P, C, L > &p)
 
template<int K, typename P , typename C , typename L >
kth_element_const_reference_type
< packed_pixel< P, C, L >, K >
::type 
at_c (const packed_pixel< P, C, L > &p)
 

Detailed Description

A model of a heterogeneous pixel whose channels are bit ranges. For example 16-bit RGB in '565' format.

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date
2005-2009
Last updated on February 20, 2009