Blender V4.3
IMB_colormanagement_intern.hh File Reference
#include "BLI_sys_types.h"
#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  ColorSpace
 
struct  ColorManagedDisplay
 
struct  ColorManagedView
 
struct  ColorManagedLook
 

Macros

#define MAX_COLORSPACE_NAME   64
 
#define MAX_COLORSPACE_DESCRIPTION   512
 

Typedefs

typedef struct OCIO_ConstCPUProcessorRc * OCIO_ConstCPUProcessorRcPtr
 

Functions

void colormanagement_init ()
 
void colormanagement_exit ()
 
void colormanage_cache_free (ImBuf *ibuf)
 
const char * colormanage_display_get_default_name ()
 
ColorManagedDisplaycolormanage_display_get_default ()
 
ColorManagedDisplaycolormanage_display_add (const char *name)
 
ColorManagedDisplaycolormanage_display_get_named (const char *name)
 
ColorManagedDisplaycolormanage_display_get_indexed (int index)
 
const char * colormanage_view_get_default_name (const ColorManagedDisplay *display)
 
ColorManagedViewcolormanage_view_get_default (const ColorManagedDisplay *display)
 
ColorManagedViewcolormanage_view_add (const char *name)
 
ColorManagedViewcolormanage_view_get_indexed (int index)
 
ColorManagedViewcolormanage_view_get_named (const char *name)
 
ColorManagedViewcolormanage_view_get_named_for_display (const char *display_name, const char *name)
 
ColorSpacecolormanage_colorspace_add (const char *name, const char *description, bool is_invertible, bool is_data)
 
ColorSpacecolormanage_colorspace_get_named (const char *name)
 
ColorSpacecolormanage_colorspace_get_roled (int role)
 
ColorSpacecolormanage_colorspace_get_indexed (int index)
 
ColorManagedLookcolormanage_look_add (const char *name, const char *process_space, bool is_noop)
 
ColorManagedLookcolormanage_look_get_named (const char *name)
 
ColorManagedLookcolormanage_look_get_indexed (int index)
 
void colorspace_set_default_role (char *colorspace, int size, int role)
 
void colormanage_imbuf_set_default_spaces (ImBuf *ibuf)
 
void colormanage_imbuf_make_linear (ImBuf *ibuf, const char *from_colorspace)
 

Variables

float imbuf_luma_coefficients [3]
 
float imbuf_scene_linear_to_xyz [3][3]
 
float imbuf_xyz_to_scene_linear [3][3]
 
float imbuf_scene_linear_to_aces [3][3]
 
float imbuf_aces_to_scene_linear [3][3]
 
float imbuf_scene_linear_to_rec709 [3][3]
 
float imbuf_rec709_to_scene_linear [3][3]
 

Macro Definition Documentation

◆ MAX_COLORSPACE_DESCRIPTION

#define MAX_COLORSPACE_DESCRIPTION   512

Definition at line 27 of file IMB_colormanagement_intern.hh.

◆ MAX_COLORSPACE_NAME

#define MAX_COLORSPACE_NAME   64

Typedef Documentation

◆ OCIO_ConstCPUProcessorRcPtr

typedef struct OCIO_ConstCPUProcessorRc* OCIO_ConstCPUProcessorRcPtr

Definition at line 16 of file IMB_colormanagement_intern.hh.

Function Documentation

◆ colormanage_cache_free()

◆ colormanage_colorspace_add()

◆ colormanage_colorspace_get_indexed()

ColorSpace * colormanage_colorspace_get_indexed ( int index)

◆ colormanage_colorspace_get_named()

◆ colormanage_colorspace_get_roled()

ColorSpace * colormanage_colorspace_get_roled ( int role)

◆ colormanage_display_add()

ColorManagedDisplay * colormanage_display_add ( const char * name)

◆ colormanage_display_get_default()

◆ colormanage_display_get_default_name()

const char * colormanage_display_get_default_name ( )

◆ colormanage_display_get_indexed()

ColorManagedDisplay * colormanage_display_get_indexed ( int index)

Definition at line 3073 of file colormanagement.cc.

References BLI_findlink(), and global_displays.

Referenced by IMB_colormanagement_display_get_indexed_name().

◆ colormanage_display_get_named()

◆ colormanage_imbuf_make_linear()

◆ colormanage_imbuf_set_default_spaces()

void colormanage_imbuf_set_default_spaces ( ImBuf * ibuf)

◆ colormanage_look_add()

◆ colormanage_look_get_indexed()

ColorManagedLook * colormanage_look_get_indexed ( int index)

Definition at line 3465 of file colormanagement.cc.

References BLI_findlink(), and global_looks.

Referenced by IMB_colormanagement_look_get_indexed_name().

◆ colormanage_look_get_named()

◆ colormanage_view_add()

ColorManagedView * colormanage_view_add ( const char * name)

Definition at line 3159 of file colormanagement.cc.

References BLI_addtail(), global_tot_view, global_views, STRNCPY, and view.

Referenced by colormanage_load_config().

◆ colormanage_view_get_default()

◆ colormanage_view_get_default_name()

◆ colormanage_view_get_indexed()

ColorManagedView * colormanage_view_get_indexed ( int index)

Definition at line 3186 of file colormanagement.cc.

References BLI_findlink(), and global_views.

Referenced by IMB_colormanagement_view_get_indexed_name().

◆ colormanage_view_get_named()

◆ colormanage_view_get_named_for_display()

ColorManagedView * colormanage_view_get_named_for_display ( const char * display_name,
const char * name )

◆ colormanagement_exit()

◆ colormanagement_init()

◆ colorspace_set_default_role()

Variable Documentation

◆ imbuf_aces_to_scene_linear

float imbuf_aces_to_scene_linear[3][3]
extern

◆ imbuf_luma_coefficients

◆ imbuf_rec709_to_scene_linear

float imbuf_rec709_to_scene_linear[3][3]
extern

◆ imbuf_scene_linear_to_aces

float imbuf_scene_linear_to_aces[3][3]
extern

◆ imbuf_scene_linear_to_rec709

float imbuf_scene_linear_to_rec709[3][3]
extern

◆ imbuf_scene_linear_to_xyz

float imbuf_scene_linear_to_xyz[3][3]
extern

◆ imbuf_xyz_to_scene_linear

float imbuf_xyz_to_scene_linear[3][3]
extern