Defines | Functions | Variables
core/vidl/vidl_color.cxx File Reference
#include "vidl_color.h"
#include <vcl_iostream.h>

Go to the source code of this file.

Defines

#define vidl_type_index_mac(T, NUM)

Functions

vidl_color_conv_fptr vidl_color_converter_func (vidl_pixel_color in_C, const vcl_type_info &in_type, vidl_pixel_color out_C, const vcl_type_info &out_type)
 Returns a color conversion function based on runtime values.

Variables

const unsigned int num_types = 5
 The total number of pixel datatypes.

Detailed Description

Author:
Matt Leotta

Definition in file vidl_color.cxx.


Define Documentation

#define vidl_type_index_mac (   T,
  NUM 
)
Value:
VCL_DEFINE_SPECIALIZATION \
struct type_index<T> \
{\
enum { index = NUM };\
}

Definition at line 26 of file vidl_color.cxx.


Function Documentation

vidl_color_conv_fptr vidl_color_converter_func ( vidl_pixel_color  in_C,
const vcl_type_info &  in_type,
vidl_pixel_color  out_C,
const vcl_type_info &  out_type 
)

Returns a color conversion function based on runtime values.

The function returned is always a vidl_color_conv_fptr which converts const vxl_byte* to vxl_byte*. Some of these function may actually reinterpret the data as other types (i.e. bool* or vxl_uint_16*) via reinterpret_cast

Definition at line 184 of file vidl_color.cxx.


Variable Documentation

const unsigned int num_types = 5

The total number of pixel datatypes.

Definition at line 11 of file vidl_color.cxx.