![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "develop/imageop.h"#include "develop/imageop_math.h"#include "iop/highlights/blur.h"#include <string.h>
Include dependency graph for blur.c:Go to the source code of this file.
Functions | |
| dt_gaussian_t * | _hl_gauss_get (const int width, const int height, const int channels, const float sigma) |
| void | _hl_gauss_cache_flush (void) |
| dt_gaussian_cl_t * | _region_blur_handle (const int devid, const int region_w, const int region_h, const float sigma) |
| cl_int | _region_blur_cl (const int devid, cl_mem in, cl_mem out, const int region_w, const int region_h, const float sigma) |
Variables | |
| static __thread _hl_gauss_slot_t | _hl_gauss_cache [HL_GAUSS_SLOTS] = { { 0 } } |
| static __thread int | _hl_gauss_rr = 0 |
Definition at line 49 of file blur.c.
References _hl_gauss_cache, dt_gaussian_free(), gaussian(), HL_GAUSS_SLOTS, and i.
Referenced by _harmonic_reconstruct_cl(), _harmonic_reconstruct_host(), process_harmonic_bayer(), and process_harmonic_xtrans().
| dt_gaussian_t * _hl_gauss_get | ( | const int | width, |
| const int | height, | ||
| const int | channels, | ||
| const float | sigma | ||
| ) |
Definition at line 30 of file blur.c.
References _hl_gauss_cache, _hl_gauss_rr, _hl_gauss_slot_t::channels, dt_gaussian_free(), dt_gaussian_init(), gaussian(), _hl_gauss_slot_t::gaussian, height, _hl_gauss_slot_t::height, HL_GAUSS_SLOTS, i, sigma, _hl_gauss_slot_t::sigma, width, and _hl_gauss_slot_t::width.
Referenced by _knee_blur(), _knee_blur4(), and _region_blur().
| cl_int _region_blur_cl | ( | const int | devid, |
| cl_mem | in, | ||
| cl_mem | out, | ||
| const int | region_w, | ||
| const int | region_h, | ||
| const float | sigma | ||
| ) |
Definition at line 76 of file blur.c.
References _region_blur_handle(), dt_gaussian_blur_cl(), dt_gaussian_free_cl(), DT_OPENCL_DEFAULT_ERROR, gaussian(), out, and sigma.
Referenced by _cf_joint_stage_cl_selftest(), _cf_stage_cl(), _hf_stage_cl(), and _region_blur_cl_selftest().
| dt_gaussian_cl_t * _region_blur_handle | ( | const int | devid, |
| const int | region_w, | ||
| const int | region_h, | ||
| const float | sigma | ||
| ) |
Definition at line 69 of file blur.c.
References dt_gaussian_init_cl(), and sigma.
Referenced by _hl_knee_estimate_cl(), and _region_blur_cl().
|
static |
Definition at line 27 of file blur.c.
Referenced by _hl_gauss_cache_flush(), and _hl_gauss_get().
|
static |
Definition at line 28 of file blur.c.
Referenced by _hl_gauss_get().