![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <CL/cl.h>#include <stddef.h>
Include dependency graph for bilateralcl.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_bilateral_cl_global_t |
| struct | dt_bilateral_cl_t |
Typedefs | |
| typedef struct dt_bilateral_cl_global_t | dt_bilateral_cl_global_t |
| typedef struct dt_bilateral_cl_t | dt_bilateral_cl_t |
Functions | |
| dt_bilateral_cl_global_t * | dt_bilateral_init_cl_global () |
| void | dt_bilateral_free_cl (dt_bilateral_cl_t *b) |
| dt_bilateral_cl_t * | dt_bilateral_init_cl (const int devid, const int width, const int height, const float sigma_s, const float sigma_r) |
| cl_int | dt_bilateral_splat_cl (dt_bilateral_cl_t *b, cl_mem in) |
| cl_int | dt_bilateral_blur_cl (dt_bilateral_cl_t *b) |
| cl_int | dt_bilateral_slice_to_output_cl (dt_bilateral_cl_t *b, cl_mem in, cl_mem out, const float detail) |
| cl_int | dt_bilateral_slice_cl (dt_bilateral_cl_t *b, cl_mem in, cl_mem out, const float detail) |
| void | dt_bilateral_free_cl_global (dt_bilateral_cl_global_t *b) |
| typedef struct dt_bilateral_cl_global_t dt_bilateral_cl_global_t |
| typedef struct dt_bilateral_cl_t dt_bilateral_cl_t |
| cl_int dt_bilateral_blur_cl | ( | dt_bilateral_cl_t * | b | ) |
References dt_opencl_enqueue_copy_buffer_to_buffer(), dt_opencl_enqueue_kernel_2d(), dt_opencl_set_kernel_arg(), ROUNDUPDHT, and ROUNDUPDWD.
Referenced by _retouch_blur_cl(), and process_cl().
| void dt_bilateral_free_cl | ( | dt_bilateral_cl_t * | b | ) |
References dt_free, dt_opencl_release_mem_object(), and IS_NULL_PTR.
Referenced by _retouch_blur_cl(), dt_bilateral_init_cl(), and process_cl().
| void dt_bilateral_free_cl_global | ( | dt_bilateral_cl_global_t * | b | ) |
References dt_free, dt_opencl_free_kernel(), and IS_NULL_PTR.
Referenced by dt_opencl_cleanup().
| dt_bilateral_cl_t * dt_bilateral_init_cl | ( | const int | devid, |
| const int | width, | ||
| const int | height, | ||
| const float | sigma_s, | ||
| const float | sigma_r | ||
| ) |
References dt_opencl_t::bilateral, darktable, dt_bilateral_free_cl(), dt_bilateral_grid_size(), DT_DEBUG_OPENCL, dt_opencl_alloc_device_buffer(), dt_opencl_enqueue_kernel_2d(), dt_opencl_local_buffer_opt(), dt_opencl_set_kernel_arg(), dt_print(), height, IS_NULL_PTR, dt_bilateral_cl_global_t::kernel_splat, darktable_t::opencl, ROUNDUPDHT, ROUNDUPDWD, sigma_r, dt_bilateral_t::sigma_r, sigma_s, dt_bilateral_t::sigma_s, dt_bilateral_t::size_x, dt_bilateral_t::size_y, dt_bilateral_t::size_z, 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(), and process_cl().
| dt_bilateral_cl_global_t * dt_bilateral_init_cl_global | ( | ) |
References dt_opencl_create_kernel().
Referenced by dt_opencl_init().
| cl_int dt_bilateral_slice_cl | ( | dt_bilateral_cl_t * | b, |
| cl_mem | in, | ||
| cl_mem | out, | ||
| const float | detail | ||
| ) |
References dt_opencl_enqueue_kernel_2d(), dt_opencl_set_kernel_arg(), out, ROUNDUPDHT, and ROUNDUPDWD.
Referenced by _retouch_blur_cl(), and process_cl().
| cl_int dt_bilateral_slice_to_output_cl | ( | dt_bilateral_cl_t * | b, |
| cl_mem | in, | ||
| cl_mem | out, | ||
| const float | detail | ||
| ) |
| cl_int dt_bilateral_splat_cl | ( | dt_bilateral_cl_t * | b, |
| cl_mem | in | ||
| ) |
References dt_opencl_enqueue_kernel_2d_with_local(), dt_opencl_set_kernel_arg(), and ROUNDUP.
Referenced by _retouch_blur_cl(), and process_cl().