11#define DRAWLAYER_WORKER_RING_CAPACITY 65536
12#define DRAWLAYER_COMPARE_ANALYTIC_TIMINGS 1
74 return fminf(fmaxf(
value, 0.0f), 1.0f);
85 return 1.f + sqrtf(
v);
87 return 1.0f / (1.f +
v);
89 return 1.0f / (1.f + sqrtf(
v));
91 return 1.0f / (1.f +
v *
v);
static const dt_aligned_pixel_simd_t value
static float _mapping_profile_value(const drawlayer_mapping_profile_t profile, const float x)
static float _clamp01(const float value)
drawlayer_input_map_flag_t
@ DRAWLAYER_INPUT_MAP_ACCEL_SIZE
@ DRAWLAYER_INPUT_MAP_ACCEL_FLOW
@ DRAWLAYER_INPUT_MAP_PRESSURE_SOFTNESS
@ DRAWLAYER_INPUT_MAP_TILT_SOFTNESS
@ DRAWLAYER_INPUT_MAP_TILT_OPACITY
@ DRAWLAYER_INPUT_MAP_PRESSURE_OPACITY
@ DRAWLAYER_INPUT_MAP_TILT_FLOW
@ DRAWLAYER_INPUT_MAP_ACCEL_OPACITY
@ DRAWLAYER_INPUT_MAP_TILT_SIZE
@ DRAWLAYER_INPUT_MAP_PRESSURE_FLOW
@ DRAWLAYER_INPUT_MAP_ACCEL_SOFTNESS
@ DRAWLAYER_INPUT_MAP_PRESSURE_SIZE
dt_drawlayer_cache_patch_t drawlayer_patch_t
drawlayer_mapping_profile_t
@ DRAWLAYER_PROFILE_INV_QUADRATIC
@ DRAWLAYER_PROFILE_INV_SQRT
@ DRAWLAYER_PROFILE_QUADRATIC
@ DRAWLAYER_PROFILE_LINEAR
@ DRAWLAYER_PROFILE_INV_LINEAR
drawlayer_preview_bg_mode_t
@ DRAWLAYER_PREVIEW_BG_WHITE
@ DRAWLAYER_PREVIEW_BG_IMAGE
@ DRAWLAYER_PREVIEW_BG_BLACK
@ DRAWLAYER_PREVIEW_BG_GREY
@ DRAWLAYER_PICK_SOURCE_INPUT
@ DRAWLAYER_PICK_SOURCE_OUTPUT
Private runtime state/helpers shared by drawlayer module entrypoints.
Generic float RGBA patch stored either in malloc memory or pixel cache.
dt_drawlayer_process_state_t * runtime_process
dt_drawlayer_process_state_t process
dt_drawlayer_runtime_manager_t headless_manager
dt_iop_drawlayer_params_t params
dt_drawlayer_runtime_manager_t * runtime_manager
gboolean runtime_display_pipe