TuttleOFX  1
boost::gil::detail Namespace Reference

Data Structures

struct  channel_traits_impl< T, true >
struct  channel_traits_impl< T, false >
struct  channel_traits_impl< const T, false >
struct  min_fast_uint
struct  static_copy_bytes
struct  static_copy_bytes< 0 >
class  packed_channel_reference_base
class  png_reader_info
struct  unsigned_integral_max_value
struct  unsigned_integral_max_value< uint8_t >
struct  unsigned_integral_max_value< uint16_t >
struct  unsigned_integral_max_value< uint32_t >
struct  unsigned_integral_max_value< packed_channel_value< K > >
struct  unsigned_integral_num_bits
struct  unsigned_integral_num_bits< packed_channel_value< K > >
struct  channel_converter_unsigned_impl
 This is the default implementation. Performance specializatons are provided. More...
struct  channel_converter_unsigned_impl< SrcChannelV, DstChannelV, true, true >
struct  channel_converter_unsigned_integral< SrcChannelV, DstChannelV, true >
struct  channel_converter_unsigned_integral< SrcChannelV, DstChannelV, false >
struct  channel_converter_unsigned_integral_impl< SrcChannelV, DstChannelV, true, true >
struct  channel_converter_unsigned_integral_impl< SrcChannelV, DstChannelV, false, true >
struct  channel_converter_unsigned_integral_impl< uintmax_t, DstChannelV, false, true >
struct  channel_converter_unsigned_integral_impl< SrcChannelV, DstChannelV, SrcLessThanDst, false >
struct  channel_converter_unsigned_integral_nondivisible< SrcChannelV, DstChannelV, true, false >
struct  channel_converter_unsigned_integral_nondivisible< SrcChannelV, DstChannelV, true, true >
struct  channel_converter_unsigned_integral_nondivisible< SrcChannelV, DstChannelV, false, CannotFit >
struct  channel_convert_to_unsigned
struct  channel_convert_to_unsigned< bits8s >
struct  channel_convert_to_unsigned< bits16s >
struct  channel_convert_to_unsigned< bits32s >
struct  channel_convert_from_unsigned
struct  channel_convert_from_unsigned< bits8s >
struct  channel_convert_from_unsigned< bits16s >
struct  channel_convert_from_unsigned< bits32s >
struct  rgb_to_luminance_fn
 red * .3 + green * .59 + blue * .11 + .5 More...
struct  rgb_to_luminance_fn< uint8_t, uint8_t, uint8_t, GrayChannelValue >
struct  construct_matched_t
struct  construct_matched_t< 0 >
class  dynamic_io_fnobj
struct  rgb_to_luminance_fn< double, double, double, GrayChannelValue >

Functions

uint32_t div255 (uint32_t in)
uint32_t div32768 (uint32_t in)
template<typename GrayChannel , typename RedChannel , typename GreenChannel , typename BlueChannel >
channel_traits< GrayChannel >
::value_type 
rgb_to_luminance (const RedChannel &red, const GreenChannel &green, const BlueChannel &blue)
template<typename Pixel >
channel_type< Pixel >::type alpha_or_max_impl (const Pixel &p, mpl::true_)
template<typename Pixel >
channel_type< Pixel >::type alpha_or_max_impl (const Pixel &, mpl::false_)

Function Documentation

template<typename Pixel >
channel_type<Pixel>::type boost::gil::detail::alpha_or_max_impl ( const Pixel &  p,
mpl::true_   
)

Definition at line 267 of file color_convert.hpp.

Referenced by boost::gil::alpha_or_max().

template<typename Pixel >
channel_type<Pixel>::type boost::gil::detail::alpha_or_max_impl ( const Pixel &  ,
mpl::false_   
)

Definition at line 271 of file color_convert.hpp.

References terry::max_value().

Here is the call graph for this function:

uint32_t boost::gil::detail::div255 ( uint32_t  in) [inline]
uint32_t boost::gil::detail::div32768 ( uint32_t  in) [inline]

Definition at line 397 of file channel_algorithm.hpp.

template<typename GrayChannel , typename RedChannel , typename GreenChannel , typename BlueChannel >
channel_traits<GrayChannel>::value_type boost::gil::detail::rgb_to_luminance ( const RedChannel &  red,
const GreenChannel &  green,
const BlueChannel &  blue 
)