Definition in file vidl_color.cxx.
#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. | |
| #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.
| 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.
| const unsigned int num_types = 5 |
| vidl_color_conv_fptr table[VIDL_PIXEL_COLOR_ENUM_END][VIDL_PIXEL_COLOR_ENUM_END][num_types][num_types] |
| const vcl_type_info* type_table[num_types] |
Definition at line 169 of file vidl_color.cxx.
1.5.1