![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "iop/highlights/blur.h"#include "iop/highlights/chroma.h"#include "iop/highlights/pde.h"#include <string.h>
Include dependency graph for chroma.c:Go to the source code of this file.
Functions | |
| __DT_CLONE_TARGETS__ void | _aniso_tensor (const float *const restrict luminance, float *const restrict tensor_xx, float *const restrict tensor_xy, float *const restrict tensor_yy, float *const restrict scratch, const int region_w, const int region_h) |
| __DT_CLONE_TARGETS__ void | _aniso_iterate_obs (float *const restrict field, const float *const restrict obstacle, const uint8_t *const restrict hole, const float *const restrict tensor_xx, const float *const restrict tensor_xy, const float *const restrict tensor_yy, float *const restrict tmp, const int region_w, const int region_h, const int iters, const int box_x_lo, const int box_y_lo, const int box_x_hi, const int box_y_hi) |
| int | _aniso_div_solve (float *const restrict ratios, const float *const restrict valid, const float *const restrict luminance, float *const restrict scratch_planes, const int region_w, const int region_h, const dt_dev_pixelpipe_t *pipe) |
| __DT_CLONE_TARGETS__ void | _aniso_chroma (_hl_region_ctx_t *const ctx) |
| __DT_CLONE_TARGETS__ void _aniso_chroma | ( | _hl_region_ctx_t *const | ctx | ) |
Definition at line 322 of file chroma.c.
References __OMP_PARALLEL_FOR__, _aniso_div_solve(), _aniso_iterate_obs(), _aniso_tensor(), _hl_region_ctx_t::blur_in, _hl_region_ctx_t::clip0, delta, dt_pixelpipe_cache_alloc_align, dt_pixelpipe_cache_alloc_align_float, dt_pixelpipe_cache_free_align, _hl_region_ctx_t::epsilon, _hl_region_ctx_t::estimate, _hl_region_ctx_t::flat_target, HL_PFOR, _hl_region_ctx_t::hole, i, _hl_region_ctx_t::lum_accum, MAX, MIN, _hl_region_ctx_t::pipe, _hl_region_ctx_t::plane1, _hl_region_ctx_t::prev_scale, _hl_region_t::radius, _hl_region_ctx_t::reaction_weight, _hl_region_ctx_t::region, _hl_region_ctx_t::region_h, _hl_region_ctx_t::region_pixels, _hl_region_ctx_t::region_w, _hl_region_ctx_t::solver_field, _hl_region_ctx_t::valid, value, weight(), and x.
Referenced by _region_guided_filter().
| int _aniso_div_solve | ( | float *const restrict | ratios, |
| const float *const restrict | valid, | ||
| const float *const restrict | luminance, | ||
| float *const restrict | scratch_planes, | ||
| const int | region_w, | ||
| const int | region_h, | ||
| const dt_dev_pixelpipe_t * | pipe | ||
| ) |
Definition at line 155 of file chroma.c.
References _aniso_edge_w(), _aniso_tensor(), _sp_chol_factor(), _sp_chol_free(), _sp_chol_solve(), _sp_nd_order(), double(), DT_HL_SPARSE_MAX, dt_pixelpipe_cache_alloc_align, dt_pixelpipe_cache_free_align, factor, i, luminance, permutation, and weight().
Referenced by _aniso_chroma(), and _aniso_stage_cl_selftest().
| __DT_CLONE_TARGETS__ void _aniso_iterate_obs | ( | float *const restrict | field, |
| const float *const restrict | obstacle, | ||
| const uint8_t *const restrict | hole, | ||
| const float *const restrict | tensor_xx, | ||
| const float *const restrict | tensor_xy, | ||
| const float *const restrict | tensor_yy, | ||
| float *const restrict | tmp, | ||
| const int | region_w, | ||
| const int | region_h, | ||
| const int | iters, | ||
| const int | box_x_lo, | ||
| const int | box_y_lo, | ||
| const int | box_x_hi, | ||
| const int | box_y_hi | ||
| ) |
Definition at line 102 of file chroma.c.
References __OMP_PARALLEL_FOR__, i, MAX, MIN, and x.
Referenced by _aniso_chroma(), and _aniso_stage_cl_selftest().
| __DT_CLONE_TARGETS__ void _aniso_tensor | ( | const float *const restrict | luminance, |
| float *const restrict | tensor_xx, | ||
| float *const restrict | tensor_xy, | ||
| float *const restrict | tensor_yy, | ||
| float *const restrict | scratch, | ||
| const int | region_w, | ||
| const int | region_h | ||
| ) |
Definition at line 31 of file chroma.c.
References __OMP_PARALLEL_FOR__, i, luminance, MAX, MIN, and x.
Referenced by _aniso_chroma(), _aniso_div_solve(), and _aniso_stage_cl_selftest().