Definition in file vidl2_color.cxx.
#include "vidl2_color.h"
#include <vcl_iostream.h>
Go to the source code of this file.
Typedefs | |
| typedef void(*) | vidl2_color_conv_fptr_8_16 (const vxl_byte *in, vxl_uint_16 *out) |
| Define the function pointer for pixel format conversion functions. | |
| typedef void(*) | vidl2_color_conv_fptr_16_8 (const vxl_uint_16 *in, vxl_byte *out) |
| typedef void(*) | vidl2_color_conv_fptr_16_16 (const vxl_uint_16 *in, vxl_uint_16 *out) |
| typedef void(*) | vidl2_color_conv_fptr_8_1 (const vxl_byte *in, bool *out) |
| typedef void(*) | vidl2_color_conv_fptr_1_8 (const bool *in, vxl_byte *out) |
| typedef void(*) | vidl2_color_conv_fptr_1_16 (const bool *in, vxl_uint_16 *out) |
| typedef void(*) | vidl2_color_conv_fptr_16_1 (const vxl_uint_16 *in, bool *out) |
| typedef void(*) | vidl2_color_conv_fptr_1_1 (const bool *in, bool *out) |
Functions | |
| vidl2_color_conv_fptr | vidl2_color_converter_func (vidl2_pixel_color in_C, unsigned in_bpp, vidl2_pixel_color out_C, unsigned out_bpp) |
| Returns a color conversion function based on runtime values. | |
| typedef void(*) vidl2_color_conv_fptr_16_1(const vxl_uint_16 *in, bool *out) |
Definition at line 21 of file vidl2_color.cxx.
| typedef void(*) vidl2_color_conv_fptr_16_16(const vxl_uint_16 *in, vxl_uint_16 *out) |
Definition at line 17 of file vidl2_color.cxx.
| typedef void(*) vidl2_color_conv_fptr_16_8(const vxl_uint_16 *in, vxl_byte *out) |
Definition at line 16 of file vidl2_color.cxx.
| typedef void(*) vidl2_color_conv_fptr_1_1(const bool *in, bool *out) |
Definition at line 22 of file vidl2_color.cxx.
| typedef void(*) vidl2_color_conv_fptr_1_16(const bool *in, vxl_uint_16 *out) |
Definition at line 20 of file vidl2_color.cxx.
| typedef void(*) vidl2_color_conv_fptr_1_8(const bool *in, vxl_byte *out) |
Definition at line 19 of file vidl2_color.cxx.
| typedef void(*) vidl2_color_conv_fptr_8_1(const vxl_byte *in, bool *out) |
Definition at line 18 of file vidl2_color.cxx.
| typedef void(*) vidl2_color_conv_fptr_8_16(const vxl_byte *in, vxl_uint_16 *out) |
Define the function pointer for pixel format conversion functions.
These are the functions that use types other than vxl_byte
Definition at line 15 of file vidl2_color.cxx.
| vidl2_color_conv_fptr vidl2_color_converter_func | ( | vidl2_pixel_color | in_C, | |
| unsigned | in_bpp, | |||
| vidl2_pixel_color | out_C, | |||
| unsigned | out_bpp | |||
| ) |
Returns a color conversion function based on runtime values.
The function returned is always a vidl2_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 32 of file vidl2_color.cxx.
1.5.1