![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <stddef.h>
Include dependency graph for bilateral.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_t |
Functions | |
| struct dt_bilateral_t | __attribute__ ((packed)) dt_bilateral_t |
| float *buf | __attribute__ ((aligned(64))) |
| size_t | dt_bilateral_memory_use (const int width, const int height, const float sigma_s, const float sigma_r) |
| size_t | dt_bilateral_memory_use2 (const int width, const int height, const float sigma_s, const float sigma_r) |
| size_t | dt_bilateral_singlebuffer_size (const int width, const int height, const float sigma_s, const float sigma_r) |
| size_t | dt_bilateral_singlebuffer_size2 (const int width, const int height, const float sigma_s, const float sigma_r) |
| void | dt_bilateral_grid_size (dt_bilateral_t *b, const int width, const int height, const float L_range, float sigma_s, const float sigma_r) |
| dt_bilateral_t * | dt_bilateral_init (const int width, const int height, const float sigma_s, const float sigma_r) |
| void | dt_bilateral_splat (const dt_bilateral_t *b, const float *const in) |
| void | dt_bilateral_blur (const dt_bilateral_t *b) |
| void | dt_bilateral_slice (const dt_bilateral_t *const b, const float *const in, float *out, const float detail) |
| void | dt_bilateral_slice_to_output (const dt_bilateral_t *const b, const float *const in, float *out, const float detail) |
| void | dt_bilateral_free (dt_bilateral_t *b) |
Variables | |
| size_t | size_x |
| size_t | size_y |
| size_t | size_z |
| int | width |
| int | height |
| int | numslices |
| int | sliceheight |
| int | slicerows |
| float | sigma_s |
| float | sigma_r |
| float *buf __attribute__::__attribute__ | ( | (aligned(64)) | ) |
| struct dt_bilateral_t __attribute__ | ( | (packed) | ) |
| void dt_bilateral_blur | ( | const dt_bilateral_t * | b | ) |
Definition at line 341 of file bilateral.c.
References blur_line(), blur_line_z(), and IS_NULL_PTR.
Referenced by _retouch_blur(), detail_enhance(), process(), and process().
| void dt_bilateral_free | ( | dt_bilateral_t * | b | ) |
Definition at line 432 of file bilateral.c.
References dt_free, dt_pixelpipe_cache_free_align, and IS_NULL_PTR.
Referenced by _retouch_blur(), detail_enhance(), process(), and process().
| void dt_bilateral_grid_size | ( | dt_bilateral_t * | b, |
| const int | width, | ||
| const int | height, | ||
| const float | L_range, | ||
| float | sigma_s, | ||
| const float | sigma_r | ||
| ) |
Definition at line 51 of file bilateral.c.
References CLAMPS, DT_COMMON_BILATERAL_MAX_RES_R, DT_COMMON_BILATERAL_MAX_RES_S, height, MAX, sigma_r, sigma_s, and width.
Referenced by dt_bilateral_init(), dt_bilateral_init_cl(), dt_bilateral_memory_use(), and dt_bilateral_singlebuffer_size().
| dt_bilateral_t * dt_bilateral_init | ( | const int | width, |
| const int | height, | ||
| const float | sigma_s, | ||
| const float | sigma_r | ||
| ) |
Definition at line 157 of file bilateral.c.
References dt_bilateral_grid_size(), DT_DEBUG_DEV, dt_free, dt_get_num_openmp_threads(), dt_pixelpipe_cache_alloc_align_float_cache, dt_print(), height, IS_NULL_PTR, sigma_r, sigma_s, and width.
Referenced by _retouch_blur(), detail_enhance(), process(), and process().
| size_t dt_bilateral_memory_use | ( | const int | width, |
| const int | height, | ||
| const float | sigma_s, | ||
| const float | sigma_r | ||
| ) |
Definition at line 80 of file bilateral.c.
References dt_bilateral_grid_size(), dt_get_num_openmp_threads(), height, sigma_r, sigma_s, and width.
Referenced by dt_bilateral_memory_use2(), and tiling_callback().
| size_t dt_bilateral_memory_use2 | ( | const int | width, |
| const int | height, | ||
| const float | sigma_s, | ||
| const float | sigma_r | ||
| ) |
Definition at line 72 of file bilateralcl.c.
References dt_bilateral_memory_use(), height, sigma_r, sigma_s, and width.
Referenced by tiling_callback().
| size_t dt_bilateral_singlebuffer_size | ( | const int | width, |
| const int | height, | ||
| const float | sigma_s, | ||
| const float | sigma_r | ||
| ) |
Definition at line 108 of file bilateral.c.
References dt_bilateral_grid_size(), dt_get_num_openmp_threads(), height, sigma_r, sigma_s, and width.
Referenced by dt_bilateral_singlebuffer_size2(), and tiling_callback().
| size_t dt_bilateral_singlebuffer_size2 | ( | const int | width, |
| const int | height, | ||
| const float | sigma_s, | ||
| const float | sigma_r | ||
| ) |
Definition at line 82 of file bilateralcl.c.
References dt_bilateral_singlebuffer_size(), height, MAX, sigma_r, sigma_s, and width.
Referenced by tiling_callback().
| void dt_bilateral_slice | ( | const dt_bilateral_t *const | b, |
| const float *const | in, | ||
| float * | out, | ||
| const float | detail | ||
| ) |
Definition at line 356 of file bilateral.c.
References __OMP_PARALLEL_FOR__, height, i, image_to_grid(), IS_NULL_PTR, L, out, and width.
Referenced by _retouch_blur(), process(), and process().
| void dt_bilateral_slice_to_output | ( | const dt_bilateral_t *const | b, |
| const float *const | in, | ||
| float * | out, | ||
| const float | detail | ||
| ) |
Definition at line 396 of file bilateral.c.
References __OMP_PARALLEL_FOR__, height, i, image_to_grid(), IS_NULL_PTR, L, MAX, out, and width.
Referenced by detail_enhance(), and process().
| void dt_bilateral_splat | ( | const dt_bilateral_t * | b, |
| const float *const | in | ||
| ) |
Definition at line 183 of file bilateral.c.
References __OMP_PARALLEL_FOR__, __OMP_SIMD__, CLAMPS, dt_get_num_openmp_threads(), i, IS_NULL_PTR, k, L, MIN, sigma_s, and size_y.
Referenced by _retouch_blur(), detail_enhance(), process(), and process().
| int height |
Definition at line 1 of file bilateral.h.
| int numslices |
Definition at line 2 of file bilateral.h.
| float sigma_r |
Definition at line 3 of file bilateral.h.
Referenced by _retouch_blur(), _retouch_blur_cl(), detail_enhance(), dt_bilateral_grid_size(), dt_bilateral_init(), dt_bilateral_init_cl(), dt_bilateral_memory_use(), dt_bilateral_memory_use2(), dt_bilateral_singlebuffer_size(), dt_bilateral_singlebuffer_size2(), dt_iop_colorreconstruct_bilateral_init(), dt_iop_colorreconstruct_bilateral_init_cl(), dt_iop_colorreconstruct_bilateral_memory_use(), dt_iop_colorreconstruct_bilateral_singlebuffer_size(), process(), process(), process_cl(), and tiling_callback().
| float sigma_s |
Definition at line 3 of file bilateral.h.
Referenced by _retouch_blur(), _retouch_blur_cl(), detail_enhance(), dt_bilateral_grid_size(), dt_bilateral_init(), dt_bilateral_init_cl(), dt_bilateral_memory_use(), dt_bilateral_memory_use2(), dt_bilateral_singlebuffer_size(), dt_bilateral_singlebuffer_size2(), dt_bilateral_splat(), dt_iop_colorreconstruct_bilateral_init(), dt_iop_colorreconstruct_bilateral_init_cl(), dt_iop_colorreconstruct_bilateral_memory_use(), dt_iop_colorreconstruct_bilateral_singlebuffer_size(), process(), process(), process_cl(), and tiling_callback().
| size_t size_x |
Definition at line 0 of file bilateral.h.
Referenced by dt_iop_colorreconstruct_bilateral_memory_use(), and dt_iop_colorreconstruct_bilateral_singlebuffer_size().
| size_t size_y |
Definition at line 0 of file bilateral.h.
Referenced by dt_bilateral_splat(), dt_iop_colorreconstruct_bilateral_memory_use(), and dt_iop_colorreconstruct_bilateral_singlebuffer_size().
| size_t size_z |
Definition at line 0 of file bilateral.h.
Referenced by dt_iop_colorreconstruct_bilateral_memory_use(), and dt_iop_colorreconstruct_bilateral_singlebuffer_size().
| int sliceheight |
Definition at line 2 of file bilateral.h.
| int slicerows |
Definition at line 2 of file bilateral.h.
| int width |
Definition at line 1 of file bilateral.h.