Blender V4.3
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_ConstConfigRc)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstColorSpaceRc)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstProcessorRc)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstCPUProcessorRc)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstContextRc)
 
 OCIO_DECLARE_HANDLE (OCIO_PackedImageDesc)
 
 OCIO_DECLARE_HANDLE (OCIO_ConstLookRc)
 
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_ConstCPUProcessorRcPtrOCIO_processorGetCPUProcessor (OCIO_ConstProcessorRcPtr *processor)
 
bool OCIO_cpuProcessorIsNoOp (OCIO_ConstCPUProcessorRcPtr *cpu_processor)
 
void OCIO_cpuProcessorApply (OCIO_ConstCPUProcessorRcPtr *cpu_processor, struct OCIO_PackedImageDesc *img)
 
void OCIO_cpuProcessorApply_predivide (OCIO_ConstCPUProcessorRcPtr *cpu_processor, struct 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 float temperature, const float tint, const bool use_white_balance, const bool inverse)
 
struct OCIO_PackedImageDesc * OCIO_createOCIO_PackedImageDesc (float *data, long width, long height, long numChannels, long chanStrideBytes, long xStrideBytes, long yStrideBytes)
 
void OCIO_PackedImageDescRelease (struct 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 float temperature, const float tint, const bool use_predivide, const bool use_overlay, const bool use_hdr, const bool use_white_balance)
 
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:
struct name; \
typedef struct name *name##Ptr;

Definition at line 14 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.

Referenced by colormanage_load_config().

◆ OCIO_ROLE_DATA

#define OCIO_ROLE_DATA   "data"

Definition at line 18 of file ocio_capi.h.

Referenced by colormanage_load_config().

◆ OCIO_ROLE_DEFAULT_BYTE

#define OCIO_ROLE_DEFAULT_BYTE   "default_byte"

Definition at line 22 of file ocio_capi.h.

Referenced by colormanage_load_config().

◆ OCIO_ROLE_DEFAULT_FLOAT

#define OCIO_ROLE_DEFAULT_FLOAT   "default_float"

Definition at line 23 of file ocio_capi.h.

Referenced by colormanage_load_config().

◆ OCIO_ROLE_DEFAULT_SEQUENCER

#define OCIO_ROLE_DEFAULT_SEQUENCER   "default_sequencer"

Definition at line 24 of file ocio_capi.h.

Referenced by colormanage_load_config().

◆ OCIO_ROLE_SCENE_LINEAR

#define OCIO_ROLE_SCENE_LINEAR   "scene_linear"

Definition at line 19 of file ocio_capi.h.

Referenced by colormanage_load_config().

◆ OCIO_ROLE_TEXTURE_PAINT

#define OCIO_ROLE_TEXTURE_PAINT   "texture_paint"

Definition at line 21 of file ocio_capi.h.

Referenced by colormanage_load_config().

Typedef Documentation

◆ OCIO_CurveMappingSettings

typedef struct OCIO_CurveMappingSettings OCIO_CurveMappingSettings

◆ OCIO_GPUShader

typedef struct OCIO_GPUShader OCIO_GPUShader

Definition at line 12 of file ocio_capi.h.

Function Documentation

◆ OCIO_colorSpaceGetAlias()

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

Definition at line 248 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 233 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 238 of file ocio_capi.cc.

References IOCIOImpl::colorSpaceGetFamily(), and impl.

◆ OCIO_colorSpaceGetName()

const char * OCIO_colorSpaceGetName ( OCIO_ConstColorSpaceRcPtr * cs)

Definition at line 228 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 243 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 162 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 157 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 152 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 31 of file ocio_capi.cc.

References IOCIOImpl::getCurrentConfig(), and impl.

Referenced by colormanagement_init().

◆ OCIO_configCreateFromEnv()

OCIO_ConstConfigRcPtr * OCIO_configCreateFromEnv ( void )

Definition at line 44 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 49 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 64 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 80 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 117 of file ocio_capi.cc.

References IOCIOImpl::configGetDefaultLumaCoefs(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configGetDefaultView()

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

Definition at line 95 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 90 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 110 of file ocio_capi.cc.

References IOCIOImpl::configGetDisplayColorSpaceName(), and impl.

Referenced by get_display_colorspace_name().

◆ OCIO_configGetIndexForColorSpace()

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

Definition at line 75 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 137 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 132 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 59 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 85 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 127 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 100 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 105 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 122 of file ocio_capi.cc.

References IOCIOImpl::configGetXYZtoSceneLinear(), and impl.

Referenced by colormanage_load_config().

◆ OCIO_configRelease()

◆ OCIO_cpuProcessorApply()

void OCIO_cpuProcessorApply ( OCIO_ConstCPUProcessorRcPtr * cpu_processor,
struct OCIO_PackedImageDesc * img )

◆ OCIO_cpuProcessorApply_predivide()

void OCIO_cpuProcessorApply_predivide ( OCIO_ConstCPUProcessorRcPtr * cpu_processor,
struct OCIO_PackedImageDesc * img )

◆ OCIO_cpuProcessorApplyRGB()

◆ 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_cpuProcessorIsNoOp()

bool OCIO_cpuProcessorIsNoOp ( OCIO_ConstCPUProcessorRcPtr * cpu_processor)

Definition at line 192 of file ocio_capi.cc.

References IOCIOImpl::cpuProcessorIsNoOp(), and impl.

Referenced by IMB_colormanagement_processor_is_noop().

◆ 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 float temperature,
const float tint,
const bool use_white_balance,
const bool inverse )

◆ OCIO_createOCIO_PackedImageDesc()

struct 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_ConstColorSpaceRc )

◆ OCIO_DECLARE_HANDLE() [2/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstConfigRc )

◆ OCIO_DECLARE_HANDLE() [3/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstContextRc )

◆ OCIO_DECLARE_HANDLE() [4/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstCPUProcessorRc )

◆ OCIO_DECLARE_HANDLE() [5/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstLookRc )

◆ OCIO_DECLARE_HANDLE() [6/7]

OCIO_DECLARE_HANDLE ( OCIO_ConstProcessorRc )

◆ OCIO_DECLARE_HANDLE() [7/7]

OCIO_DECLARE_HANDLE ( OCIO_PackedImageDesc )

◆ OCIO_exit()

void OCIO_exit ( void )

Definition at line 20 of file ocio_capi.cc.

References impl, and NULL.

Referenced by colormanagement_exit().

◆ OCIO_getCurrentConfig()

◆ OCIO_getVersionHex()

int OCIO_getVersionHex ( void )

Definition at line 348 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 343 of file ocio_capi.cc.

References IOCIOImpl::getVersionString(), and impl.

◆ OCIO_gpuCacheFree()

void OCIO_gpuCacheFree ( void )

Definition at line 338 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 float temperature,
const float tint,
const bool use_predivide,
const bool use_overlay,
const bool use_hdr,
const bool use_white_balance )

◆ OCIO_gpuDisplayShaderUnbind()

void OCIO_gpuDisplayShaderUnbind ( void )

Definition at line 333 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 11 of file ocio_capi.cc.

References impl.

Referenced by colormanagement_init().

◆ OCIO_lookGetProcessSpace()

const char * OCIO_lookGetProcessSpace ( OCIO_ConstLookRcPtr * look)

Definition at line 142 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 147 of file ocio_capi.cc.

References impl, and IOCIOImpl::lookRelease().

Referenced by colormanage_load_config().

◆ OCIO_PackedImageDescRelease()

void OCIO_PackedImageDescRelease ( struct OCIO_PackedImageDesc * p)

◆ OCIO_processorGetCPUProcessor()

◆ OCIO_processorRelease()

◆ OCIO_setCurrentConfig()

void OCIO_setCurrentConfig ( const OCIO_ConstConfigRcPtr * config)

Definition at line 39 of file ocio_capi.cc.

References impl, and IOCIOImpl::setCurrentConfig().

Referenced by colormanagement_init().

◆ OCIO_supportGPUShader()

bool OCIO_supportGPUShader ( void )

Definition at line 295 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().