![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Include dependency graph for locallaplaciancl.c:Macros | |
| #define | max_levels 30 |
| #define | num_gamma 6 |
Functions | |
| static uint64_t | dl (uint64_t size, const int level) |
| dt_local_laplacian_cl_global_t * | dt_local_laplacian_init_cl_global () |
| void | dt_local_laplacian_free_cl (dt_local_laplacian_cl_t *g) |
| dt_local_laplacian_cl_t * | dt_local_laplacian_init_cl (const int devid, const int width, const int height, const float sigma, const float shadows, const float highlights, const float clarity) |
| cl_int | dt_local_laplacian_cl (dt_local_laplacian_cl_t *b, cl_mem input, cl_mem output) |
| #define max_levels 30 |
| #define num_gamma 6 |
References size.
Referenced by dt_local_laplacian_cl(), and dt_local_laplacian_init_cl().
| cl_int dt_local_laplacian_cl | ( | dt_local_laplacian_cl_t * | b, |
| cl_mem | input, | ||
| cl_mem | output | ||
| ) |
References dl(), dt_opencl_enqueue_kernel_2d(), dt_opencl_set_kernel_arg(), error(), g, k, num_gamma, ROUNDUPDHT, and ROUNDUPDWD.
Referenced by process_cl().
| void dt_local_laplacian_free_cl | ( | dt_local_laplacian_cl_t * | g | ) |
References dt_free, dt_opencl_release_mem_object(), g, IS_NULL_PTR, k, max_levels, and num_gamma.
Referenced by dt_local_laplacian_init_cl(), and process_cl().
| dt_local_laplacian_cl_t * dt_local_laplacian_init_cl | ( | const int | devid, |
| const int | width, | ||
| const int | height, | ||
| const float | sigma, | ||
| const float | shadows, | ||
| const float | highlights, | ||
| const float | clarity | ||
| ) |
References darktable, dl(), dt_local_laplacian_free_cl(), dt_opencl_alloc_device(), error(), g, height, IS_NULL_PTR, k, dt_opencl_t::local_laplacian, max_levels, MIN, num_gamma, darktable_t::opencl, ROUNDUPDHT, ROUNDUPDWD, sigma, and width.
Referenced by process_cl().
| dt_local_laplacian_cl_global_t * dt_local_laplacian_init_cl_global | ( | ) |
References dt_opencl_create_kernel(), and g.
Referenced by dt_opencl_init().