Synergy Color Management Component - SDK -  2018.0.80
synColor.h File Reference

Color Transform class and transform file loading functions. More...

Classes

class  SYNCOLOR::TransformPtr
 Transform smart pointer.. More...
 
class  SYNCOLOR::Transform
 Color transform class. More...
 
class  SYNCOLOR::Transform::ContentCallbacks
 Callback class for extracting color transform metadata. More...
 
class  SYNCOLOR::TransformList
 Color transform list class. More...
 
class  SYNCOLOR::TransformWriterCallback
 Callback class for writing color transform xml to a memory buffer. More...
 
class  SYNCOLOR::SupportedExtensionsCallBack
 Callback class for obtaining the list of supported file extensions that may be read. Clients will need to implement this class and use this implementation as the callback for retrieving supported extensions through getSupportedFileExtensions(). More...
 
class  SYNCOLOR::SupportedOutputFormatsCallBack
 Callback class for obtaining the list of supported output formats for a specific transform. Clients will need to implement this class and use this implementation as the callback for retrieving supported formats through getSupportedOutputFormats(). More...
 

Namespaces

 SYNCOLOR
 Autodesk SynColor SDK public namespace.
 

Typedefs

typedef SharedPtr< TransformList > SYNCOLOR::TransformListPtr
 Helper shared pointer. More...
 

Enumerations

enum  SYNCOLOR::RendererFlags { SYNCOLOR::RENDERER_NONE = 0x00, SYNCOLOR::RENDERER_CPU = 0x01, SYNCOLOR::RENDERER_GPU = 0x02, SYNCOLOR::RENDERER_ALL = RENDERER_CPU | RENDERER_GPU }
 Renderer type flag list. More...
 

Functions

SYN_EXPORT SynStatus SYNCOLOR::setLoggerFunction (SYNCOLOR::LogFunc logFunc)
 Message logging callback registration. More...
 
SYN_EXPORT SynStatus SYNCOLOR::finalize (const TransformPtr &inTransform, PixelFormat srcPF, PixelFormat dstPF, OptimizerFlags optimizerFlags, ResolveFlags resolveFlag, TransformPtr &finalizedTransform)
 Finalize the color transform for processing in CPU rendering only. More...
 
SYN_EXPORT SynStatus SYNCOLOR::finalize (const TransformPtr &inTransform, PixelFormat srcPF, PixelFormat dstPF, RendererFlags rendererFlags, OptimizerFlags optimizerFlags, ResolveFlags resolveFlag, SYNCOLOR::GPUAdaptorPtr &pAdaptor, TransformPtr &finalizedTransform)
 Finalize the color transform for processing including a GPU adaptor. More...
 
SYN_EXPORT SynStatus SYNCOLOR::loadColorTransform (const char *filePath, TransformPtr &pTransform)
 Read a single color transform from any of the file formats supported by SynColor. More...
 
SYN_EXPORT SynStatus SYNCOLOR::loadColorTransformList (const char *filePath, TransformListPtr &pTransformList)
 Read a list of color transforms from any of the file formats supported by SynColor, particularly those that may return more than a single transform (for example, a .ccc file that may contain more than one ASC CDL transform). When loading a format that only supports single transforms, a list with one entry is returned. More...
 
SYN_EXPORT SynStatus SYNCOLOR::loadColorTransformFromBuffer (const char *xmlBuffer, TransformPtr &pTransform, IOFormat format=IO_FORMAT_CTF)
 Read a color transform from a memory buffer. More...
 
SYN_EXPORT SynStatus SYNCOLOR::saveColorTransform (const char *fileName, bool saveResolvedTransform, const TransformPtr &pTransform, IOFormat format=IO_FORMAT_CTF)
 Writes a color transform XML to file. More...
 
SYN_EXPORT SynStatus SYNCOLOR::saveColorTransformToBuffer (TransformWriterCallback &writerCallback, const TransformPtr &pTransform, IOFormat format=IO_FORMAT_CTF)
 Writes a color transform XML to a memory buffer. More...
 
SYN_EXPORT bool SYNCOLOR::isFileSupported (const char *fileName)
 Check if a file can be loaded as a color transform. More...
 
SYN_EXPORT SynStatus SYNCOLOR::getSupportedFileExtensions (SupportedExtensionsCallBack &extensionsCallback)
 Obtain the list of supported file extensions. More...
 
SYN_EXPORT SynStatus SYNCOLOR::getSupportedOutputFormats (const TransformPtr &pTransform, SupportedOutputFormatsCallBack &exportFormatsCallback)
 Obtain the list of supported output formats for a specified transform. Only formats that may losslessly represent the provided transform will be returned. More...
 

Detailed Description

Color Transform class and transform file loading functions.