IccMAX 2.1.27
Color Profile Tools
Loading...
Searching...
No Matches
IccDefs.h File Reference
#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"
 
#define icSigDevLabData   ((icColorSpaceSignature) 0x644C6162) /* 'dLab' */
 
#define icSigDevXYZData   ((icColorSpaceSignature) 0x6458595A) /* 'dXYZ' */
 
#define icSigLab2Data   ((icColorSpaceSignature) 0x6C623220) /* 'lb2' */
 

Typedefs

typedef char icChar
 
typedef float icFloatNumber
 
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"

◆ ICFLOATSFX

#define ICFLOATSFX   "f"

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

◆ 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.

◆ icSigDevXYZData

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

◆ icSigLab2Data

#define icSigLab2Data   ((icColorSpaceSignature) 0x6C623220) /* 'lb2' */

Typedef Documentation

◆ icChar

typedef char icChar

◆ 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.

◆ icU1Fixed15Number

◆ icU8Fixed8Number

◆ icUChar

typedef unsigned char icUChar

◆ icUChar16

typedef unsigned short icUChar16

Enumeration Type Documentation

◆ icValidateStatus

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