|  | Ansel 0.0
    A darktable fork - bloat + design vision | 
#include "bauhaus/bauhaus.h"#include "common/bilateral.h"#include "common/bilateralcl.h"#include "common/locallaplacian.h"#include "common/locallaplaciancl.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 <gtk/gtk.h>#include <stdlib.h> Include dependency graph for bilat.c:
 Include dependency graph for bilat.c:| Data Structures | |
| struct | dt_iop_bilat_params_t | 
| struct | dt_iop_bilat_params_v2_t | 
| struct | dt_iop_bilat_params_v1_t | 
| struct | dt_iop_bilat_gui_data_t | 
| Typedefs | |
| typedef enum dt_iop_bilat_mode_t | dt_iop_bilat_mode_t | 
| typedef struct dt_iop_bilat_params_t | dt_iop_bilat_params_t | 
| typedef struct dt_iop_bilat_params_v2_t | dt_iop_bilat_params_v2_t | 
| typedef struct dt_iop_bilat_params_v1_t | dt_iop_bilat_params_v1_t | 
| typedef dt_iop_bilat_params_t | dt_iop_bilat_data_t | 
| typedef struct dt_iop_bilat_gui_data_t | dt_iop_bilat_gui_data_t | 
| Enumerations | |
| enum | dt_iop_bilat_mode_t { s_mode_bilateral = 0 , s_mode_local_laplacian = 1 } | 
| typedef struct dt_iop_bilat_gui_data_t dt_iop_bilat_gui_data_t | 
| typedef enum dt_iop_bilat_mode_t dt_iop_bilat_mode_t | 
| typedef struct dt_iop_bilat_params_t dt_iop_bilat_params_t | 
| typedef struct dt_iop_bilat_params_v1_t dt_iop_bilat_params_v1_t | 
| typedef struct dt_iop_bilat_params_v2_t dt_iop_bilat_params_v2_t | 
| enum dt_iop_bilat_mode_t | 
| 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.
| 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, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) | 
References IOP_CS_LAB.
| int default_group | ( | ) | 
References IOP_GROUP_SHARPNESS.
| const char ** description | ( | struct dt_iop_module_t * | self | ) | 
References dt_iop_set_description().
| int flags | ( | ) | 
References IOP_FLAGS_ALLOW_TILING, IOP_FLAGS_INCLUDE_IN_STYLES, and IOP_FLAGS_SUPPORTS_BLENDING.
| void gui_changed | ( | dt_iop_module_t * | self, | 
| GtkWidget * | w, | ||
| void * | previous | ||
| ) | 
References dt_bauhaus_combobox_set(), dt_bauhaus_slider_get(), dt_iop_module_t::gui_data, dt_iop_module_t::params, s_mode_bilateral, and s_mode_local_laplacian.
Referenced by gui_update().
| void gui_init | ( | dt_iop_module_t * | self | ) | 
References dt_bauhaus_combobox_from_params(), dt_bauhaus_slider_from_params(), dt_bauhaus_slider_set_default(), dt_bauhaus_slider_set_digits(), dt_bauhaus_slider_set_format(), dt_bauhaus_slider_set_hard_max(), dt_bauhaus_slider_set_hard_min(), dt_bauhaus_slider_set_offset(), dt_bauhaus_widget_set_label(), IOP_GUI_ALLOC, and TRUE.
| void gui_update | ( | dt_iop_module_t * | self | ) | 
| void init_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_dev_pixelpipe_iop_t::data_size.
| 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 | ||
| ) | 
| const char * name | ( | ) | 
| void process | ( | struct dt_iop_module_t * | self, | 
| dt_dev_pixelpipe_iop_t * | piece, | ||
| const void *const | i, | ||
| void *const | o, | ||
| const dt_iop_roi_t *const | roi_in, | ||
| const dt_iop_roi_t *const | roi_out | ||
| ) | 
References dt_dev_pixelpipe_iop_t::data, dt_iop_bilat_params_t::detail, dt_bilateral_blur(), dt_bilateral_free(), dt_bilateral_init(), dt_bilateral_slice(), dt_bilateral_splat(), DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_iop_alpha_copy(), dt_iop_roi_t::height, local_laplacian(), dt_iop_bilat_params_t::midtone, dt_iop_bilat_params_t::mode, dt_dev_pixelpipe_iop_t::pipe, s_mode_bilateral, dt_iop_roi_t::scale, sigma_r, dt_iop_bilat_params_t::sigma_r, sigma_s, dt_iop_bilat_params_t::sigma_s, and dt_iop_roi_t::width.
| void tiling_callback | ( | struct dt_iop_module_t * | self, | 
| struct dt_dev_pixelpipe_iop_t * | piece, | ||
| const dt_iop_roi_t * | roi_in, | ||
| const dt_iop_roi_t * | roi_out, | ||
| struct dt_develop_tiling_t * | tiling | ||
| ) | 
References dt_dev_pixelpipe_iop_t::colors, dt_dev_pixelpipe_iop_t::data, dt_bilateral_memory_use(), dt_bilateral_singlebuffer_size(), height, dt_iop_roi_t::height, local_laplacian_memory_use(), local_laplacian_singlebuffer_size(), MIN, dt_iop_bilat_params_t::mode, s_mode_bilateral, dt_iop_roi_t::scale, sigma_r, dt_iop_bilat_params_t::sigma_r, sigma_s, dt_iop_bilat_params_t::sigma_s, width, and dt_iop_roi_t::width.