packed_pixel.hpp File Reference


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-2007
Last updated on September 28, 2006

#include <functional>
#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.


Namespaces

namespace  boost
namespace  boost::gil

Classes

struct  packed_pixel
 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...

Functions

template<int K, typename P, typename C, typename L>
kth_element_reference_type<
packed_pixel< P, C, L >,
K >::type 
boost::gil::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 
boost::gil::at_c (const packed_pixel< P, C, L > &p)

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google