Blender  V3.3
Classes | Macros | Typedefs | Enumerations
DNA_color_types.h File Reference
#include "DNA_defs.h"
#include "DNA_vec_types.h"

Go to the source code of this file.

Classes

struct  CurveMapPoint
 
struct  CurveMap
 
struct  CurveMapping
 
struct  Histogram
 
struct  Scopes
 
struct  ColorManagedViewSettings
 
struct  ColorManagedDisplaySettings
 
struct  ColorManagedColorspaceSettings
 

Macros

#define CM_RESOL   32
 
#define CM_TABLE   256
 
#define CM_TABLEDIV   (1.0f / 256.0f)
 
#define CM_TOT   4
 

Typedefs

typedef struct CurveMapPoint CurveMapPoint
 
typedef struct CurveMap CurveMap
 
typedef struct CurveMapping CurveMapping
 
typedef enum eCurveMappingFlags eCurveMappingFlags
 
typedef enum eCurveMappingPreset eCurveMappingPreset
 
typedef enum eCurveMappingTone eCurveMappingTone
 
typedef struct Histogram Histogram
 
typedef struct Scopes Scopes
 
typedef struct ColorManagedViewSettings ColorManagedViewSettings
 
typedef struct ColorManagedDisplaySettings ColorManagedDisplaySettings
 
typedef struct ColorManagedColorspaceSettings ColorManagedColorspaceSettings
 

Enumerations

enum  { CUMA_SELECT = (1 << 0) , CUMA_HANDLE_VECTOR = (1 << 1) , CUMA_HANDLE_AUTO_ANIM = (1 << 2) }
 
enum  eCurveMappingFlags {
  CUMA_DO_CLIP = (1 << 0) , CUMA_PREMULLED = (1 << 1) , CUMA_DRAW_CFRA = (1 << 2) , CUMA_DRAW_SAMPLE = (1 << 3) ,
  CUMA_EXTEND_EXTRAPOLATE = (1 << 4)
}
 
enum  eCurveMappingPreset {
  CURVE_PRESET_LINE = 0 , CURVE_PRESET_SHARP = 1 , CURVE_PRESET_SMOOTH = 2 , CURVE_PRESET_MAX = 3 ,
  CURVE_PRESET_MID9 = 4 , CURVE_PRESET_ROUND = 5 , CURVE_PRESET_ROOT = 6 , CURVE_PRESET_GAUSS = 7 ,
  CURVE_PRESET_BELL = 8
}
 
enum  eCurveMappingTone { CURVE_TONE_STANDARD = 0 , CURVE_TONE_FILMLIKE = 2 }
 
enum  {
  HISTO_MODE_LUMA = 0 , HISTO_MODE_RGB = 1 , HISTO_MODE_R = 2 , HISTO_MODE_G = 3 ,
  HISTO_MODE_B = 4 , HISTO_MODE_ALPHA = 5
}
 
enum  { HISTO_FLAG_LINE = (1 << 0) , HISTO_FLAG_SAMPLELINE = (1 << 1) }
 
enum  {
  SCOPES_WAVEFRM_LUMA = 0 , SCOPES_WAVEFRM_RGB_PARADE = 1 , SCOPES_WAVEFRM_YCC_601 = 2 , SCOPES_WAVEFRM_YCC_709 = 3 ,
  SCOPES_WAVEFRM_YCC_JPEG = 4 , SCOPES_WAVEFRM_RGB = 5
}
 
enum  { COLORMANAGE_VIEW_USE_CURVES = (1 << 0) }
 

Macro Definition Documentation

◆ CM_RESOL

#define CM_RESOL   32

Definition at line 18 of file DNA_color_types.h.

◆ CM_TABLE

#define CM_TABLE   256

Definition at line 19 of file DNA_color_types.h.

◆ CM_TABLEDIV

#define CM_TABLEDIV   (1.0f / 256.0f)

Definition at line 20 of file DNA_color_types.h.

◆ CM_TOT

#define CM_TOT   4

Definition at line 22 of file DNA_color_types.h.

Typedef Documentation

◆ ColorManagedColorspaceSettings

◆ ColorManagedDisplaySettings

◆ ColorManagedViewSettings

◆ CurveMap

typedef struct CurveMap CurveMap

◆ CurveMapping

typedef struct CurveMapping CurveMapping

◆ CurveMapPoint

typedef struct CurveMapPoint CurveMapPoint

◆ eCurveMappingFlags

◆ eCurveMappingPreset

◆ eCurveMappingTone

◆ Histogram

typedef struct Histogram Histogram

◆ Scopes

typedef struct Scopes Scopes

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

CurveMapPoint.flag

Enumerator
CUMA_SELECT 
CUMA_HANDLE_VECTOR 
CUMA_HANDLE_AUTO_ANIM 

Definition at line 31 of file DNA_color_types.h.

◆ anonymous enum

anonymous enum

Histogram.mode

Enumerator
HISTO_MODE_LUMA 
HISTO_MODE_RGB 
HISTO_MODE_R 
HISTO_MODE_G 
HISTO_MODE_B 
HISTO_MODE_ALPHA 

Definition at line 113 of file DNA_color_types.h.

◆ anonymous enum

anonymous enum
Enumerator
HISTO_FLAG_LINE 
HISTO_FLAG_SAMPLELINE 

Definition at line 122 of file DNA_color_types.h.

◆ anonymous enum

anonymous enum

Scopes.wavefrm_mode

Enumerator
SCOPES_WAVEFRM_LUMA 
SCOPES_WAVEFRM_RGB_PARADE 
SCOPES_WAVEFRM_YCC_601 
SCOPES_WAVEFRM_YCC_709 
SCOPES_WAVEFRM_YCC_JPEG 
SCOPES_WAVEFRM_RGB 

Definition at line 166 of file DNA_color_types.h.

◆ anonymous enum

anonymous enum

ColorManagedViewSettings.flag

Enumerator
COLORMANAGE_VIEW_USE_CURVES 

Definition at line 202 of file DNA_color_types.h.

◆ eCurveMappingFlags

CurveMapping.flag

Enumerator
CUMA_DO_CLIP 
CUMA_PREMULLED 
CUMA_DRAW_CFRA 
CUMA_DRAW_SAMPLE 
CUMA_EXTEND_EXTRAPOLATE 

The curve is extended by extrapolation. When not set the curve is extended horizontally.

Definition at line 83 of file DNA_color_types.h.

◆ eCurveMappingPreset

CurveMapping.preset

Enumerator
CURVE_PRESET_LINE 
CURVE_PRESET_SHARP 
CURVE_PRESET_SMOOTH 
CURVE_PRESET_MAX 
CURVE_PRESET_MID9 
CURVE_PRESET_ROUND 
CURVE_PRESET_ROOT 
CURVE_PRESET_GAUSS 
CURVE_PRESET_BELL 

Definition at line 94 of file DNA_color_types.h.

◆ eCurveMappingTone

CurveMapping.tone

Enumerator
CURVE_TONE_STANDARD 
CURVE_TONE_FILMLIKE 

Definition at line 107 of file DNA_color_types.h.