![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "system/openmp.h"#include "system/simd.h"#include "pixel/gaussian.h"#include "develop/pixelpipe_hb.h"#include <glib.h>#include <math.h>#include <stdint.h>
Include dependency graph for src/iop/highlights/common.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | _hl_gauss_slot_t |
| struct | _hl_region_t |
| struct | _hl_knee_curve_t |
| struct | _hl_region_ctx_t |
| struct | dt_iop_highlights_params_t |
| struct | dt_iop_highlights_global_data_t |
Typedefs | |
| typedef struct _hl_knee_curve_t | _hl_knee_curve_t |
| typedef struct _hl_region_ctx_t | _hl_region_ctx_t |
| typedef enum dt_iop_highlights_mode_t | dt_iop_highlights_mode_t |
| typedef enum dt_atrous_wavelets_scales_t | dt_atrous_wavelets_scales_t |
| typedef struct dt_iop_highlights_params_t | dt_iop_highlights_params_t |
| typedef dt_iop_highlights_params_t | dt_iop_highlights_data_t |
| typedef struct dt_iop_highlights_global_data_t | dt_iop_highlights_global_data_t |
| typedef enum diffuse_reconstruct_variant_t | diffuse_reconstruct_variant_t |
Enumerations | |
| enum | dt_iop_highlights_mode_t { DT_IOP_HIGHLIGHTS_CLIP = 0 , DT_IOP_HIGHLIGHTS_LCH = 1 , DT_IOP_HIGHLIGHTS_INPAINT = 2 , DT_IOP_HIGHLIGHTS_LAPLACIAN = 3 , DT_IOP_HIGHLIGHTS_HARMONIC = 4 } |
| enum | dt_atrous_wavelets_scales_t { WAVELETS_1_SCALE = 0 , WAVELETS_2_SCALE = 1 , WAVELETS_3_SCALE = 2 , WAVELETS_4_SCALE = 3 , WAVELETS_5_SCALE = 4 , WAVELETS_6_SCALE = 5 , WAVELETS_7_SCALE = 6 , WAVELETS_8_SCALE = 7 , WAVELETS_9_SCALE = 8 , WAVELETS_10_SCALE = 9 , WAVELETS_11_SCALE = 10 , WAVELETS_12_SCALE = 11 } |
| enum | diffuse_reconstruct_variant_t { DIFFUSE_RECONSTRUCT_RGB = 0 , DIFFUSE_RECONSTRUCT_CHROMA } |
| enum | wavelets_scale_t { ANY_SCALE = 1 << 0 , FIRST_SCALE = 1 << 1 , LAST_SCALE = 1 << 2 } |
Functions | |
| static float | _hl_floor_gate (const float clips[4]) |
| static float | _hl_ring_flat_mean_vote (const float *const restrict estimate, const float *const restrict valid, const dt_aligned_pixel_t cmean, const size_t region_pixels) |
| static float | _hl_region_worth (const float region_benefit) |
| static float | _hl_floor_worth (const float chroma_gain) |
| #define CF_AUTHORED_RAMP 1.12f |
Definition at line 267 of file src/iop/highlights/common.h.
| #define CF_EDGE_GUIDE_SIGMA 3.f |
Definition at line 209 of file src/iop/highlights/common.h.
| #define CF_EDGE_RANGE 0.15f |
Definition at line 205 of file src/iop/highlights/common.h.
| #define CF_JOINT_TAU 0.10f |
Definition at line 214 of file src/iop/highlights/common.h.
| #define CF_REGION_HI 0.015f |
Definition at line 238 of file src/iop/highlights/common.h.
| #define CF_REGION_LO 0.005f |
Definition at line 237 of file src/iop/highlights/common.h.
| #define DS_FACTOR 4 |
Definition at line 690 of file src/iop/highlights/common.h.
| #define DT_HL_A3_COLLAR_PX 24.f |
Definition at line 269 of file src/iop/highlights/common.h.
| #define DT_HL_ANISO_CHROMA 1 |
Definition at line 299 of file src/iop/highlights/common.h.
| #define DT_HL_ANISO_SOLVER 2 |
Definition at line 389 of file src/iop/highlights/common.h.
| #define DT_HL_BAND_OVR 0.9f |
Definition at line 79 of file src/iop/highlights/common.h.
| #define DT_HL_BIHARMONIC 1 |
Definition at line 69 of file src/iop/highlights/common.h.
| #define DT_HL_CF_K 0.15f |
Definition at line 373 of file src/iop/highlights/common.h.
| #define DT_HL_CL_CPU_REGION_PX (1u << 20) |
Definition at line 401 of file src/iop/highlights/common.h.
| #define DT_HL_CL_REGION_FLOATS_PER_PX 65.f |
Definition at line 407 of file src/iop/highlights/common.h.
| #define DT_HL_CLIP_FLOOR 1 |
Definition at line 190 of file src/iop/highlights/common.h.
| #define DT_HL_COEFF_FIELD 1 |
Definition at line 336 of file src/iop/highlights/common.h.
| #define DT_HL_DOME_NMAX 2000 |
Definition at line 273 of file src/iop/highlights/common.h.
| #define DT_HL_DOME_NMAX_SPARSE 8192 |
Definition at line 277 of file src/iop/highlights/common.h.
| #define DT_HL_FILL_CL_MAXP 3 |
Definition at line 376 of file src/iop/highlights/common.h.
| #define DT_HL_FILL_MAXP 4 |
Definition at line 395 of file src/iop/highlights/common.h.
| #define DT_HL_GUIDE_GATE 2 |
Definition at line 183 of file src/iop/highlights/common.h.
| #define DT_HL_HF_GUIDE 1 |
Definition at line 345 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE 1 |
Definition at line 311 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_BINS 24 |
Definition at line 411 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_DET 0.995f |
Definition at line 410 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_ENGAGE 0.005f |
Definition at line 416 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_FMIN 0.02f |
Definition at line 412 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_LO 0.80f |
Definition at line 409 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_MINVOTES 100 |
Definition at line 414 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_NSIGMA 2.0f |
Definition at line 415 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_NSIGMAS 5 |
Definition at line 417 of file src/iop/highlights/common.h.
| #define DT_HL_KNEE_R2MIN 0.25f |
Definition at line 413 of file src/iop/highlights/common.h.
| #define DT_HL_MIN_CLIPPED_PIXELS 25 |
Definition at line 271 of file src/iop/highlights/common.h.
| #define DT_HL_PAIR_VARIANCE 1 |
Definition at line 182 of file src/iop/highlights/common.h.
| #define DT_HL_SELF_DOME 1 |
Definition at line 293 of file src/iop/highlights/common.h.
| #define DT_HL_SPARSE_MAX (1 << 14) |
Definition at line 386 of file src/iop/highlights/common.h.
| #define DT_HL_SPARSE_SOLVE 1 |
Definition at line 381 of file src/iop/highlights/common.h.
| #define HL_GAUSS_SLOTS 4 |
Definition at line 170 of file src/iop/highlights/common.h.
| #define HL_PFOR | ( | ... | ) | __OMP_PARALLEL_FOR__(__VA_ARGS__) |
Definition at line 81 of file src/iop/highlights/common.h.
| #define MAX_NUM_SCALES 12 |
Definition at line 688 of file src/iop/highlights/common.h.
| #define REDUCESIZE 64 |
Definition at line 689 of file src/iop/highlights/common.h.
| #define SQRT12 3.4641016151377545870548926830117447339L |
Definition at line 692 of file src/iop/highlights/common.h.
| #define SQRT3 1.7320508075688772935274463415058723669L |
Definition at line 691 of file src/iop/highlights/common.h.
| typedef struct _hl_knee_curve_t _hl_knee_curve_t |
| typedef struct _hl_region_ctx_t _hl_region_ctx_t |
| typedef enum dt_atrous_wavelets_scales_t dt_atrous_wavelets_scales_t |
Definition at line 539 of file src/iop/highlights/common.h.
| typedef struct dt_iop_highlights_global_data_t dt_iop_highlights_global_data_t |
| typedef enum dt_iop_highlights_mode_t dt_iop_highlights_mode_t |
| typedef struct dt_iop_highlights_params_t dt_iop_highlights_params_t |
| Enumerator | |
|---|---|
| DIFFUSE_RECONSTRUCT_RGB | |
| DIFFUSE_RECONSTRUCT_CHROMA | |
Definition at line 693 of file src/iop/highlights/common.h.
Definition at line 503 of file src/iop/highlights/common.h.
| Enumerator | |
|---|---|
| DT_IOP_HIGHLIGHTS_CLIP | |
| DT_IOP_HIGHLIGHTS_LCH | |
| DT_IOP_HIGHLIGHTS_INPAINT | |
| DT_IOP_HIGHLIGHTS_LAPLACIAN | |
| DT_IOP_HIGHLIGHTS_HARMONIC | |
Definition at line 494 of file src/iop/highlights/common.h.
| enum wavelets_scale_t |
| Enumerator | |
|---|---|
| ANY_SCALE | |
| FIRST_SCALE | |
| LAST_SCALE | |
Definition at line 698 of file src/iop/highlights/common.h.
|
inlinestatic |
Definition at line 96 of file src/iop/highlights/common.h.
References t.
Referenced by _harmonic_reconstruct_cl(), and _harmonic_reconstruct_regions().
|
inlinestatic |
Definition at line 257 of file src/iop/highlights/common.h.
References CF_JOINT_TAU, and t.
Referenced by _cf_reconstruct(), and _selfdome().
|
inlinestatic |
Definition at line 240 of file src/iop/highlights/common.h.
References CF_REGION_HI, CF_REGION_LO, and t.
Referenced by _cf_reconstruct().
|
inlinestatic |
Definition at line 118 of file src/iop/highlights/common.h.
References double(), i, and t.
Referenced by _joint_core(), and _selfdome().