![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"#include "common/bilateral.h"#include "common/bilateralcl.h"#include "common/debug.h"#include "common/gaussian.h"#include "common/math.h"#include "common/opencl.h"#include "control/control.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/imageop_gui.h"#include "develop/tiling.h"#include "gui/gtk.h"#include "gui/presets.h"#include "iop/iop_api.h"#include <assert.h>#include <gtk/gtk.h>#include <stdlib.h>#include <string.h>#include <inttypes.h>
Include dependency graph for lowpass.c:Data Structures | |
| struct | dt_iop_lowpass_params1_t |
| struct | dt_iop_lowpass_params2_t |
| struct | dt_iop_lowpass_params3_t |
| struct | dt_iop_lowpass_params_t |
| struct | dt_iop_lowpass_gui_data_t |
| struct | dt_iop_lowpass_data_t |
| struct | dt_iop_lowpass_global_data_t |
Typedefs | |
| typedef enum dt_iop_lowpass_algo_t | dt_iop_lowpass_algo_t |
| typedef struct dt_iop_lowpass_params1_t | dt_iop_lowpass_params1_t |
| typedef struct dt_iop_lowpass_params2_t | dt_iop_lowpass_params2_t |
| typedef struct dt_iop_lowpass_params3_t | dt_iop_lowpass_params3_t |
| typedef struct dt_iop_lowpass_params_t | dt_iop_lowpass_params_t |
| typedef struct dt_iop_lowpass_gui_data_t | dt_iop_lowpass_gui_data_t |
| typedef struct dt_iop_lowpass_data_t | dt_iop_lowpass_data_t |
| typedef struct dt_iop_lowpass_global_data_t | dt_iop_lowpass_global_data_t |
Enumerations | |
| enum | dt_iop_lowpass_algo_t { LOWPASS_ALGO_GAUSSIAN , LOWPASS_ALGO_BILATERAL } |
| typedef enum dt_iop_lowpass_algo_t dt_iop_lowpass_algo_t |
| typedef struct dt_iop_lowpass_data_t dt_iop_lowpass_data_t |
| typedef struct dt_iop_lowpass_global_data_t dt_iop_lowpass_global_data_t |
| typedef struct dt_iop_lowpass_gui_data_t dt_iop_lowpass_gui_data_t |
| typedef struct dt_iop_lowpass_params1_t dt_iop_lowpass_params1_t |
| typedef struct dt_iop_lowpass_params2_t dt_iop_lowpass_params2_t |
| typedef struct dt_iop_lowpass_params3_t dt_iop_lowpass_params3_t |
| typedef struct dt_iop_lowpass_params_t dt_iop_lowpass_params_t |
| void cleanup_global | ( | dt_iop_module_so_t * | module | ) |
| void cleanup_pipe | ( | struct dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References dt_dev_pixelpipe_iop_t::data, and dt_free_align.
| void commit_params | ( | struct dt_iop_module_t * | self, |
| dt_iop_params_t * | p1, | ||
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References IOP_CS_LAB.
| int default_group | ( | ) |
References IOP_GROUP_EFFECTS.
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
| int flags | ( | ) |
| void gui_init | ( | struct dt_iop_module_t * | self | ) |
References dt_bauhaus_combobox_from_params(), dt_bauhaus_slider_from_params(), g, and IOP_GUI_ALLOC.
| void init_global | ( | dt_iop_module_so_t * | module | ) |
| void init_pipe | ( | struct dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References d, dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::data_size, dt_calloc_align(), and k.
| void init_presets | ( | dt_iop_module_so_t * | self | ) |
| int legacy_params | ( | dt_iop_module_t * | self, |
| const void *const | old_params, | ||
| const int | old_version, | ||
| void * | new_params, | ||
| const int | new_version | ||
| ) |
References dt_iop_lowpass_params2_t::brightness, dt_iop_lowpass_params3_t::brightness, dt_iop_lowpass_params1_t::contrast, dt_iop_lowpass_params2_t::contrast, dt_iop_lowpass_params3_t::contrast, LOWPASS_ALGO_BILATERAL, LOWPASS_ALGO_GAUSSIAN, dt_iop_lowpass_params1_t::order, dt_iop_lowpass_params2_t::order, dt_iop_lowpass_params3_t::order, dt_iop_lowpass_params_t::order, dt_iop_lowpass_params1_t::radius, dt_iop_lowpass_params2_t::radius, dt_iop_lowpass_params3_t::radius, dt_iop_lowpass_params1_t::saturation, dt_iop_lowpass_params2_t::saturation, dt_iop_lowpass_params3_t::saturation, and dt_iop_lowpass_params3_t::unbound.
| const char * name | ( | ) |
| __DT_CLONE_TARGETS__ int process | ( | struct dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| const void *const | ivoid, | ||
| void *const | ovoid | ||
| ) |
References __OMP_PARALLEL_FOR__, ch, dt_iop_buffer_dsc_t::channels, CLAMPF, dt_iop_lowpass_data_t::ctable, dt_iop_lowpass_data_t::cunbounded_coeffs, dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::dsc_in, dt_bilateral_blur(), dt_bilateral_free(), dt_bilateral_init(), dt_bilateral_slice(), dt_bilateral_splat(), dt_gaussian_blur_4c(), dt_gaussian_free(), dt_gaussian_init(), dt_iop_eval_exp(), g, height, dt_iop_roi_t::height, IS_NULL_PTR, k, dt_iop_lowpass_data_t::lowpass_algo, LOWPASS_ALGO_GAUSSIAN, dt_iop_lowpass_data_t::ltable, dt_iop_lowpass_data_t::lunbounded_coeffs, dt_iop_lowpass_data_t::order, out, ovoid, dt_iop_lowpass_data_t::radius, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, dt_iop_lowpass_data_t::saturation, dt_iop_roi_t::scale, sigma, sigma_r, sigma_s, dt_iop_lowpass_data_t::unbound, width, and dt_iop_roi_t::width.
| int process_cl | ( | struct dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| cl_mem | dev_in, | ||
| cl_mem | dev_out | ||
| ) |
References dt_iop_buffer_dsc_t::channels, d, dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_t::devid, dt_dev_pixelpipe_iop_t::dsc_in, dt_bilateral_blur_cl(), dt_bilateral_free_cl(), dt_bilateral_init_cl(), dt_bilateral_slice_cl(), dt_bilateral_splat_cl(), DT_DEBUG_OPENCL, dt_gaussian_blur_cl(), dt_gaussian_free_cl(), dt_gaussian_init_cl(), dt_opencl_alloc_device(), dt_opencl_copy_host_to_device(), dt_opencl_copy_host_to_device_constant(), dt_opencl_enqueue_copy_image(), dt_opencl_enqueue_kernel_2d(), dt_opencl_release_mem_object(), dt_opencl_set_kernel_arg(), dt_print(), error(), FALSE, g, dt_iop_module_t::global_data, height, dt_iop_roi_t::height, IS_NULL_PTR, k, dt_iop_lowpass_global_data_t::kernel_lowpass_mix, LOWPASS_ALGO_GAUSSIAN, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, ROUNDUPDHT, ROUNDUPDWD, dt_iop_roi_t::scale, sigma, sigma_r, sigma_s, TRUE, void(), width, and dt_iop_roi_t::width.
| void tiling_callback | ( | struct dt_iop_module_t * | self, |
| const struct dt_dev_pixelpipe_t * | pipe, | ||
| const struct dt_dev_pixelpipe_iop_t * | piece, | ||
| struct dt_develop_tiling_t * | tiling | ||
| ) |
References dt_iop_buffer_dsc_t::channels, d, dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::dsc_in, dt_bilateral_memory_use(), dt_bilateral_singlebuffer_size(), dt_gaussian_memory_use(), dt_gaussian_memory_use_cl(), dt_gaussian_singlebuffer_size(), height, dt_iop_roi_t::height, LOWPASS_ALGO_BILATERAL, dt_dev_pixelpipe_iop_t::roi_in, dt_iop_roi_t::scale, sigma, sigma_r, sigma_s, void(), width, and dt_iop_roi_t::width.