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

Typedefs

using double4x4
using float3
using float3x3

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().

Typedef Documentation

◆ double4x4

Definition at line 1027 of file BLI_math_matrix_types.hh.

◆ float3

Definition at line 612 of file BLI_math_vector_types.hh.

◆ float3x3

Definition at line 1008 of file BLI_math_matrix_types.hh.

Function Documentation

◆ compare_floats()

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

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

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

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().