![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Include dependency graph for gaussian.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_gaussian_t |
| struct | dt_gaussian_cl_global_t |
| struct | dt_gaussian_cl_t |
Typedefs | |
| typedef enum dt_gaussian_order_t | dt_gaussian_order_t |
| typedef struct dt_gaussian_t | dt_gaussian_t |
| typedef struct dt_gaussian_cl_global_t | dt_gaussian_cl_global_t |
| typedef struct dt_gaussian_cl_t | dt_gaussian_cl_t |
Enumerations | |
| enum | dt_gaussian_order_t { DT_IOP_GAUSSIAN_ZERO = 0 , DT_IOP_GAUSSIAN_ONE = 1 , DT_IOP_GAUSSIAN_TWO = 2 } |
Functions | |
| dt_gaussian_t * | dt_gaussian_init (const int width, const int height, const int channels, const float *max, const float *min, const float sigma, const int order) |
| size_t | dt_gaussian_memory_use (const int width, const int height, const int channels) |
| size_t | dt_gaussian_memory_use_cl (const int width, const int height, const int channels) |
| size_t | dt_gaussian_singlebuffer_size (const int width, const int height, const int channels) |
| void | dt_gaussian_blur (dt_gaussian_t *g, const float *const in, float *const out) |
| void | dt_gaussian_blur_4c (dt_gaussian_t *g, const float *const in, float *const out) |
| void | dt_gaussian_free (dt_gaussian_t *g) |
| dt_gaussian_cl_global_t * | dt_gaussian_init_cl_global (void) |
| void | dt_gaussian_free_cl_global (dt_gaussian_cl_global_t *g) |
| dt_gaussian_cl_t * | dt_gaussian_init_cl (const int devid, const int width, const int height, const int channels, const float *max, const float *min, const float sigma, const int order) |
| cl_int | dt_gaussian_blur_cl (dt_gaussian_cl_t *g, cl_mem dev_in, cl_mem dev_out) |
| void | dt_gaussian_free_cl (dt_gaussian_cl_t *g) |
| typedef struct dt_gaussian_cl_global_t dt_gaussian_cl_global_t |
| typedef struct dt_gaussian_cl_t dt_gaussian_cl_t |
| typedef enum dt_gaussian_order_t dt_gaussian_order_t |
| typedef struct dt_gaussian_t dt_gaussian_t |
| enum dt_gaussian_order_t |
| void dt_gaussian_blur | ( | dt_gaussian_t * | g, |
| const float *const | in, | ||
| float *const | out | ||
| ) |
References __OMP_PARALLEL_FOR__, ch, CLAMPF, g, height, i, k, MIN, out, and width.
Referenced by dt_develop_blend_process(), dt_gaussian_blur_4c(), eigf_variance_analysis_no_mask(), process(), and process_common_cleanup().
| void dt_gaussian_blur_4c | ( | dt_gaussian_t * | g, |
| const float *const | in, | ||
| float *const | out | ||
| ) |
References dt_gaussian_blur(), g, and out.
Referenced by _retouch_blur(), eigf_variance_analysis(), get_manifolds(), process(), process(), and reduce_artifacts().
| cl_int dt_gaussian_blur_cl | ( | dt_gaussian_cl_t * | g, |
| cl_mem | dev_in, | ||
| cl_mem | dev_out | ||
| ) |
References bpp, dt_opencl_enqueue_copy_buffer_to_image(), dt_opencl_enqueue_copy_image_to_buffer(), dt_opencl_enqueue_kernel_2d(), dt_opencl_enqueue_kernel_2d_with_local(), dt_opencl_set_kernel_arg(), g, height, k, MIN, ROUNDUPDHT, ROUNDUPDWD, and width.
Referenced by _retouch_blur_cl(), dt_develop_blend_process_cl(), and process_cl().
| void dt_gaussian_free | ( | dt_gaussian_t * | g | ) |
References dt_free, dt_pixelpipe_cache_free_align, g, and IS_NULL_PTR.
Referenced by _retouch_blur(), dt_develop_blend_process(), eigf_variance_analysis(), eigf_variance_analysis_no_mask(), get_manifolds(), process(), process(), process(), process_common_cleanup(), and reduce_artifacts().
| void dt_gaussian_free_cl | ( | dt_gaussian_cl_t * | g | ) |
References dt_free, dt_opencl_release_mem_object(), g, and IS_NULL_PTR.
Referenced by _retouch_blur_cl(), dt_develop_blend_process_cl(), and process_cl().
| void dt_gaussian_free_cl_global | ( | dt_gaussian_cl_global_t * | g | ) |
References dt_free, dt_opencl_free_kernel(), g, and IS_NULL_PTR.
Referenced by dt_opencl_cleanup().
| dt_gaussian_t * dt_gaussian_init | ( | const int | width, |
| const int | height, | ||
| const int | channels, | ||
| const float * | max, | ||
| const float * | min, | ||
| const float | sigma, | ||
| const int | order | ||
| ) |
References dt_free, dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, error(), g, height, IS_NULL_PTR, k, max, min, sigma, width, and dt_gaussian_t::width.
Referenced by _retouch_blur(), dt_develop_blend_process(), eigf_variance_analysis(), eigf_variance_analysis_no_mask(), get_manifolds(), process(), process(), process(), process_common_cleanup(), and reduce_artifacts().
| dt_gaussian_cl_t * dt_gaussian_init_cl | ( | const int | devid, |
| const int | width, | ||
| const int | height, | ||
| const int | channels, | ||
| const float * | max, | ||
| const float * | min, | ||
| const float | sigma, | ||
| const int | order | ||
| ) |
References BLOCKSIZE, darktable, dt_free, dt_opencl_alloc_device_buffer(), dt_opencl_local_buffer_opt(), dt_opencl_release_mem_object(), error(), g, dt_opencl_t::gaussian, dt_gaussian_cl_t::global, height, IS_NULL_PTR, k, dt_gaussian_cl_global_t::kernel_gaussian_transpose_1c, max, MIN, min, darktable_t::opencl, ROUNDUP, sigma, dt_opencl_local_buffer_t::sizex, dt_opencl_local_buffer_t::sizey, width, and dt_opencl_local_buffer_t::xoffset.
Referenced by _retouch_blur_cl(), dt_develop_blend_process_cl(), and process_cl().
| dt_gaussian_cl_global_t * dt_gaussian_init_cl_global | ( | void | ) |
References dt_opencl_create_kernel(), g, and dt_gaussian_cl_global_t::kernel_gaussian_column_1c.
Referenced by dt_opencl_init().
| size_t dt_gaussian_memory_use | ( | const int | width, |
| const int | height, | ||
| const int | channels | ||
| ) |
Referenced by tiling_callback().
| size_t dt_gaussian_memory_use_cl | ( | const int | width, |
| const int | height, | ||
| const int | channels | ||
| ) |
References BLOCKSIZE, height, and width.
Referenced by tiling_callback().
| size_t dt_gaussian_singlebuffer_size | ( | const int | width, |
| const int | height, | ||
| const int | channels | ||
| ) |
References BLOCKSIZE, height, and width.
Referenced by tiling_callback().