43         void    clear() { myProcessor = 
nullptr; }
 
  117                                                    const char *view_name);
 
  121                                                       const char *view_name);
 
  125                                               const char *view_name);
 
  193                                     bool forward_transform=
true,
 
  194                                     const BitDepth src_depth=DefaultBitDepth,
 
  195                                     const BitDepth dst_depth=DefaultBitDepth);
 
  199                                     bool forward_transform=
true,
 
  200                                     const BitDepth src_depth=DefaultBitDepth,
 
  201                                     const BitDepth dst_depth=DefaultBitDepth);
 
  205                                     bool forward_transform,
 
  206                                     const BitDepth src_depth=DefaultBitDepth,
 
  207                                     const BitDepth dst_depth=DefaultBitDepth);
 
  210                                     bool forward_transform,
 
  211                                     const BitDepth src_depth=DefaultBitDepth,
 
  212                                     const BitDepth dst_depth=DefaultBitDepth);
 
  218                                 const int nchannels);
 
  221                                 const int height, 
const int src_channels,
 
  222                                 const int dst_channels);
 
  243         return processor.
isNoOp();
 
  251         return processor.
is3D();
 
  264                           bool forward_transform = 
true)
 
  267                         data, npixels, nchannels);
 
  273                           bool forward_transform = 
true)
 
  276                         data, npixels, nchannels);
 
  285                                 bool forward_xform = 
true)
 
  288                         data, npixels, nchannels);
 
  294                           bool forward_transform = 
true)
 
  297                         data, npixels, nchannels);
 
PXL_API bool isSceneLinear(const ColorSpace *s)
 
PXL_API void reload()
Reload the configuration. 
 
PXL_API const char * getDescription(const ColorSpace *space)
Return the description of the color space. 
 
PXL_API UT_StringHolder parseColorSpaceFromHolder(const UT_StringHolder &s)
 
PXL_API void getColorSpaces(UT_StringArray &names)
Returns a list of the supported color spaces. 
 
PXL_API const char * getCompLogRole()
 
PXL_API void getActiveViews(UT_StringArray &names)
Returns the list of active views. 
 
bool transformToView(const UT_StringHolder &src, const UT_StringHolder &display, const UT_StringHolder &view, fpreal32 *data, int npixels, int nchannels, bool forward_xform=true)
Transform from a colorspace to a display/view, including looks. 
 
PXL_API PHandle lookupProcessor(const UT_StringHolder &src, const UT_StringHolder &dest, const UT_StringHolder &looks, bool forward_transform=true, const BitDepth src_depth=DefaultBitDepth, const BitDepth dst_depth=DefaultBitDepth)
 
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
 
PXL_API const char * getDefaultView(const char *display=NULL)
Returns the current color space name. 
 
PXL_API bool getViewsForDisplay(const char *display, UT_StringArray &view_names)
Return the list of views for a given display. 
 
PXL_API const char * getDataRole()
 
PXL_API const char * getTransformNameForDisplayView(const char *display_name, const char *view_name)
Return the colorspace defined by the view for a given display. 
 
PXL_API const UT_StringHolder & getSceneLinearColorSpace()
 
PXL_API void getRoles(UT_StringArray &names)
Returns a list of the supported roles. 
 
PXL_API PHandle lookupViewProcessor(const UT_StringHolder &src, const UT_StringHolder &display, const UT_StringHolder &view, bool forward_transform, const BitDepth src_depth=DefaultBitDepth, const BitDepth dst_depth=DefaultBitDepth)
 
PXL_API const UT_StringHolder & getRawColorSpace()
 
GLint GLsizei GLsizei height
 
PXL_API const UT_StringHolder & getNanocolorName(const ColorSpace *space)
 
PXL_API bool isFloatPointSpace(const ColorSpace *space, bool &fp)
Set 'fp' to true if the color space is defined for FP, false for uint. 
 
PXL_API const char * getName(const ColorSpace *space)
Return the name of the color space. 
 
PXL_API const UT_StringHolder & pxlImageColorSpace(PXL_ColorSpace cs, const UT_StringHolder &ocioname)
Convert a PXL_ColorSpace to roughly the OCIO equivalent. 
 
PXL_API const char * getSceneLinearRole()
 
PXL_API const char * getReferenceRole()
 
PXL_API bool getAllocationVars(const ColorSpace *space, bool &uniform, fpreal &min, fpreal &max, fpreal &offset)
Return the allocation variable meta data about the color space. 
 
PXL_API const ColorSpace * lookupSpace(const UT_StringHolder &name)
 
bool is3DTransform(const PHandle &processor)
 
GLuint const GLchar * name
 
PXL_API const UT_StringHolder & getsRGBColorSpace()
 
PXL_API const char * getDefaultDisplay()
Returns the current color space name. 
 
PXL_API const char * parseColorSpaceFromString(const char *string)
 
PXL_API const UT_StringHolder & getLinearRec709ColorSpace()
 
A map of string to various well defined value types. 
 
PXL_API bool isOCIOEnvSet(bool check_for_active_vars=true)
 
PXL_API const UT_StringRef & configFilePath()
The path and filename of the config file being used. 
 
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
 
PXL_API bool transform(const PHandle &processor, fpreal32 *data, const int npixels, const int nchannels)
Transform pixels by a processor. 
 
PXL_API bool getInfo(const ColorSpace *space, UT_Options &info)
 
PXL_API bool issRGB(const ColorSpace *s)
 
PXL_API void viewingRuleNames(UT_StringArray &names)
Get the viewing rule names. 
 
PXL_API int addConfigChangeCB(UT_Functor< void > callback)
 
PXL_API const char * getColorSpaceForDisplayView(const char *display_name, const char *view_name)
Return the colorspace defined by the view for a given display. 
 
PXL_API const char * getColorPickingRole()
 
class OCIOEXPORT ColorSpace
 
PXL_API void getLooks(UT_StringArray &looks)
Returns a list of looks (color transforms) 
 
PXL_API const UT_Options & viewingRule(const UT_StringRef &name)
Lookup a viewing rule by the name. 
 
PXL_API void getActiveDisplays(UT_StringArray &names)
Returns the list of active displays. 
 
bool isNoOpTransform(const PHandle &processor)
 
PXL_API void removeConfigChangeCB(int id)
 
PXL_API const char * getDefaultRole()
 
PXL_API const UT_StringHolder & getRec709ColorSpace()
 
PXL_API const char * getLooksForDisplayView(const char *display_name, const char *view_name)
Return the looks attached to the view for a given display. 
 
ImageBuf OIIO_API channels(const ImageBuf &src, int nchannels, cspan< int > channelorder, cspan< float > channelvalues={}, cspan< std::string > newchannelnames={}, bool shuffle_channel_names=false, int nthreads=0)
 
bool isValidTransform(const PHandle &processor)