Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
IccDefs.h File Reference

File: IccDefs.h
More...

#include <stddef.h>
#include "IccProfLibConf.h"
#include "icProfileHeader.h"
+ Include dependency graph for IccDefs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ICFLOATFMT   "%f"
 
#define ICFLOATSFX   "f"
 String formating macros need to match precision of icFloatNumber If precision is double change the "f" below to "lf".
 
#define icSigDevLabData   ((icColorSpaceSignature) 0x644C6162) /* 'dLab' */
 Additional convenience color space signatures to distinguish between device encoding and PCS encoding.
 
#define icSigDevXYZData   ((icColorSpaceSignature) 0x6458595A) /* 'dXYZ' */
 

Typedefs

typedef char icChar
 
typedef float icFloatNumber
 All floating point operations/variables in IccProfLib use the icFloatNumber data type.
 
typedef icUInt16Number icU1Fixed15Number
 
typedef icUInt16Number icU8Fixed8Number
 
typedef unsigned char icUChar
 
typedef unsigned short icUChar16
 

Enumerations

enum  icValidateStatus { icValidateOK , icValidateWarning , icValidateNonCompliant , icValidateCriticalError }
 

Detailed Description

File: IccDefs.h

Contains: Access ICC profile definitions and structures including Version 4 extensions

Copyright: (c) see ICC Software License

Definition in file IccDefs.h.

Macro Definition Documentation

◆ ICFLOATFMT

#define ICFLOATFMT   "%f"

Definition at line 106 of file IccDefs.h.

Referenced by AnalyzeRoundTrip(), main(), and ParseNumbers().

◆ ICFLOATSFX

#define ICFLOATSFX   "f"

String formating macros need to match precision of icFloatNumber If precision is double change the "f" below to "lf".

Definition at line 105 of file IccDefs.h.

Referenced by AnalyzeRoundTrip(), icSegPos(), and main().

◆ icSigDevLabData

#define icSigDevLabData   ((icColorSpaceSignature) 0x644C6162) /* 'dLab' */

Additional convenience color space signatures to distinguish between device encoding and PCS encoding.

Device encoding of these color spaces is left to the device to define.

Definition at line 91 of file IccDefs.h.

Referenced by CIccCfgColorData::addFields(), CMTranslateColors(), CMTranslateRGBsExt(), CIccInfo::GetColorSpaceSigName(), icGetSpaceSamples(), main(), and CIccCfgColorData::spaceName().

◆ icSigDevXYZData

#define icSigDevXYZData   ((icColorSpaceSignature) 0x6458595A) /* 'dXYZ' */

Typedef Documentation

◆ icChar

typedef char icChar

Definition at line 109 of file IccDefs.h.

◆ icFloatNumber

typedef float icFloatNumber

All floating point operations/variables in IccProfLib use the icFloatNumber data type.

It was found that using float instead of double increased performance. Changing the definition to double will add greater precision at the cost of performance.

Definition at line 100 of file IccDefs.h.

◆ icU1Fixed15Number

Definition at line 82 of file IccDefs.h.

◆ icU8Fixed8Number

Definition at line 83 of file IccDefs.h.

◆ icUChar

typedef unsigned char icUChar

Definition at line 110 of file IccDefs.h.

◆ icUChar16

typedef unsigned short icUChar16

Definition at line 111 of file IccDefs.h.

Enumeration Type Documentation

◆ icValidateStatus

Enumerator
icValidateOK 
icValidateWarning 
icValidateNonCompliant 
icValidateCriticalError 

Definition at line 118 of file IccDefs.h.

118 {
119 icValidateOK, /*Profile is valid and conforms to specification*/
120 icValidateWarning, /*Profile conforms to specification with concerns*/
121 icValidateNonCompliant, /*Profile does not conform to specification, but may still be useable*/
122 icValidateCriticalError, /*Profile does not conform to specification and is not useable*/
icValidateStatus
Definition IccDefs.h:118
@ icValidateOK
Definition IccDefs.h:119
@ icValidateWarning
Definition IccDefs.h:120
@ icValidateCriticalError
Definition IccDefs.h:122
@ icValidateNonCompliant
Definition IccDefs.h:121