w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

lcms2_internal.h File Reference
#include "lcms2_plugin.h"
#include <ctype.h>
#include <assert.h>
#include <pthread.h>
Include dependency graph for lcms2_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _cmsSubAllocator_chunk_st
 
struct  _cmsSubAllocator
 
struct  _cmsMemPluginChunkType
 
struct  _cmsContext_struct
 
struct  _cmsLogErrorChunkType
 
struct  _cmsAlarmCodesChunkType
 
struct  _cmsAdaptationStateChunkType
 
struct  _cmsInterpPluginChunkType
 
struct  _cmsCurvesPluginChunkType
 
struct  _cmsFormattersPluginChunkType
 
struct  _cmsTagTypePluginChunkType
 
struct  _cmsTagPluginChunkType
 
struct  _cmsIntentsPluginChunkType
 
struct  _cmsOptimizationPluginChunkType
 
struct  _cmsTransformPluginChunkType
 
struct  _cmsMutexPluginChunkType
 
struct  _cmsMLUentry
 
struct  _cms_MLU_struct
 
struct  _cmsNAMEDCOLOR
 
struct  _cms_NAMEDCOLORLIST_struct
 
struct  _cms_iccprofile_struct
 
struct  _cms_curve_struct
 
struct  _cmsStage_struct
 
struct  _cmsPipeline_struct
 
struct  _cmsCACHE
 
struct  _cmstransform_struct
 

Macros

#define M_PI   3.14159265358979323846
 
#define M_LOG10E   0.434294481903251827651
 
#define _cmsALIGNLONG(x)   (((x)+(sizeof(cmsUInt32Number)-1)) & ~(sizeof(cmsUInt32Number)-1))
 
#define CMS_PTR_ALIGNMENT   sizeof(void *)
 
#define _cmsALIGNMEM(x)   (((x)+(CMS_PTR_ALIGNMENT - 1)) & ~(CMS_PTR_ALIGNMENT - 1))
 
#define MAX_ENCODEABLE_XYZ   (1.0 + 32767.0/32768.0)
 
#define MIN_ENCODEABLE_ab2   (-128.0)
 
#define MAX_ENCODEABLE_ab2   ((65535.0/256.0) - 128.0)
 
#define MIN_ENCODEABLE_ab4   (-128.0)
 
#define MAX_ENCODEABLE_ab4   (127.0)
 
#define MAX_STAGE_CHANNELS   128
 
#define cmsUNUSED_PARAMETER(x)   ((void)x)
 
#define cmsINLINE   static inline
 
#define CMS_NO_SANITIZE
 
#define FROM_8_TO_16(rgb)   (cmsUInt16Number) ((((cmsUInt16Number) (rgb)) << 8)|(rgb))
 
#define FROM_16_TO_8(rgb)   (cmsUInt8Number) ((((cmsUInt32Number)(rgb) * 65281U + 8388608U) >> 24) & 0xFFU)
 
#define _cmsAssert(a)   assert((a))
 
#define MATRIX_DET_TOLERANCE   0.0001
 
#define FIXED_TO_INT(x)   ((x)>>16)
 
#define FIXED_REST_TO_INT(x)   ((x)&0xFFFFU)
 
#define ROUND_FIXED_TO_INT(x)   (((x)+0x8000)>>16)
 
#define CMSCHECKPOINT   CMSAPI
 
#define CMS_MUTEX_INITIALIZER   PTHREAD_MUTEX_INITIALIZER
 
#define MAX_TABLE_TAG   100
 
#define cmsFLAGS_CAN_CHANGE_FORMATTER   0x02000000
 
#define _lcms_internal_H
 

Typedefs

typedef pthread_mutex_t _cmsMutex
 
typedef struct _cmsSubAllocator_chunk_st _cmsSubAllocator_chunk
 
typedef struct _cms_iccprofile_struct _cmsICCPROFILE
 
typedef void(* _cmsPipelineEvalFloatFn) (const cmsFloat32Number In[], cmsFloat32Number Out[], const void *Data)
 
typedef struct _cmstransform_struct _cmsTRANSFORM
 

Enumerations

enum  _cmsMemoryClient {
  UserPtr , Logger , AlarmCodesContext , AdaptationStateContext ,
  MemPlugin , InterpPlugin , CurvesPlugin , FormattersPlugin ,
  TagTypePlugin , TagPlugin , IntentPlugin , MPEPlugin ,
  OptimizationPlugin , TransformPlugin , MutexPlugin , MemoryClientMax
}
 

Functions

static cmsS15Fixed16Number _cmsToFixedDomain (int a)
 
static int _cmsFromFixedDomain (cmsS15Fixed16Number a)
 
static int _cmsQuickFloor (cmsFloat64Number val)
 
static cmsUInt16Number _cmsQuickFloorWord (cmsFloat64Number d)
 
static cmsUInt16Number _cmsQuickSaturateWord (cmsFloat64Number d)
 
static int _cmsLockPrimitive (_cmsMutex *m)
 
static int _cmsUnlockPrimitive (_cmsMutex *m)
 
static int _cmsInitMutexPrimitive (_cmsMutex *m)
 
static int _cmsDestroyMutexPrimitive (_cmsMutex *m)
 
static int _cmsEnterCriticalSectionPrimitive (_cmsMutex *m)
 
static int _cmsLeaveCriticalSectionPrimitive (_cmsMutex *m)
 
void_cmsPluginMalloc (cmsContext ContextID, cmsUInt32Number size)
 
cmsBool _cmsRegisterMemHandlerPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterInterpPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterParametricCurvesPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterFormattersPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterTagTypePlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterTagPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterRenderingIntentPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterMultiProcessElementPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterOptimizationPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterTransformPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
cmsBool _cmsRegisterMutexPlugin (cmsContext ContextID, cmsPluginBase *Plugin)
 
_cmsSubAllocator_cmsCreateSubAlloc (cmsContext ContextID, cmsUInt32Number Initial)
 
void _cmsSubAllocDestroy (_cmsSubAllocator *s)
 
void_cmsSubAlloc (_cmsSubAllocator *s, cmsUInt32Number size)
 
void_cmsSubAllocDup (_cmsSubAllocator *s, const void *ptr, cmsUInt32Number size)
 
void _cmsInstallAllocFunctions (cmsPluginMemHandler *Plugin, _cmsMemPluginChunkType *ptr)
 
struct _cmsContext_struct_cmsGetContext (cmsContext ContextID)
 
void_cmsContextGetClientChunk (cmsContext id, _cmsMemoryClient mc)
 
void _cmsAllocLogErrorChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocAlarmCodesChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocAdaptationStateChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocMemPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocInterpPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocCurvesPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocFormattersPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocTagTypePluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocMPETypePluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocTagPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocIntentsPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocOptimizationPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocTransformPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
void _cmsAllocMutexPluginChunk (struct _cmsContext_struct *ctx, const struct _cmsContext_struct *src)
 
cmsBool _cmsReadHeader (_cmsICCPROFILE *Icc)
 
cmsBool _cmsWriteHeader (_cmsICCPROFILE *Icc, cmsUInt32Number UsedSpace)
 
int _cmsSearchTag (_cmsICCPROFILE *Icc, cmsTagSignature sig, cmsBool lFollowLinks)
 
cmsTagTypeHandler_cmsGetTagTypeHandler (cmsContext ContextID, cmsTagTypeSignature sig)
 
cmsTagTypeSignature _cmsGetTagTrueType (cmsHPROFILE hProfile, cmsTagSignature sig)
 
cmsTagDescriptor_cmsGetTagDescriptor (cmsContext ContextID, cmsTagSignature sig)
 
void _cmsTagSignature2String (char String[5], cmsTagSignature sig)
 
cmsInterpParams_cmsComputeInterpParams (cmsContext ContextID, cmsUInt32Number nSamples, cmsUInt32Number InputChan, cmsUInt32Number OutputChan, const void *Table, cmsUInt32Number dwFlags)
 
cmsInterpParams_cmsComputeInterpParamsEx (cmsContext ContextID, const cmsUInt32Number nSamples[], cmsUInt32Number InputChan, cmsUInt32Number OutputChan, const void *Table, cmsUInt32Number dwFlags)
 
void _cmsFreeInterpParams (cmsInterpParams *p)
 
cmsBool _cmsSetInterpolationRoutine (cmsContext ContextID, cmsInterpParams *p)
 
cmsStage_cmsStageAllocLab2XYZ (cmsContext ContextID)
 
cmsStage_cmsStageAllocXYZ2Lab (cmsContext ContextID)
 
cmsStage_cmsStageAllocLabPrelin (cmsContext ContextID)
 
cmsStage_cmsStageAllocLabV2ToV4 (cmsContext ContextID)
 
cmsStage_cmsStageAllocLabV2ToV4curves (cmsContext ContextID)
 
cmsStage_cmsStageAllocLabV4ToV2 (cmsContext ContextID)
 
cmsStage_cmsStageAllocNamedColor (cmsNAMEDCOLORLIST *NamedColorList, cmsBool UsePCS)
 
cmsStage_cmsStageAllocIdentityCurves (cmsContext ContextID, cmsUInt32Number nChannels)
 
cmsStage_cmsStageAllocIdentityCLut (cmsContext ContextID, cmsUInt32Number nChan)
 
cmsStage_cmsStageNormalizeFromLabFloat (cmsContext ContextID)
 
cmsStage_cmsStageNormalizeFromXyzFloat (cmsContext ContextID)
 
cmsStage_cmsStageNormalizeToLabFloat (cmsContext ContextID)
 
cmsStage_cmsStageNormalizeToXyzFloat (cmsContext ContextID)
 
cmsStage_cmsStageClipNegatives (cmsContext ContextID, cmsUInt32Number nChannels)
 
cmsToneCurve ** _cmsStageGetPtrToCurveSet (const cmsStage *mpe)
 
cmsPipeline_cmsReadInputLUT (cmsHPROFILE hProfile, cmsUInt32Number Intent)
 
cmsPipeline_cmsReadOutputLUT (cmsHPROFILE hProfile, cmsUInt32Number Intent)
 
cmsPipeline_cmsReadDevicelinkLUT (cmsHPROFILE hProfile, cmsUInt32Number Intent)
 
cmsBool _cmsReadMediaWhitePoint (cmsCIEXYZ *Dest, cmsHPROFILE hProfile)
 
cmsBool _cmsReadCHAD (cmsMAT3 *Dest, cmsHPROFILE hProfile)
 
cmsPipeline_cmsLinkProfiles (cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number TheIntents[], cmsHPROFILE hProfiles[], cmsBool BPC[], cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags)
 
cmsSEQ_cmsReadProfileSequence (cmsHPROFILE hProfile)
 
cmsBool _cmsWriteProfileSequence (cmsHPROFILE hProfile, const cmsSEQ *seq)
 
cmsSEQ_cmsCompileProfileSequence (cmsContext ContextID, cmsUInt32Number nProfiles, cmsHPROFILE hProfiles[])
 
cmsUInt16Number _cmsQuantizeVal (cmsFloat64Number i, cmsUInt32Number MaxSamples)
 
cmsUInt32Number _cmsReasonableGridpointsByColorspace (cmsColorSpaceSignature Colorspace, cmsUInt32Number dwFlags)
 
cmsBool _cmsEndPointsBySpace (cmsColorSpaceSignature Space, cmsUInt16Number **White, cmsUInt16Number **Black, cmsUInt32Number *nOutputs)
 
cmsBool _cmsOptimizePipeline (cmsContext ContextID, cmsPipeline **Lut, cmsUInt32Number Intent, cmsUInt32Number *InputFormat, cmsUInt32Number *OutputFormat, cmsUInt32Number *dwFlags)
 
cmsPipeline_cmsCreateGamutCheckPipeline (cmsContext ContextID, cmsHPROFILE hProfiles[], cmsBool BPC[], cmsUInt32Number Intents[], cmsFloat64Number AdaptationStates[], cmsUInt32Number nGamutPCSposition, cmsHPROFILE hGamut)
 
cmsBool _cmsFormatterIsFloat (cmsUInt32Number Type)
 
cmsBool _cmsFormatterIs8bit (cmsUInt32Number Type)
 
cmsFormatter _cmsGetFormatter (cmsContext ContextID, cmsUInt32Number Type, cmsFormatterDirection Dir, cmsUInt32Number dwFlags)
 
cmsFloat32Number _cmsHalf2Float (cmsUInt16Number h)
 
cmsUInt16Number _cmsFloat2Half (cmsFloat32Number flt)
 
void _cmsHandleExtraChannels (_cmsTRANSFORM *p, const void *in, void *out, cmsUInt32Number PixelsPerLine, cmsUInt32Number LineCount, const cmsStride *Stride)
 
cmsHTRANSFORM _cmsChain2Lab (cmsContext ContextID, cmsUInt32Number nProfiles, cmsUInt32Number InputFormat, cmsUInt32Number OutputFormat, const cmsUInt32Number Intents[], const cmsHPROFILE hProfiles[], const cmsBool BPC[], const cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags)
 
cmsToneCurve_cmsBuildKToneCurve (cmsContext ContextID, cmsUInt32Number nPoints, cmsUInt32Number nProfiles, const cmsUInt32Number Intents[], const cmsHPROFILE hProfiles[], const cmsBool BPC[], const cmsFloat64Number AdaptationStates[], cmsUInt32Number dwFlags)
 
cmsBool _cmsAdaptationMatrix (cmsMAT3 *r, const cmsMAT3 *ConeMatrix, const cmsCIEXYZ *FromIll, const cmsCIEXYZ *ToIll)
 
cmsBool _cmsBuildRGB2XYZtransferMatrix (cmsMAT3 *r, const cmsCIExyY *WhitePoint, const cmsCIExyYTRIPLE *Primaries)
 

Variables

_cmsLogErrorChunkType _cmsLogErrorChunk
 
_cmsAlarmCodesChunkType _cmsAlarmCodesChunk
 
_cmsAdaptationStateChunkType _cmsAdaptationStateChunk
 
_cmsMemPluginChunkType _cmsMemPluginChunk
 
_cmsInterpPluginChunkType _cmsInterpPluginChunk
 
_cmsCurvesPluginChunkType _cmsCurvesPluginChunk
 
_cmsFormattersPluginChunkType _cmsFormattersPluginChunk
 
_cmsTagTypePluginChunkType _cmsTagTypePluginChunk
 
_cmsTagTypePluginChunkType _cmsMPETypePluginChunk
 
_cmsTagPluginChunkType _cmsTagPluginChunk
 
_cmsIntentsPluginChunkType _cmsIntentsPluginChunk
 
_cmsOptimizationPluginChunkType _cmsOptimizationPluginChunk
 
_cmsTransformPluginChunkType _cmsTransformPluginChunk
 
_cmsMutexPluginChunkType _cmsMutexPluginChunk
 

Macro Definition Documentation

◆ _cmsALIGNLONG

#define _cmsALIGNLONG (   x)    (((x)+(sizeof(cmsUInt32Number)-1)) & ~(sizeof(cmsUInt32Number)-1))

Definition at line 57 of file lcms2_internal.h.

◆ _cmsALIGNMEM

#define _cmsALIGNMEM (   x)    (((x)+(CMS_PTR_ALIGNMENT - 1)) & ~(CMS_PTR_ALIGNMENT - 1))

Definition at line 68 of file lcms2_internal.h.

◆ _cmsAssert

#define _cmsAssert (   a)    assert((a))

Definition at line 136 of file lcms2_internal.h.

◆ _lcms_internal_H

#define _lcms_internal_H

Definition at line 1127 of file lcms2_internal.h.

◆ CMS_MUTEX_INITIALIZER

#define CMS_MUTEX_INITIALIZER   PTHREAD_MUTEX_INITIALIZER

Definition at line 325 of file lcms2_internal.h.

◆ CMS_NO_SANITIZE

#define CMS_NO_SANITIZE

Definition at line 95 of file lcms2_internal.h.

◆ CMS_PTR_ALIGNMENT

#define CMS_PTR_ALIGNMENT   sizeof(void *)

Definition at line 65 of file lcms2_internal.h.

◆ CMSCHECKPOINT

#define CMSCHECKPOINT   CMSAPI

Definition at line 198 of file lcms2_internal.h.

◆ cmsFLAGS_CAN_CHANGE_FORMATTER

#define cmsFLAGS_CAN_CHANGE_FORMATTER   0x02000000

Definition at line 1002 of file lcms2_internal.h.

◆ cmsINLINE

#define cmsINLINE   static inline

Definition at line 88 of file lcms2_internal.h.

◆ cmsUNUSED_PARAMETER

#define cmsUNUSED_PARAMETER (   x)    ((void)x)

Definition at line 81 of file lcms2_internal.h.

◆ FIXED_REST_TO_INT

#define FIXED_REST_TO_INT (   x)    ((x)&0xFFFFU)

Definition at line 148 of file lcms2_internal.h.

◆ FIXED_TO_INT

#define FIXED_TO_INT (   x)    ((x)>>16)

Definition at line 147 of file lcms2_internal.h.

◆ FROM_16_TO_8

#define FROM_16_TO_8 (   rgb)    (cmsUInt8Number) ((((cmsUInt32Number)(rgb) * 65281U + 8388608U) >> 24) & 0xFFU)

Definition at line 126 of file lcms2_internal.h.

◆ FROM_8_TO_16

#define FROM_8_TO_16 (   rgb)    (cmsUInt16Number) ((((cmsUInt16Number) (rgb)) << 8)|(rgb))

Definition at line 125 of file lcms2_internal.h.

◆ M_LOG10E

#define M_LOG10E   0.434294481903251827651

Definition at line 46 of file lcms2_internal.h.

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 42 of file lcms2_internal.h.

◆ MATRIX_DET_TOLERANCE

#define MATRIX_DET_TOLERANCE   0.0001

Definition at line 142 of file lcms2_internal.h.

◆ MAX_ENCODEABLE_ab2

#define MAX_ENCODEABLE_ab2   ((65535.0/256.0) - 128.0)

Definition at line 73 of file lcms2_internal.h.

◆ MAX_ENCODEABLE_ab4

#define MAX_ENCODEABLE_ab4   (127.0)

Definition at line 75 of file lcms2_internal.h.

◆ MAX_ENCODEABLE_XYZ

#define MAX_ENCODEABLE_XYZ   (1.0 + 32767.0/32768.0)

Definition at line 71 of file lcms2_internal.h.

◆ MAX_STAGE_CHANNELS

#define MAX_STAGE_CHANNELS   128

Definition at line 78 of file lcms2_internal.h.

◆ MAX_TABLE_TAG

#define MAX_TABLE_TAG   100

Definition at line 779 of file lcms2_internal.h.

◆ MIN_ENCODEABLE_ab2

#define MIN_ENCODEABLE_ab2   (-128.0)

Definition at line 72 of file lcms2_internal.h.

◆ MIN_ENCODEABLE_ab4

#define MIN_ENCODEABLE_ab4   (-128.0)

Definition at line 74 of file lcms2_internal.h.

◆ ROUND_FIXED_TO_INT

#define ROUND_FIXED_TO_INT (   x)    (((x)+0x8000)>>16)

Definition at line 149 of file lcms2_internal.h.

Typedef Documentation

◆ _cmsICCPROFILE

◆ _cmsMutex

typedef pthread_mutex_t _cmsMutex

Definition at line 326 of file lcms2_internal.h.

◆ _cmsPipelineEvalFloatFn

typedef void(* _cmsPipelineEvalFloatFn) (const cmsFloat32Number In[], cmsFloat32Number Out[], const void *Data)

Definition at line 915 of file lcms2_internal.h.

◆ _cmsSubAllocator_chunk

◆ _cmsTRANSFORM

Enumeration Type Documentation

◆ _cmsMemoryClient

Enumerator
UserPtr 
Logger 
AlarmCodesContext 
AdaptationStateContext 
MemPlugin 
InterpPlugin 
CurvesPlugin 
FormattersPlugin 
TagTypePlugin 
TagPlugin 
IntentPlugin 
MPEPlugin 
OptimizationPlugin 
TransformPlugin 
MutexPlugin 
MemoryClientMax 

Definition at line 471 of file lcms2_internal.h.

Function Documentation

◆ _cmsAdaptationMatrix()

cmsBool _cmsAdaptationMatrix ( cmsMAT3 r,
const cmsMAT3 ConeMatrix,
const cmsCIEXYZ FromIll,
const cmsCIEXYZ ToIll 
)

◆ _cmsAllocAdaptationStateChunk()

void _cmsAllocAdaptationStateChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocAlarmCodesChunk()

void _cmsAllocAlarmCodesChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocCurvesPluginChunk()

void _cmsAllocCurvesPluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocFormattersPluginChunk()

void _cmsAllocFormattersPluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocIntentsPluginChunk()

void _cmsAllocIntentsPluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocInterpPluginChunk()

void _cmsAllocInterpPluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocLogErrorChunk()

void _cmsAllocLogErrorChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocMemPluginChunk()

void _cmsAllocMemPluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocMPETypePluginChunk()

void _cmsAllocMPETypePluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocMutexPluginChunk()

◆ _cmsAllocOptimizationPluginChunk()

void _cmsAllocOptimizationPluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocTagPluginChunk()

void _cmsAllocTagPluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocTagTypePluginChunk()

void _cmsAllocTagTypePluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsAllocTransformPluginChunk()

void _cmsAllocTransformPluginChunk ( struct _cmsContext_struct ctx,
const struct _cmsContext_struct src 
)

◆ _cmsBuildKToneCurve()

◆ _cmsBuildRGB2XYZtransferMatrix()

cmsBool _cmsBuildRGB2XYZtransferMatrix ( cmsMAT3 r,
const cmsCIExyY WhitePoint,
const cmsCIExyYTRIPLE Primaries 
)

◆ _cmsChain2Lab()

cmsHTRANSFORM _cmsChain2Lab ( cmsContext  ContextID,
cmsUInt32Number  nProfiles,
cmsUInt32Number  InputFormat,
cmsUInt32Number  OutputFormat,
const cmsUInt32Number  Intents[],
const cmsHPROFILE  hProfiles[],
const cmsBool  BPC[],
const cmsFloat64Number  AdaptationStates[],
cmsUInt32Number  dwFlags 
)

◆ _cmsCompileProfileSequence()

◆ _cmsComputeInterpParams()

cmsInterpParams* _cmsComputeInterpParams ( cmsContext  ContextID,
cmsUInt32Number  nSamples,
cmsUInt32Number  InputChan,
cmsUInt32Number  OutputChan,
const void Table,
cmsUInt32Number  dwFlags 
)

Definition at line 161 of file cmsintrp.c.

References _cmsComputeInterpParamsEx(), i, and MAX_INPUT_DIMENSIONS.

Referenced by AllocateToneCurveStruct().

◆ _cmsComputeInterpParamsEx()

◆ _cmsContextGetClientChunk()

◆ _cmsCreateGamutCheckPipeline()

◆ _cmsCreateSubAlloc()

_cmsSubAllocator* _cmsCreateSubAlloc ( cmsContext  ContextID,
cmsUInt32Number  Initial 
)

Definition at line 344 of file cmserr.c.

References _cmsCreateSubAllocChunk(), _cmsFree(), _cmsMallocZero(), h, NULL, and sub.

Referenced by _cmsPluginMalloc(), cmsCreateContext(), and cmsDupContext().

◆ _cmsDestroyMutexPrimitive()

static int _cmsDestroyMutexPrimitive ( _cmsMutex m)
inlinestatic

Definition at line 344 of file lcms2_internal.h.

References m.

Referenced by defMtxDestroy().

◆ _cmsEndPointsBySpace()

cmsBool _cmsEndPointsBySpace ( cmsColorSpaceSignature  Space,
cmsUInt16Number **  White,
cmsUInt16Number **  Black,
cmsUInt32Number nOutputs 
)

◆ _cmsEnterCriticalSectionPrimitive()

static int _cmsEnterCriticalSectionPrimitive ( _cmsMutex m)
inlinestatic

Definition at line 349 of file lcms2_internal.h.

References m.

Referenced by _cmsGetContext(), cmsCreateContext(), cmsDeleteContext(), and cmsDupContext().

◆ _cmsFloat2Half()

cmsUInt16Number _cmsFloat2Half ( cmsFloat32Number  flt)

Definition at line 519 of file cmshalf.c.

References in, j, n, num, and Shift.

Referenced by from16SEtoHLF(), from16toHLF(), from8toHLF(), fromDBLtoHLF(), fromFLTtoHLF(), PackHalfFrom16(), and PackHalfFromFloat().

◆ _cmsFormatterIs8bit()

cmsBool _cmsFormatterIs8bit ( cmsUInt32Number  Type)

◆ _cmsFormatterIsFloat()

◆ _cmsFreeInterpParams()

void _cmsFreeInterpParams ( cmsInterpParams p)

Definition at line 177 of file cmsintrp.c.

References _cmsFree(), NULL, and p.

Referenced by CLutElemTypeFree(), and cmsFreeToneCurve().

◆ _cmsFromFixedDomain()

static int _cmsFromFixedDomain ( cmsS15Fixed16Number  a)
inlinestatic

Definition at line 152 of file lcms2_internal.h.

References a.

◆ _cmsGetContext()

◆ _cmsGetFormatter()

◆ _cmsGetTagDescriptor()

cmsTagDescriptor* _cmsGetTagDescriptor ( cmsContext  ContextID,
cmsTagSignature  sig 
)

◆ _cmsGetTagTrueType()

cmsTagTypeSignature _cmsGetTagTrueType ( cmsHPROFILE  hProfile,
cmsTagSignature  sig 
)

◆ _cmsGetTagTypeHandler()

◆ _cmsHalf2Float()

cmsFloat32Number _cmsHalf2Float ( cmsUInt16Number  h)

◆ _cmsHandleExtraChannels()

◆ _cmsInitMutexPrimitive()

static int _cmsInitMutexPrimitive ( _cmsMutex m)
inlinestatic

Definition at line 339 of file lcms2_internal.h.

References m, and NULL.

Referenced by defMtxCreate().

◆ _cmsInstallAllocFunctions()

void _cmsInstallAllocFunctions ( cmsPluginMemHandler Plugin,
_cmsMemPluginChunkType ptr 
)

◆ _cmsLeaveCriticalSectionPrimitive()

static int _cmsLeaveCriticalSectionPrimitive ( _cmsMutex m)
inlinestatic

Definition at line 354 of file lcms2_internal.h.

References m.

Referenced by _cmsGetContext(), cmsCreateContext(), cmsDeleteContext(), and cmsDupContext().

◆ _cmsLinkProfiles()

◆ _cmsLockPrimitive()

static int _cmsLockPrimitive ( _cmsMutex m)
inlinestatic

Definition at line 329 of file lcms2_internal.h.

References m.

Referenced by defMtxLock().

◆ _cmsOptimizePipeline()

◆ _cmsPluginMalloc()

◆ _cmsQuantizeVal()

◆ _cmsQuickFloor()

◆ _cmsQuickFloorWord()

static cmsUInt16Number _cmsQuickFloorWord ( cmsFloat64Number  d)
inlinestatic

Definition at line 182 of file lcms2_internal.h.

References _cmsQuickFloor(), and d.

Referenced by _cmsQuickSaturateByte(), and _cmsQuickSaturateWord().

◆ _cmsQuickSaturateWord()

◆ _cmsReadCHAD()

◆ _cmsReadDevicelinkLUT()

◆ _cmsReadHeader()

◆ _cmsReadInputLUT()

◆ _cmsReadMediaWhitePoint()

◆ _cmsReadOutputLUT()

◆ _cmsReadProfileSequence()

◆ _cmsReasonableGridpointsByColorspace()

◆ _cmsRegisterFormattersPlugin()

◆ _cmsRegisterInterpPlugin()

cmsBool _cmsRegisterInterpPlugin ( cmsContext  ContextID,
cmsPluginBase Plugin 
)

◆ _cmsRegisterMemHandlerPlugin()

◆ _cmsRegisterMultiProcessElementPlugin()

cmsBool _cmsRegisterMultiProcessElementPlugin ( cmsContext  ContextID,
cmsPluginBase Plugin 
)

Definition at line 5401 of file cmstypes.c.

References MPEPlugin, and RegisterTypesPlugin().

Referenced by cmsPluginTHR(), and cmsUnregisterPluginsTHR().

◆ _cmsRegisterMutexPlugin()

◆ _cmsRegisterOptimizationPlugin()

◆ _cmsRegisterParametricCurvesPlugin()

◆ _cmsRegisterRenderingIntentPlugin()

◆ _cmsRegisterTagPlugin()

◆ _cmsRegisterTagTypePlugin()

cmsBool _cmsRegisterTagTypePlugin ( cmsContext  ContextID,
cmsPluginBase Plugin 
)

Definition at line 5396 of file cmstypes.c.

References RegisterTypesPlugin(), and TagTypePlugin.

Referenced by cmsPluginTHR(), and cmsUnregisterPluginsTHR().

◆ _cmsRegisterTransformPlugin()

◆ _cmsSearchTag()

int _cmsSearchTag ( _cmsICCPROFILE Icc,
cmsTagSignature  sig,
cmsBool  lFollowLinks 
)

◆ _cmsSetInterpolationRoutine()

cmsBool _cmsSetInterpolationRoutine ( cmsContext  ContextID,
cmsInterpParams p 
)

◆ _cmsStageAllocIdentityCLut()

◆ _cmsStageAllocIdentityCurves()

◆ _cmsStageAllocLab2XYZ()

cmsStage* _cmsStageAllocLab2XYZ ( cmsContext  ContextID)

◆ _cmsStageAllocLabPrelin()

cmsStage* _cmsStageAllocLabPrelin ( cmsContext  ContextID)

◆ _cmsStageAllocLabV2ToV4()

cmsStage* _cmsStageAllocLabV2ToV4 ( cmsContext  ContextID)

◆ _cmsStageAllocLabV2ToV4curves()

◆ _cmsStageAllocLabV4ToV2()

cmsStage* _cmsStageAllocLabV4ToV2 ( cmsContext  ContextID)

◆ _cmsStageAllocNamedColor()

◆ _cmsStageAllocXYZ2Lab()

cmsStage* _cmsStageAllocXYZ2Lab ( cmsContext  ContextID)

◆ _cmsStageClipNegatives()

cmsStage* _cmsStageClipNegatives ( cmsContext  ContextID,
cmsUInt32Number  nChannels 
)

Definition at line 1141 of file cmslut.c.

References _cmsStageAllocPlaceholder(), Clipper(), cmsSigClipNegativesElemType, and NULL.

Referenced by DefaultICCintents().

◆ _cmsStageGetPtrToCurveSet()

◆ _cmsStageNormalizeFromLabFloat()

cmsStage* _cmsStageNormalizeFromLabFloat ( cmsContext  ContextID)

◆ _cmsStageNormalizeFromXyzFloat()

cmsStage* _cmsStageNormalizeFromXyzFloat ( cmsContext  ContextID)

◆ _cmsStageNormalizeToLabFloat()

cmsStage* _cmsStageNormalizeToLabFloat ( cmsContext  ContextID)

◆ _cmsStageNormalizeToXyzFloat()

cmsStage* _cmsStageNormalizeToXyzFloat ( cmsContext  ContextID)

◆ _cmsSubAlloc()

void* _cmsSubAlloc ( _cmsSubAllocator s,
cmsUInt32Number  size 
)

Definition at line 382 of file cmserr.c.

References _cmsALIGNMEM, _cmsCreateSubAllocChunk(), chunk(), Free, h, chunk::next, NULL, ptr, size, and sub.

Referenced by _cmsPluginMalloc(), and _cmsSubAllocDup().

◆ _cmsSubAllocDestroy()

void _cmsSubAllocDestroy ( _cmsSubAllocator s)

Definition at line 365 of file cmserr.c.

References _cmsFree(), chunk(), h, n, chunk::next, NULL, and sub.

Referenced by cmsDeleteContext().

◆ _cmsSubAllocDup()

◆ _cmsTagSignature2String()

void _cmsTagSignature2String ( char  String[5],
cmsTagSignature  sig 
)

◆ _cmsToFixedDomain()

◆ _cmsUnlockPrimitive()

static int _cmsUnlockPrimitive ( _cmsMutex m)
inlinestatic

Definition at line 334 of file lcms2_internal.h.

References m.

Referenced by defMtxUnlock().

◆ _cmsWriteHeader()

◆ _cmsWriteProfileSequence()

cmsBool _cmsWriteProfileSequence ( cmsHPROFILE  hProfile,
const cmsSEQ seq 
)

Variable Documentation

◆ _cmsAdaptationStateChunk

_cmsAdaptationStateChunkType _cmsAdaptationStateChunk
extern

Definition at line 35 of file cmsxform.c.

◆ _cmsAlarmCodesChunk

_cmsAlarmCodesChunkType _cmsAlarmCodesChunk
extern

Definition at line 89 of file cmsxform.c.

◆ _cmsCurvesPluginChunk

_cmsCurvesPluginChunkType _cmsCurvesPluginChunk
extern

Definition at line 124 of file cmsgamma.c.

◆ _cmsFormattersPluginChunk

_cmsFormattersPluginChunkType _cmsFormattersPluginChunk
extern

Definition at line 3288 of file cmspack.c.

◆ _cmsIntentsPluginChunk

_cmsIntentsPluginChunkType _cmsIntentsPluginChunk
extern

Definition at line 98 of file cmscnvrt.c.

◆ _cmsInterpPluginChunk

_cmsInterpPluginChunkType _cmsInterpPluginChunk
extern

Definition at line 43 of file cmsintrp.c.

◆ _cmsLogErrorChunk

_cmsLogErrorChunkType _cmsLogErrorChunk
extern

Definition at line 455 of file cmserr.c.

◆ _cmsMemPluginChunk

_cmsMemPluginChunkType _cmsMemPluginChunk
extern

Definition at line 181 of file cmserr.c.

Referenced by _cmsInstallAllocFunctions(), and cmsCreateContext().

◆ _cmsMPETypePluginChunk

_cmsTagTypePluginChunkType _cmsMPETypePluginChunk
extern

Definition at line 4405 of file cmstypes.c.

◆ _cmsMutexPluginChunk

_cmsMutexPluginChunkType _cmsMutexPluginChunk
extern

Definition at line 577 of file cmserr.c.

◆ _cmsOptimizationPluginChunk

_cmsOptimizationPluginChunkType _cmsOptimizationPluginChunk
extern

Definition at line 1808 of file cmsopt.c.

◆ _cmsTagPluginChunk

_cmsTagPluginChunkType _cmsTagPluginChunk
extern

Definition at line 5529 of file cmstypes.c.

◆ _cmsTagTypePluginChunk

_cmsTagTypePluginChunkType _cmsTagTypePluginChunk
extern

Definition at line 5325 of file cmstypes.c.

◆ _cmsTransformPluginChunk

_cmsTransformPluginChunkType _cmsTransformPluginChunk
extern

Definition at line 624 of file cmsxform.c.