Blender V4.3
ocio_impl.cc File Reference
#include <cassert>
#include <iostream>
#include <math.h>
#include <sstream>
#include <string.h>
#include <OpenColorIO/OpenColorIO.h>
#include "MEM_guardedalloc.h"
#include "BLI_math_color.h"
#include "BLI_math_color.hh"
#include "BLI_math_matrix.h"
#include "BLI_math_matrix.hh"
#include "ocio_impl.h"

Go to the source code of this file.

Macros

#define OCIO_abort()
 

Functions

static void OCIO_reportError (const char *err)
 
static void OCIO_reportException (Exception &exception)
 
static bool to_scene_linear_matrix (ConstConfigRcPtr &config, const char *colorspace, float to_scene_linear[3][3])
 
static float compare_floats (float a, float b, float abs_diff, int ulp_diff)
 

Macro Definition Documentation

◆ OCIO_abort

#define OCIO_abort ( )

Definition at line 32 of file ocio_impl.cc.

Referenced by OCIO_reportError().

Function Documentation

◆ compare_floats()

static float compare_floats ( float a,
float b,
float abs_diff,
int ulp_diff )
static

Definition at line 438 of file ocio_impl.cc.

References abs(), b, and fabsf.

◆ OCIO_reportError()

static void OCIO_reportError ( const char * err)
static

Definition at line 46 of file ocio_impl.cc.

References OCIO_abort.

Referenced by OCIO_reportException().

◆ OCIO_reportException()

static void OCIO_reportException ( Exception & exception)
static

Definition at line 53 of file ocio_impl.cc.

References OCIO_reportError().

Referenced by to_scene_linear_matrix().

◆ to_scene_linear_matrix()

static bool to_scene_linear_matrix ( ConstConfigRcPtr & config,
const char * colorspace,
float to_scene_linear[3][3] )
static

Definition at line 295 of file ocio_impl.cc.

References OCIO_reportException(), and unit_m3().