scalar_convert.h File Reference

#include <cvd/byte.h>
#include <cvd/internal/pixel_traits.h>
Include dependency graph for scalar_convert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CVD::Pixel::Internal::int_info< To, From >
struct  CVD::Pixel::Internal::ScalarConvert< From, To, D, int1, int2 >
struct  CVD::Pixel::Internal::ScalarConvert< byte, double, D, false, false >
struct  CVD::Pixel::Internal::ScalarConvert< byte, double, D, false, true >
struct  CVD::Pixel::Internal::ScalarConvert< byte, float, D, false, false >
struct  CVD::Pixel::Internal::ScalarConvert< byte, float, D, false, true >
struct  CVD::Pixel::Internal::ScalarConvert< From, bool, D, true, false >
struct  CVD::Pixel::Internal::ScalarConvert< From, bool, D, true, true >
struct  CVD::Pixel::Internal::ScalarConvert< From, To, D, true, true >
struct  CVD::Pixel::Internal::shift_convert< To, From, i >
struct  CVD::Pixel::Internal::shift_convert< To, From, 1 >
struct  CVD::Pixel::Internal::shift_convert< To, From,-1 >
struct  CVD::Pixel::Internal::upshift< To, num, shift, bits, r_shift >
struct  CVD::Pixel::Internal::upshift< To, 0, shift, bits, r_shift >

Namespaces

namespace  CVD
namespace  CVD::Pixel
namespace  CVD::Pixel::Internal

Functions

template<class S >
bool CVD::Pixel::Internal::buildLookupTable (S table[])
double CVD::Pixel::Internal::byte_float_to_float (double d)
double CVD::Pixel::Internal::byte_to_double (int b)
float CVD::Pixel::Internal::byte_to_float (int b)
template<class To , class From , class D >
To CVD::Pixel::scalar_convert (const D &d)

Variables

static double CVD::Pixel::Internal::double_for_byte [512]
static float CVD::Pixel::Internal::float_for_byte [512]
static const bool CVD::Pixel::Internal::init_double_for_byte = buildLookupTable(double_for_byte)
static const bool CVD::Pixel::Internal::init_float_for_byte = buildLookupTable(float_for_byte)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:13:28 2013