#include <mi32/colorspc.h>#include <mi32/numtype.h>#include <rvc/image.h>
Go to the source code of this file.
Classes | |
| struct | COLORCOMPSRCPARM |
Defines | |
| #define | COLOR_BLEND_RGBI_Brovey 4 |
| #define | COLOR_BLEND_RGBI_HBS 2 |
| #define | COLOR_BLEND_RGBI_HIS 1 |
| #define | COLOR_BLEND_RGBI_LAST 4 |
| #define | COLOR_BLEND_RGBI_Ratio 3 |
| #define | CONVCOMP_AdjustInt4 COLORCOMPFLAG_AdjustInt4 |
| #define | CONVCOMP_DoBlendMask COLORCOMPFLAG_DoBlendMask |
| #define | CONVCOMP_DoContrast COLORCOMPFLAG_DoContrast |
| #define | CONVCOMP_MaskToAlpha COLORCOMPFLAG_MaskToAlpha |
| #define | CONVCOMP_Out32For24 COLORCOMPFLAG_Out32For24 |
| #define | CONVCOMP_OutPixel COLORCOMPFLAG_OutPixel |
| #define | CONVCOMP_ScaleHue255 COLORCOMPFLAG_ScaleHue255 |
| #define | CONVCOMP_ScaleInt255 COLORCOMPFLAG_ScaleInt255 |
| #define | CONVCOMP_ScaleSat255 COLORCOMPFLAG_ScaleSat255 |
| #define | CONVCOMP_UseColMap COLORCOMPFLAG_UseColMap |
Enumerations | |
| enum | COLORCOMPDEST { COLORCOMPDEST_ColorMapped = 1, COLORCOMPDEST_RGB = 2, COLORCOMPDEST_Pixel = 3, COLORCOMPDEST_Image = 4 } |
| enum | COLORCOMPFLAGS { COLORCOMPFLAG_None = 0, COLORCOMPFLAG_DoContrast = 0x00000001, COLORCOMPFLAG_UseColMap = 0x00000002, COLORCOMPFLAG_Out32For24 = 0x00000004, COLORCOMPFLAG_ScaleInt255 = 0x00000008, COLORCOMPFLAG_ScaleSat255 = 0x00000010, COLORCOMPFLAG_ScaleHue255 = 0x00000020, COLORCOMPFLAG_AdjustInt4 = 0x00000040, COLORCOMPFLAG_OutPixel = 0x00000080, COLORCOMPFLAG_DoBlendMask = 0x00000100, COLORCOMPFLAG_MaskToAlpha = 0x00000200 } |
Functions | |
| int | ColorCompConvMtoS (COLORCOMPSTRUCT *ccp, void *odata, UINT8 *omask, const void *idata1, const void *idata2, const void *idata3, const void *idata4, const UINT8 *imask, INT32 inpcols) |
| int | ColorCompConvStoRGB (COLORCOMPSTRUCT *ccp, UINT8 *ored, UINT8 *ogrn, UINT8 *oblu, UINT8 *omask, const void *idata, const UINT8 *imask, INT32 inpcols) |
| int | ColorCompConvStoS (COLORCOMPSTRUCT *ccp, void *odata, UINT8 *omask, const void *idata, const UINT8 *imask, INT32 inpcols) |
| int | ColorCompCreate (COLORCOMPSTRUCT **rethandle) |
| void | ColorCompDestroy (COLORCOMPSTRUCT *ccp) |
| int | ColorCompSetColorBalance (COLORCOMPSTRUCT *ccp, CBPARMS *cbparm) |
| int | ColorCompSetDestRGB (COLORCOMPSTRUCT *ccp, int type=0, UINT32 flags=0) |
| int | ColorCompSetDestSingle (COLORCOMPSTRUCT *ccp, COLORCOMPDEST desttype, const DISPLAYINFO *pDisplayInfo, UINT32 flags) |
| int | ColorCompSetDestSingle (COLORCOMPSTRUCT *ccp, MGD::DEVICE &dev) |
| int | ColorCompSetDestSingle (COLORCOMPSTRUCT *ccp, COLORSPACE ColorSpace, const COLOR_ARRAY *colormap=0, UINT32 flags=0) |
| int | ColorCompSetDestSingle (COLORCOMPSTRUCT *ccp, COLORCOMPDEST desttype, const DISPLAYINFO *pDisplayInfo, const COLOR_ARRAY *pColorMap=0, const void *notused=0, UINT32 flags=0) |
| int | ColorCompSetSrcParm (COLORCOMPSTRUCT *ccp, COLORCOMPSRCPARM *parm) |
| ERRVALUE | ColorCompSetSrcSingle (COLORCOMPSTRUCT *ccp, NUMTYPE NumType, const COLOR_ARRAY *pColorMap, const CONTRASTPARM *pContrastParm, COLORCOMPFLAGS flags=COLORCOMPFLAG_None) |
| ERRVALUE | ColorCompSetSrcSingle (COLORCOMPSTRUCT *ccp, RVC::IMAGE::CELLTYPE CellType, const COLOR_ARRAY *pColorMap, const CONTRASTPARM *pContrastParm, COLORCOMPFLAGS flags=COLORCOMPFLAG_None) |
| ERRVALUE | ColorCompSetSrcSingle (COLORCOMPSTRUCT *ccp, COLORSPACE ColorSpace, const COLOR_ARRAY *pColorMap, const CONTRASTPARM *pContrastParm, COLORCOMPFLAGS flags=COLORCOMPFLAG_None) |
| int | ColorCompStart (COLORCOMPSTRUCT *ccp, INT32 maxcols) |
| void | ColorCompStop (COLORCOMPSTRUCT *ccp) |
Definitions for color conversion functions
| #define COLOR_BLEND_RGBI_Brovey 4 |
| #define COLOR_BLEND_RGBI_HBS 2 |
| #define COLOR_BLEND_RGBI_HIS 1 |
RGBI - Intensity conversion models for RASTDISPMODE_MultiRGBI Changed to not conflict with GRE::LAYER_RASTER::COLORBLEND enum.
| #define COLOR_BLEND_RGBI_LAST 4 |
| #define COLOR_BLEND_RGBI_Ratio 3 |
| #define CONVCOMP_AdjustInt4 COLORCOMPFLAG_AdjustInt4 |
| #define CONVCOMP_DoBlendMask COLORCOMPFLAG_DoBlendMask |
| #define CONVCOMP_DoContrast COLORCOMPFLAG_DoContrast |
| #define CONVCOMP_MaskToAlpha COLORCOMPFLAG_MaskToAlpha |
| #define CONVCOMP_Out32For24 COLORCOMPFLAG_Out32For24 |
| #define CONVCOMP_OutPixel COLORCOMPFLAG_OutPixel |
| #define CONVCOMP_ScaleHue255 COLORCOMPFLAG_ScaleHue255 |
| #define CONVCOMP_ScaleInt255 COLORCOMPFLAG_ScaleInt255 |
| #define CONVCOMP_ScaleSat255 COLORCOMPFLAG_ScaleSat255 |
| #define CONVCOMP_UseColMap COLORCOMPFLAG_UseColMap |
| enum COLORCOMPDEST |
| enum COLORCOMPFLAGS |
| int ColorCompConvMtoS | ( | COLORCOMPSTRUCT * | ccp, | |
| void * | odata, | |||
| UINT8 * | omask, | |||
| const void * | idata1, | |||
| const void * | idata2, | |||
| const void * | idata3, | |||
| const void * | idata4, | |||
| const UINT8 * | imask, | |||
| INT32 | inpcols | |||
| ) |
Convert Multiple rasters to Single raster.
| omask | Blending mask returned | |
| imask | Input blending mask |
| int ColorCompConvStoRGB | ( | COLORCOMPSTRUCT * | ccp, | |
| UINT8 * | ored, | |||
| UINT8 * | ogrn, | |||
| UINT8 * | oblu, | |||
| UINT8 * | omask, | |||
| const void * | idata, | |||
| const UINT8 * | imask, | |||
| INT32 | inpcols | |||
| ) |
Convert Single composite color line to Multiple R-G-B line.
| omask | Blending mask returned | |
| imask | Input blending mask |
| int ColorCompConvStoS | ( | COLORCOMPSTRUCT * | ccp, | |
| void * | odata, | |||
| UINT8 * | omask, | |||
| const void * | idata, | |||
| const UINT8 * | imask, | |||
| INT32 | inpcols | |||
| ) |
Convert single input raster to single output raster.
| omask | Blending mask returned | |
| imask | Input blending mask |
| int ColorCompCreate | ( | COLORCOMPSTRUCT ** | rethandle | ) |
Create color-composite conversion handle.
| void ColorCompDestroy | ( | COLORCOMPSTRUCT * | ccp | ) |
Destroy color-composite conversion handle.
| int ColorCompSetColorBalance | ( | COLORCOMPSTRUCT * | ccp, | |
| CBPARMS * | cbparm | |||
| ) |
Set color balance parameters.
| int ColorCompSetDestRGB | ( | COLORCOMPSTRUCT * | ccp, | |
| int | type = 0, |
|||
| UINT32 | flags = 0 | |||
| ) |
Set parameters for separate RGB output.
| int ColorCompSetDestSingle | ( | COLORCOMPSTRUCT * | ccp, | |
| COLORCOMPDEST | desttype, | |||
| const DISPLAYINFO * | pDisplayInfo, | |||
| UINT32 | flags | |||
| ) | [inline] |
Set parameters for single-raster output.
| int ColorCompSetDestSingle | ( | COLORCOMPSTRUCT * | ccp, | |
| MGD::DEVICE & | dev | |||
| ) |
Set parameters for single-raster output.
| int ColorCompSetDestSingle | ( | COLORCOMPSTRUCT * | ccp, | |
| COLORSPACE | ColorSpace, | |||
| const COLOR_ARRAY * | colormap = 0, |
|||
| UINT32 | flags = 0 | |||
| ) |
Set parameters for single-raster output using COLORSPACE.
| ColorSpace | Destination COLORSPACE | |
| colormap | Color palette for 'Indexed' colorspaces | |
| flags | CONVCOMP flags |
| int ColorCompSetDestSingle | ( | COLORCOMPSTRUCT * | ccp, | |
| COLORCOMPDEST | desttype, | |||
| const DISPLAYINFO * | pDisplayInfo, | |||
| const COLOR_ARRAY * | pColorMap = 0, |
|||
| const void * | notused = 0, |
|||
| UINT32 | flags = 0 | |||
| ) |
Set parameters for single-raster output.
| int ColorCompSetSrcParm | ( | COLORCOMPSTRUCT * | ccp, | |
| COLORCOMPSRCPARM * | parm | |||
| ) |
Set source parameters.
| ERRVALUE ColorCompSetSrcSingle | ( | COLORCOMPSTRUCT * | ccp, | |
| NUMTYPE | NumType, | |||
| const COLOR_ARRAY * | pColorMap, | |||
| const CONTRASTPARM * | pContrastParm, | |||
| COLORCOMPFLAGS | flags = COLORCOMPFLAG_None | |||
| ) |
Set parameters for single-raster input using NUMTYPE.
| pColorMap | Color palette, 0 if unused | |
| pContrastParm | Contrast parameters, 0 if unused |
| ERRVALUE ColorCompSetSrcSingle | ( | COLORCOMPSTRUCT * | ccp, | |
| RVC::IMAGE::CELLTYPE | CellType, | |||
| const COLOR_ARRAY * | pColorMap, | |||
| const CONTRASTPARM * | pContrastParm, | |||
| COLORCOMPFLAGS | flags = COLORCOMPFLAG_None | |||
| ) |
Set parameters for single-raster input using RVC::IMAGE::CELLTYPE.
| pColorMap | Color palette, 0 if unused | |
| pContrastParm | Contrast parameters, 0 if unused |
| ERRVALUE ColorCompSetSrcSingle | ( | COLORCOMPSTRUCT * | ccp, | |
| COLORSPACE | ColorSpace, | |||
| const COLOR_ARRAY * | pColorMap, | |||
| const CONTRASTPARM * | pContrastParm, | |||
| COLORCOMPFLAGS | flags = COLORCOMPFLAG_None | |||
| ) |
Set parameters for single-raster input using COLORSPACE.
| ColorSpace | Source colorspace | |
| pColorMap | Color palette, 0 if unused | |
| pContrastParm | Contrast parameters, 0 if unused |
| int ColorCompStart | ( | COLORCOMPSTRUCT * | ccp, | |
| INT32 | maxcols | |||
| ) |
Initialize and allocate memory for selected conversion type(s).
| void ColorCompStop | ( | COLORCOMPSTRUCT * | ccp | ) |
Stop color conversion without destroying handle.
1.6.1