Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vidl2_color.cxx File Reference


Detailed Description

Author:
Matt Leotta

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 Documentation

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.


Function Documentation

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.


Generated on Thu Jan 10 14:51:32 2008 for contrib/brl/bbas/vidl2 by  doxygen 1.4.4