Colormapping

ILxColorMappingModule

class ILxColorMappingModule

Public Functions

unsigned Flags(LXtObjectID self)
  • CMS_GPU_LUT3D_EDGE_SIZE

ILxColorMapping

class ILxColorMapping

Public Functions

LxResult Setup(LXtObjectID self, int toLinear)
LxResult ToLinear(LXtObjectID self, const LXtFVector sourceValues, LXtFVector linearValues, unsigned int length)
LxResult FromLinear(LXtObjectID self, const LXtFVector linearValues, LXtFVector targetValues, unsigned int length)
LxResult ToLinearFast(LXtObjectID self, float *buf, unsigned int length)
LxResult FromLinearFast(LXtObjectID self, float *buf, unsigned int length)
LxResult GetLUTImage(LXtObjectID self, float **ptr)
LxResult GetShaderSource(LXtObjectID self, char **ptr)
const char *GetName(LXtObjectID self)
const char *GetCMServerName(LXtObjectID self)
unsigned char *GenerateICCProfile(LXtObjectID self, unsigned int *length)

ILxColorMapping1

class ILxColorMapping1

Old ColorMapping interface

Public Functions

LxResult Setup(LXtObjectID self, int toLinear)
LxResult ToLinear(LXtObjectID self, const LXtFVector sourceValues, LXtFVector linearValues, unsigned int length)
LxResult FromLinear(LXtObjectID self, const LXtFVector linearValues, LXtFVector targetValues, unsigned int length)
LxResult ToLinearFast(LXtObjectID self, float *buf, unsigned int length)
LxResult FromLinearFast(LXtObjectID self, float *buf, unsigned int length)
LxResult GetLUTImage(LXtObjectID self, float **ptr)
LxResult GetShaderSource(LXtObjectID self, char **ptr)
const char *GetName(LXtObjectID self)

ILxColorMappingService

class ILxColorMappingService

The color mapping service allows color mapping items to be enumerated and created.

Public Functions

LxResult MakeColorMapping(LXtObjectID self, const char *colorspaceName, int toLinear, void **ppvObj)
int ConfigCount(LXtObjectID self)
LxResult ConfigName(LXtObjectID self, int index, const char **configName)
LxResult ConfigFullPath(LXtObjectID self, int index, const char **configPath)
LxResult RegisterColorspaceForConfig(LXtObjectID self, const char *configName, const char *colorspaceName)
LxResult GetDisplayColorMapping(LXtObjectID self, void **ppvObj)

Get the color mapping used for displaying colors in the interface.

LxResult GetNumericColorMapping(LXtObjectID self, void **ppvObj)

Get the color mapping used for numeric values in the interface.