![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Private drawlayer module types and lightweight shared helpers. More...
Include dependency graph for iop/drawlayer/module.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_iop_drawlayer_data_t |
Macros | |
| #define | DRAWLAYER_WORKER_RING_CAPACITY 65536 |
| #define | DRAWLAYER_COMPARE_ANALYTIC_TIMINGS 1 |
Typedefs | |
| typedef enum drawlayer_mapping_profile_t | drawlayer_mapping_profile_t |
| typedef enum drawlayer_input_map_flag_t | drawlayer_input_map_flag_t |
| typedef enum drawlayer_preview_bg_mode_t | drawlayer_preview_bg_mode_t |
| typedef enum drawlayer_pick_source_t | drawlayer_pick_source_t |
| typedef dt_drawlayer_cache_patch_t | drawlayer_patch_t |
| typedef struct dt_iop_drawlayer_data_t | dt_iop_drawlayer_data_t |
Functions | |
| static float | _clamp01 (const float value) |
| static float | _mapping_profile_value (const drawlayer_mapping_profile_t profile, const float x) |
Private drawlayer module types and lightweight shared helpers.
Definition in file iop/drawlayer/module.h.
| #define DRAWLAYER_COMPARE_ANALYTIC_TIMINGS 1 |
Definition at line 12 of file iop/drawlayer/module.h.
| #define DRAWLAYER_WORKER_RING_CAPACITY 65536 |
Definition at line 11 of file iop/drawlayer/module.h.
| typedef enum drawlayer_input_map_flag_t drawlayer_input_map_flag_t |
| typedef enum drawlayer_mapping_profile_t drawlayer_mapping_profile_t |
Definition at line 54 of file iop/drawlayer/module.h.
| typedef enum drawlayer_pick_source_t drawlayer_pick_source_t |
| typedef enum drawlayer_preview_bg_mode_t drawlayer_preview_bg_mode_t |
| typedef struct dt_iop_drawlayer_data_t dt_iop_drawlayer_data_t |
Definition at line 24 of file iop/drawlayer/module.h.
| Enumerator | |
|---|---|
| DRAWLAYER_PROFILE_LINEAR | |
| DRAWLAYER_PROFILE_QUADRATIC | |
| DRAWLAYER_PROFILE_SQRT | |
| DRAWLAYER_PROFILE_INV_LINEAR | |
| DRAWLAYER_PROFILE_INV_SQRT | |
| DRAWLAYER_PROFILE_INV_QUADRATIC | |
Definition at line 14 of file iop/drawlayer/module.h.
| Enumerator | |
|---|---|
| DRAWLAYER_PICK_SOURCE_INPUT | |
| DRAWLAYER_PICK_SOURCE_OUTPUT | |
Definition at line 48 of file iop/drawlayer/module.h.
| Enumerator | |
|---|---|
| DRAWLAYER_PREVIEW_BG_IMAGE | |
| DRAWLAYER_PREVIEW_BG_WHITE | |
| DRAWLAYER_PREVIEW_BG_GREY | |
| DRAWLAYER_PREVIEW_BG_BLACK | |
Definition at line 40 of file iop/drawlayer/module.h.
|
inlinestatic |
Definition at line 72 of file iop/drawlayer/module.h.
References value.
Referenced by _mapping_profile_value().
|
inlinestatic |
Definition at line 77 of file iop/drawlayer/module.h.
References _clamp01(), DRAWLAYER_PROFILE_INV_LINEAR, DRAWLAYER_PROFILE_INV_QUADRATIC, DRAWLAYER_PROFILE_INV_SQRT, DRAWLAYER_PROFILE_LINEAR, DRAWLAYER_PROFILE_QUADRATIC, DRAWLAYER_PROFILE_SQRT, v, and x.
Referenced by _compute_hud_brush_state(), and dt_drawlayer_build_worker_input_dab().