Color management: add OCIO aware utility functions for transform to/from XYZ.
This commit is contained in:
@@ -59,6 +59,7 @@ public:
|
||||
virtual const char *configGetDisplayColorSpaceName(OCIO_ConstConfigRcPtr *config, const char *display, const char *view) = 0;
|
||||
|
||||
virtual void configGetDefaultLumaCoefs(OCIO_ConstConfigRcPtr *config, float *rgb) = 0;
|
||||
virtual void configGetXYZtoRGB(OCIO_ConstConfigRcPtr *config, float xyz_to_rgb[3][3]) = 0;
|
||||
|
||||
virtual int configGetNumLooks(OCIO_ConstConfigRcPtr *config) = 0;
|
||||
virtual const char *configGetLookNameByIndex(OCIO_ConstConfigRcPtr *config, int index) = 0;
|
||||
@@ -148,6 +149,7 @@ public:
|
||||
const char *configGetDisplayColorSpaceName(OCIO_ConstConfigRcPtr *config, const char *display, const char *view);
|
||||
|
||||
void configGetDefaultLumaCoefs(OCIO_ConstConfigRcPtr *config, float *rgb);
|
||||
void configGetXYZtoRGB(OCIO_ConstConfigRcPtr *config, float xyz_to_rgb[3][3]);
|
||||
|
||||
int configGetNumLooks(OCIO_ConstConfigRcPtr *config);
|
||||
const char *configGetLookNameByIndex(OCIO_ConstConfigRcPtr *config, int index);
|
||||
@@ -238,6 +240,7 @@ public:
|
||||
const char *configGetDisplayColorSpaceName(OCIO_ConstConfigRcPtr *config, const char *display, const char *view);
|
||||
|
||||
void configGetDefaultLumaCoefs(OCIO_ConstConfigRcPtr *config, float *rgb);
|
||||
void configGetXYZtoRGB(OCIO_ConstConfigRcPtr *config, float xyz_to_rgb[3][3]);
|
||||
|
||||
int configGetNumLooks(OCIO_ConstConfigRcPtr *config);
|
||||
const char *configGetLookNameByIndex(OCIO_ConstConfigRcPtr *config, int index);
|
||||
|
||||
Reference in New Issue
Block a user