![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"#include "develop/imageop_math.h"#include "iop/highlights/lch.h"#include <math.h>#include <string.h>
Include dependency graph for lch.c:Go to the source code of this file.
Functions | |
| static float | interp_pix_xtrans (const int ratio_next, const ssize_t offset_next, const float clip0, const float clip_next, const float *const in, const float *const ratios) |
| void | interpolate_color_xtrans (const void *const ivoid, void *const ovoid, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out, int dim, int dir, int other, const float *const clip, const uint8_t(*const xtrans)[6], const int pass) |
| void | interpolate_color (const void *const ivoid, void *const ovoid, const dt_iop_roi_t *const roi_out, int dim, int dir, int other, const float *clip, const uint32_t filters, const int pass) |
| __DT_CLONE_TARGETS__ void | process_lch_bayer (dt_iop_module_t *self, const dt_dev_pixelpipe_iop_t *piece, const void *const ivoid, void *const ovoid, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out, const float clip) |
| __DT_CLONE_TARGETS__ void | process_lch_xtrans (dt_iop_module_t *self, const dt_dev_pixelpipe_iop_t *piece, const void *const ivoid, void *const ovoid, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out, const float clip) |
|
inlinestatic |
Definition at line 63 of file lch.c.
Referenced by interpolate_color_xtrans().
| void interpolate_color | ( | const void *const | ivoid, |
| void *const | ovoid, | ||
| const dt_iop_roi_t *const | roi_out, | ||
| int | dim, | ||
| int | dir, | ||
| int | other, | ||
| const float * | clip, | ||
| const uint32_t | filters, | ||
| const int | pass | ||
| ) |
Definition at line 203 of file lch.c.
References FC(), dt_iop_roi_t::height, i, k, out, ovoid, and dt_iop_roi_t::width.
Referenced by process().
| void interpolate_color_xtrans | ( | const void *const | ivoid, |
| void *const | ovoid, | ||
| const dt_iop_roi_t *const | roi_in, | ||
| const dt_iop_roi_t *const | roi_out, | ||
| int | dim, | ||
| int | dir, | ||
| int | other, | ||
| const float *const | clip, | ||
| const uint8_t(*) | xtrans[6], | ||
| const int | pass | ||
| ) |
Definition at line 87 of file lch.c.
References FCxtrans(), dt_iop_roi_t::height, i, interp_pix_xtrans(), k, out, ovoid, r, and dt_iop_roi_t::width.
Referenced by process().
| __DT_CLONE_TARGETS__ void process_lch_bayer | ( | dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| const void *const | ivoid, | ||
| void *const | ovoid, | ||
| const dt_iop_roi_t *const | roi_in, | ||
| const dt_iop_roi_t *const | roi_out, | ||
| const float | clip | ||
| ) |
Definition at line 313 of file lch.c.
References __OMP_PARALLEL_FOR__, B, C, dt_dev_pixelpipe_iop_t::dsc_in, FC(), dt_iop_buffer_dsc_t::filters, H, dt_iop_roi_t::height, i, L, MAX, MIN, out, ovoid, R, RGB, SQRT12, SQRT3, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by process().
| __DT_CLONE_TARGETS__ void process_lch_xtrans | ( | dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| const void *const | ivoid, | ||
| void *const | ovoid, | ||
| const dt_iop_roi_t *const | roi_in, | ||
| const dt_iop_roi_t *const | roi_out, | ||
| const float | clip | ||
| ) |
Definition at line 410 of file lch.c.
References __OMP_PARALLEL_FOR__, B, C, dt_dev_pixelpipe_iop_t::dsc_in, FCxtrans(), H, height, dt_iop_roi_t::height, i, L, MAX, MIN, out, ovoid, R, RGB, SQRT12, SQRT3, dt_iop_roi_t::width, and dt_iop_buffer_dsc_t::xtrans.
Referenced by process().