Blender  V3.3
Classes | Macros | Typedefs | Functions | Variables
ocio_capi.h File Reference

Go to the source code of this file.

Classes

struct  OCIO_CurveMappingSettings
 

Macros

#define OCIO_DECLARE_HANDLE(name)
 
#define OCIO_ROLE_DATA   "data"
 
#define OCIO_ROLE_SCENE_LINEAR   "scene_linear"
 
#define OCIO_ROLE_COLOR_PICKING   "color_picking"
 
#define OCIO_ROLE_TEXTURE_PAINT   "texture_paint"
 
#define OCIO_ROLE_DEFAULT_BYTE   "default_byte"
 
#define OCIO_ROLE_DEFAULT_FLOAT   "default_float"
 
#define OCIO_ROLE_DEFAULT_SEQUENCER   "default_sequencer"
 

Typedefs

typedef struct OCIO_GPUShader OCIO_GPUShader
 
typedef struct OCIO_CurveMappingSettings OCIO_CurveMappingSettings
 

Functions

 OCIO_DECLARE_HANDLE (OCIO_ConstConfigRcPtr)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstColorSpaceRcPtr)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstProcessorRcPtr)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstCPUProcessorRcPtr)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstContextRcPtr)
 
 OCIO_DECLARE_HANDLE (OCIO_PackedImageDesc)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstLookRcPtr)
 
void OCIO_init (void)
 
void OCIO_exit (void)
 
OCIO_ConstConfigRcPtr * OCIO_getCurrentConfig (void)
 
void OCIO_setCurrentConfig (const OCIO_ConstConfigRcPtr *config)
 
OCIO_ConstConfigRcPtr * OCIO_configCreateFromEnv (void)
 
OCIO_ConstConfigRcPtr * OCIO_configCreateFromFile (const char *filename)
 
OCIO_ConstConfigRcPtr * OCIO_configCreateFallback (void)
 
void OCIO_configRelease (OCIO_ConstConfigRcPtr *config)
 
int OCIO_configGetNumColorSpaces (OCIO_ConstConfigRcPtr *config)
 
const char * OCIO_configGetColorSpaceNameByIndex (OCIO_ConstConfigRcPtr *config, int index)
 
OCIO_ConstColorSpaceRcPtr * OCIO_configGetColorSpace (OCIO_ConstConfigRcPtr *config, const char *name)
 
int OCIO_configGetIndexForColorSpace (OCIO_ConstConfigRcPtr *config, const char *name)
 
int OCIO_colorSpaceIsInvertible (OCIO_ConstColorSpaceRcPtr *cs)
 
int OCIO_colorSpaceIsData (OCIO_ConstColorSpaceRcPtr *cs)
 
void OCIO_colorSpaceIsBuiltin (OCIO_ConstConfigRcPtr *config, OCIO_ConstColorSpaceRcPtr *cs, bool *is_scene_linear, bool *is_srgb)
 
void OCIO_colorSpaceRelease (OCIO_ConstColorSpaceRcPtr *cs)
 
const char * OCIO_configGetDefaultDisplay (OCIO_ConstConfigRcPtr *config)
 
int OCIO_configGetNumDisplays (OCIO_ConstConfigRcPtr *config)
 
const char * OCIO_configGetDisplay (OCIO_ConstConfigRcPtr *config, int index)
 
const char * OCIO_configGetDefaultView (OCIO_ConstConfigRcPtr *config, const char *display)
 
int OCIO_configGetNumViews (OCIO_ConstConfigRcPtr *config, const char *display)
 
const char * OCIO_configGetView (OCIO_ConstConfigRcPtr *config, const char *display, int index)
 
const char * OCIO_configGetDisplayColorSpaceName (OCIO_ConstConfigRcPtr *config, const char *display, const char *view)
 
void OCIO_configGetDefaultLumaCoefs (OCIO_ConstConfigRcPtr *config, float *rgb)
 
void OCIO_configGetXYZtoSceneLinear (OCIO_ConstConfigRcPtr *config, float xyz_to_scene_linear[3][3])
 
int OCIO_configGetNumLooks (OCIO_ConstConfigRcPtr *config)
 
const char * OCIO_configGetLookNameByIndex (OCIO_ConstConfigRcPtr *config, int index)
 
OCIO_ConstLookRcPtr * OCIO_configGetLook (OCIO_ConstConfigRcPtr *config, const char *name)
 
const char * OCIO_lookGetProcessSpace (OCIO_ConstLookRcPtr *look)
 
void OCIO_lookRelease (OCIO_ConstLookRcPtr *look)
 
OCIO_ConstProcessorRcPtr * OCIO_configGetProcessorWithNames (OCIO_ConstConfigRcPtr *config, const char *srcName, const char *dstName)
 
void OCIO_processorRelease (OCIO_ConstProcessorRcPtr *cpu_processor)
 
OCIO_ConstCPUProcessorRcPtr * OCIO_processorGetCPUProcessor (OCIO_ConstProcessorRcPtr *processor)
 
void OCIO_cpuProcessorApply (OCIO_ConstCPUProcessorRcPtr *cpu_processor, OCIO_PackedImageDesc *img)
 
void OCIO_cpuProcessorApply_predivide (OCIO_ConstCPUProcessorRcPtr *cpu_processor, OCIO_PackedImageDesc *img)
 
void OCIO_cpuProcessorApplyRGB (OCIO_ConstCPUProcessorRcPtr *cpu_processor, float *pixel)
 
void OCIO_cpuProcessorApplyRGBA (OCIO_ConstCPUProcessorRcPtr *cpu_processor, float *pixel)
 
void OCIO_cpuProcessorApplyRGBA_predivide (OCIO_ConstCPUProcessorRcPtr *cpu_processor, float *pixel)
 
void OCIO_cpuProcessorRelease (OCIO_ConstCPUProcessorRcPtr *processor)
 
const char * OCIO_colorSpaceGetName (OCIO_ConstColorSpaceRcPtr *cs)
 
const char * OCIO_colorSpaceGetDescription (OCIO_ConstColorSpaceRcPtr *cs)
 
const char * OCIO_colorSpaceGetFamily (OCIO_ConstColorSpaceRcPtr *cs)
 
int OCIO_colorSpaceGetNumAliases (OCIO_ConstColorSpaceRcPtr *cs)
 
const char * OCIO_colorSpaceGetAlias (OCIO_ConstColorSpaceRcPtr *cs, const int index)
 
OCIO_ConstProcessorRcPtr * OCIO_createDisplayProcessor (OCIO_ConstConfigRcPtr *config, const char *input, const char *view, const char *display, const char *look, const float scale, const float exponent, const bool inverse)
 
OCIO_PackedImageDesc * OCIO_createOCIO_PackedImageDesc (float *data, long width, long height, long numChannels, long chanStrideBytes, long xStrideBytes, long yStrideBytes)
 
void OCIO_PackedImageDescRelease (OCIO_PackedImageDesc *p)
 
bool OCIO_supportGPUShader (void)
 
bool OCIO_gpuDisplayShaderBind (OCIO_ConstConfigRcPtr *config, const char *input, const char *view, const char *display, const char *look, OCIO_CurveMappingSettings *curve_mapping_settings, const float scale, const float exponent, const float dither, const bool use_predivide, const bool use_overlay)
 
void OCIO_gpuDisplayShaderUnbind (void)
 
void OCIO_gpuCacheFree (void)
 
const char * OCIO_getVersionString (void)
 
int OCIO_getVersionHex (void)
 

Variables

static const float OCIO_XYZ_TO_REC709 [3][3]
 
static const float OCIO_ACES_TO_XYZ [3][3]
 

Macro Definition Documentation

◆ OCIO_DECLARE_HANDLE

#define OCIO_DECLARE_HANDLE (   name)
Value:
typedef struct name##__ { \
int unused; \
} * name

Definition at line 13 of file ocio_capi.h.

◆ OCIO_ROLE_COLOR_PICKING

#define OCIO_ROLE_COLOR_PICKING   "color_picking"

Definition at line 20 of file ocio_capi.h.

◆ OCIO_ROLE_DATA

#define OCIO_ROLE_DATA   "data"

Definition at line 18 of file ocio_capi.h.

◆ OCIO_ROLE_DEFAULT_BYTE

#define OCIO_ROLE_DEFAULT_BYTE   "default_byte"

Definition at line 22 of file ocio_capi.h.

◆ OCIO_ROLE_DEFAULT_FLOAT

#define OCIO_ROLE_DEFAULT_FLOAT   "default_float"

Definition at line 23 of file ocio_capi.h.

◆ OCIO_ROLE_DEFAULT_SEQUENCER

#define OCIO_ROLE_DEFAULT_SEQUENCER   "default_sequencer"

Definition at line 24 of file ocio_capi.h.

◆ OCIO_ROLE_SCENE_LINEAR

#define OCIO_ROLE_SCENE_LINEAR   "scene_linear"

Definition at line 19 of file ocio_capi.h.

◆ OCIO_ROLE_TEXTURE_PAINT

#define OCIO_ROLE_TEXTURE_PAINT   "texture_paint"

Definition at line 21 of file ocio_capi.h.

Typedef Documentation

◆ OCIO_CurveMappingSettings

◆ OCIO_GPUShader

Definition at line 1 of file ocio_capi.h.

Function Documentation

◆ OCIO_colorSpaceGetAlias()

const char* OCIO_colorSpaceGetAlias ( OCIO_ConstColorSpaceRcPtr *  cs,
const int  index 
)

Definition at line 242 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceGetAlias(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_colorSpaceGetDescription()

const char* OCIO_colorSpaceGetDescription ( OCIO_ConstColorSpaceRcPtr *  cs)

Definition at line 227 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceGetDescription(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_colorSpaceGetFamily()

const char* OCIO_colorSpaceGetFamily ( OCIO_ConstColorSpaceRcPtr *  cs)

Definition at line 232 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceGetFamily(), and impl.

◆ OCIO_colorSpaceGetName()

const char* OCIO_colorSpaceGetName ( OCIO_ConstColorSpaceRcPtr *  cs)

Definition at line 222 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceGetName(), and impl.

Referenced by colormanage_role_color_space_name_get().

◆ OCIO_colorSpaceGetNumAliases()

int OCIO_colorSpaceGetNumAliases ( OCIO_ConstColorSpaceRcPtr *  cs)

Definition at line 237 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceGetNumAliases(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_colorSpaceIsBuiltin()

void OCIO_colorSpaceIsBuiltin ( OCIO_ConstConfigRcPtr *  config,
OCIO_ConstColorSpaceRcPtr *  cs,
bool is_scene_linear,
bool is_srgb 
)

Definition at line 161 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceIsBuiltin(), and impl.

Referenced by colormanage_ensure_srgb_scene_linear_info().

◆ OCIO_colorSpaceIsData()

int OCIO_colorSpaceIsData ( OCIO_ConstColorSpaceRcPtr *  cs)

Definition at line 156 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceIsData(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_colorSpaceIsInvertible()

int OCIO_colorSpaceIsInvertible ( OCIO_ConstColorSpaceRcPtr *  cs)

Definition at line 151 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceIsInvertible(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_colorSpaceRelease()

void OCIO_colorSpaceRelease ( OCIO_ConstColorSpaceRcPtr *  cs)

◆ OCIO_configCreateFallback()

OCIO_ConstConfigRcPtr* OCIO_configCreateFallback ( void  )

Definition at line 30 of file ocio_capi.cc.

References IOCIOImpl::getCurrentConfig(), and impl.

Referenced by colormanagement_init().

◆ OCIO_configCreateFromEnv()

OCIO_ConstConfigRcPtr* OCIO_configCreateFromEnv ( void  )

Definition at line 43 of file ocio_capi.cc.

References IOCIOImpl::configCreateFromEnv(), and impl.

Referenced by colormanagement_init().

◆ OCIO_configCreateFromFile()

OCIO_ConstConfigRcPtr* OCIO_configCreateFromFile ( const char *  filename)

Definition at line 48 of file ocio_capi.cc.

References IOCIOImpl::configCreateFromFile(), and impl.

Referenced by colormanagement_init().

◆ OCIO_configGetColorSpace()

OCIO_ConstColorSpaceRcPtr* OCIO_configGetColorSpace ( OCIO_ConstConfigRcPtr *  config,
const char *  name 
)

◆ OCIO_configGetColorSpaceNameByIndex()

const char* OCIO_configGetColorSpaceNameByIndex ( OCIO_ConstConfigRcPtr *  config,
int  index 
)

Definition at line 63 of file ocio_capi.cc.

References IOCIOImpl::configGetColorSpaceNameByIndex(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetDefaultDisplay()

const char* OCIO_configGetDefaultDisplay ( OCIO_ConstConfigRcPtr *  config)

Definition at line 79 of file ocio_capi.cc.

References IOCIOImpl::configGetDefaultDisplay(), and impl.

Referenced by colormanage_display_get_default_name().

◆ OCIO_configGetDefaultLumaCoefs()

void OCIO_configGetDefaultLumaCoefs ( OCIO_ConstConfigRcPtr *  config,
float rgb 
)

Definition at line 116 of file ocio_capi.cc.

References IOCIOImpl::configGetDefaultLumaCoefs(), impl, and usdtokens::rgb().

Referenced by colormanage_load_config().

◆ OCIO_configGetDefaultView()

const char* OCIO_configGetDefaultView ( OCIO_ConstConfigRcPtr *  config,
const char *  display 
)

Definition at line 94 of file ocio_capi.cc.

References IOCIOImpl::configGetDefaultView(), and impl.

Referenced by colormanage_view_get_default_name().

◆ OCIO_configGetDisplay()

const char* OCIO_configGetDisplay ( OCIO_ConstConfigRcPtr *  config,
int  index 
)

Definition at line 89 of file ocio_capi.cc.

References IOCIOImpl::configGetDisplay(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetDisplayColorSpaceName()

const char* OCIO_configGetDisplayColorSpaceName ( OCIO_ConstConfigRcPtr *  config,
const char *  display,
const char *  view 
)

Definition at line 109 of file ocio_capi.cc.

References IOCIOImpl::configGetDisplayColorSpaceName(), impl, and view.

Referenced by get_display_colorspace_name().

◆ OCIO_configGetIndexForColorSpace()

int OCIO_configGetIndexForColorSpace ( OCIO_ConstConfigRcPtr *  config,
const char *  name 
)

Definition at line 74 of file ocio_capi.cc.

References IOCIOImpl::configGetIndexForColorSpace(), and impl.

◆ OCIO_configGetLook()

OCIO_ConstLookRcPtr* OCIO_configGetLook ( OCIO_ConstConfigRcPtr *  config,
const char *  name 
)

Definition at line 136 of file ocio_capi.cc.

References IOCIOImpl::configGetLook(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetLookNameByIndex()

const char* OCIO_configGetLookNameByIndex ( OCIO_ConstConfigRcPtr *  config,
int  index 
)

Definition at line 131 of file ocio_capi.cc.

References IOCIOImpl::configGetLookNameByIndex(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetNumColorSpaces()

int OCIO_configGetNumColorSpaces ( OCIO_ConstConfigRcPtr *  config)

Definition at line 58 of file ocio_capi.cc.

References IOCIOImpl::configGetNumColorSpaces(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetNumDisplays()

int OCIO_configGetNumDisplays ( OCIO_ConstConfigRcPtr *  config)

Definition at line 84 of file ocio_capi.cc.

References IOCIOImpl::configGetNumDisplays(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetNumLooks()

int OCIO_configGetNumLooks ( OCIO_ConstConfigRcPtr *  config)

Definition at line 126 of file ocio_capi.cc.

References IOCIOImpl::configGetNumLooks(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetNumViews()

int OCIO_configGetNumViews ( OCIO_ConstConfigRcPtr *  config,
const char *  display 
)

Definition at line 99 of file ocio_capi.cc.

References IOCIOImpl::configGetNumViews(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetProcessorWithNames()

OCIO_ConstProcessorRcPtr* OCIO_configGetProcessorWithNames ( OCIO_ConstConfigRcPtr *  config,
const char *  srcName,
const char *  dstName 
)

◆ OCIO_configGetView()

const char* OCIO_configGetView ( OCIO_ConstConfigRcPtr *  config,
const char *  display,
int  index 
)

Definition at line 104 of file ocio_capi.cc.

References IOCIOImpl::configGetView(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetXYZtoSceneLinear()

void OCIO_configGetXYZtoSceneLinear ( OCIO_ConstConfigRcPtr *  config,
float  xyz_to_scene_linear[3][3] 
)

Definition at line 121 of file ocio_capi.cc.

References IOCIOImpl::configGetXYZtoSceneLinear(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configRelease()

void OCIO_configRelease ( OCIO_ConstConfigRcPtr *  config)

◆ OCIO_cpuProcessorApply()

void OCIO_cpuProcessorApply ( OCIO_ConstCPUProcessorRcPtr *  cpu_processor,
OCIO_PackedImageDesc *  img 
)

◆ OCIO_cpuProcessorApply_predivide()

void OCIO_cpuProcessorApply_predivide ( OCIO_ConstCPUProcessorRcPtr *  cpu_processor,
OCIO_PackedImageDesc *  img 
)

◆ OCIO_cpuProcessorApplyRGB()

void OCIO_cpuProcessorApplyRGB ( OCIO_ConstCPUProcessorRcPtr *  cpu_processor,
float pixel 
)

◆ OCIO_cpuProcessorApplyRGBA()

void OCIO_cpuProcessorApplyRGBA ( OCIO_ConstCPUProcessorRcPtr *  cpu_processor,
float pixel 
)

◆ OCIO_cpuProcessorApplyRGBA_predivide()

void OCIO_cpuProcessorApplyRGBA_predivide ( OCIO_ConstCPUProcessorRcPtr *  cpu_processor,
float pixel 
)

◆ OCIO_cpuProcessorRelease()

void OCIO_cpuProcessorRelease ( OCIO_ConstCPUProcessorRcPtr *  processor)

◆ OCIO_createDisplayProcessor()

OCIO_ConstProcessorRcPtr* OCIO_createDisplayProcessor ( OCIO_ConstConfigRcPtr *  config,
const char *  input,
const char *  view,
const char *  display,
const char *  look,
const float  scale,
const float  exponent,
const bool  inverse 
)

◆ OCIO_createOCIO_PackedImageDesc()

OCIO_PackedImageDesc* OCIO_createOCIO_PackedImageDesc ( float data,
long  width,
long  height,
long  numChannels,
long  chanStrideBytes,
long  xStrideBytes,
long  yStrideBytes 
)

◆ OCIO_DECLARE_HANDLE() [1/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstColorSpaceRcPtr  )

◆ OCIO_DECLARE_HANDLE() [2/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstConfigRcPtr  )

◆ OCIO_DECLARE_HANDLE() [3/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstContextRcPtr  )

◆ OCIO_DECLARE_HANDLE() [4/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstCPUProcessorRcPtr  )

◆ OCIO_DECLARE_HANDLE() [5/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstLookRcPtr  )

◆ OCIO_DECLARE_HANDLE() [6/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstProcessorRcPtr  )

◆ OCIO_DECLARE_HANDLE() [7/7]

OCIO_DECLARE_HANDLE ( OCIO_PackedImageDesc  )

◆ OCIO_exit()

void OCIO_exit ( void  )

Definition at line 19 of file ocio_capi.cc.

References impl, and NULL.

Referenced by colormanage_free_config().

◆ OCIO_getCurrentConfig()

OCIO_ConstConfigRcPtr* OCIO_getCurrentConfig ( void  )

◆ OCIO_getVersionHex()

int OCIO_getVersionHex ( void  )

Definition at line 322 of file ocio_capi.cc.

References IOCIOImpl::getVersionHex(), and impl.

Referenced by make_ocio_info().

◆ OCIO_getVersionString()

const char* OCIO_getVersionString ( void  )

Definition at line 317 of file ocio_capi.cc.

References IOCIOImpl::getVersionString(), and impl.

◆ OCIO_gpuCacheFree()

void OCIO_gpuCacheFree ( void  )

Definition at line 312 of file ocio_capi.cc.

References IOCIOImpl::gpuCacheFree(), and impl.

Referenced by colormanagement_exit().

◆ OCIO_gpuDisplayShaderBind()

bool OCIO_gpuDisplayShaderBind ( OCIO_ConstConfigRcPtr *  config,
const char *  input,
const char *  view,
const char *  display,
const char *  look,
OCIO_CurveMappingSettings curve_mapping_settings,
const float  scale,
const float  exponent,
const float  dither,
const bool  use_predivide,
const bool  use_overlay 
)

◆ OCIO_gpuDisplayShaderUnbind()

void OCIO_gpuDisplayShaderUnbind ( void  )

Definition at line 307 of file ocio_capi.cc.

References IOCIOImpl::gpuDisplayShaderUnbind(), and impl.

Referenced by IMB_colormanagement_finish_glsl_draw().

◆ OCIO_init()

void OCIO_init ( void  )

Definition at line 10 of file ocio_capi.cc.

References impl.

Referenced by colormanagement_init().

◆ OCIO_lookGetProcessSpace()

const char* OCIO_lookGetProcessSpace ( OCIO_ConstLookRcPtr *  look)

Definition at line 141 of file ocio_capi.cc.

References impl, and IOCIOImpl::lookGetProcessSpace().

Referenced by colormanage_load_config().

◆ OCIO_lookRelease()

void OCIO_lookRelease ( OCIO_ConstLookRcPtr *  look)

Definition at line 146 of file ocio_capi.cc.

References impl, and IOCIOImpl::lookRelease().

Referenced by colormanage_load_config().

◆ OCIO_PackedImageDescRelease()

void OCIO_PackedImageDescRelease ( OCIO_PackedImageDesc *  p)

◆ OCIO_processorGetCPUProcessor()

OCIO_ConstCPUProcessorRcPtr* OCIO_processorGetCPUProcessor ( OCIO_ConstProcessorRcPtr *  processor)

◆ OCIO_processorRelease()

void OCIO_processorRelease ( OCIO_ConstProcessorRcPtr *  cpu_processor)

◆ OCIO_setCurrentConfig()

void OCIO_setCurrentConfig ( const OCIO_ConstConfigRcPtr *  config)

Definition at line 38 of file ocio_capi.cc.

References impl, and IOCIOImpl::setCurrentConfig().

Referenced by colormanagement_init().

◆ OCIO_supportGPUShader()

bool OCIO_supportGPUShader ( void  )

Definition at line 277 of file ocio_capi.cc.

References impl, and IOCIOImpl::supportGPUShader().

Referenced by IMB_colormanagement_support_glsl_draw().

Variable Documentation

◆ OCIO_ACES_TO_XYZ

const float OCIO_ACES_TO_XYZ[3][3]
static
Initial value:
= {{0.938280f, 0.337369f, 0.001174f},
{-0.004451f, 0.729522f, -0.003711f},
{0.016628f, -0.066890f, 1.091595f}}

Definition at line 40 of file ocio_capi.h.

Referenced by colormanage_load_config().

◆ OCIO_XYZ_TO_REC709

const float OCIO_XYZ_TO_REC709[3][3]
static
Initial value:
= {{3.2404542f, -0.9692660f, 0.0556434f},
{-1.5371385f, 1.8760108f, -0.2040259f},
{-0.4985314f, 0.0415560f, 1.0572252f}}

Definition at line 35 of file ocio_capi.h.

Referenced by colormanage_load_config(), and FallbackImpl::configGetXYZtoSceneLinear().