![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"#include "common/gaussian.h"#include "common/opencl.h"#include "iop/highlights/common.h"
Include dependency graph for blur.h:
This graph shows which files directly or indirectly include this file: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) |
| static void | _region_blur (const float *const restrict in, float *const restrict out, const int region_w, const int region_h, const float sigma) |
| 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) |
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().
|
inlinestatic |
Definition at line 34 of file blur.h.
References _hl_gauss_get(), dt_gaussian_blur_4c(), gaussian(), out, and sigma.
Referenced by _cf_joint_stage_cl_selftest(), _cf_reconstruct(), _cf_stage_cl_selftest(), _hf_stage_cl_selftest(), and _region_blur_cl_selftest().
| 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().