![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"
#include "common/bilateral.h"
#include "common/bilateralcl.h"
#include "common/colorspaces_inline_conversions.h"
#include "common/dwt.h"
#include "common/gaussian.h"
#include "common/heal.h"
#include "common/imagebuf.h"
#include "common/opencl.h"
#include "develop/blend.h"
#include "develop/imageop_math.h"
#include "develop/imageop_gui.h"
#include "develop/masks.h"
#include "develop/tiling.h"
#include "iop/iop_api.h"
#include "dtgtk/drawingarea.h"
#include "gui/color_picker_proxy.h"
#include <stdlib.h>
Data Structures | |
struct | dt_iop_retouch_form_data_t |
struct | retouch_user_data_t |
struct | dt_iop_retouch_params_t |
struct | dt_iop_retouch_gui_data_t |
struct | dt_iop_retouch_global_data_t |
Macros | |
#define | RETOUCH_NO_FORMS 300 |
#define | RETOUCH_MAX_SCALES 15 |
#define | RETOUCH_NO_SCALES (RETOUCH_MAX_SCALES + 2) |
#define | RETOUCH_PREVIEW_LVL_MIN -3.0f |
#define | RETOUCH_PREVIEW_LVL_MAX 3.0f |
#define | RT_WDBAR_INSET 0.2f |
#define | lw DT_PIXEL_APPLY_DPI(1.0f) |
#define | NEUTRAL_GRAY 0.5 |
Typedefs | |
typedef enum dt_iop_retouch_drag_types_t | dt_iop_retouch_drag_types_t |
typedef enum dt_iop_retouch_fill_modes_t | dt_iop_retouch_fill_modes_t |
typedef enum dt_iop_retouch_blur_types_t | dt_iop_retouch_blur_types_t |
typedef enum dt_iop_retouch_algo_type_t | dt_iop_retouch_algo_type_t |
typedef struct dt_iop_retouch_form_data_t | dt_iop_retouch_form_data_t |
typedef struct retouch_user_data_t | retouch_user_data_t |
typedef struct dt_iop_retouch_params_t | dt_iop_retouch_params_t |
typedef struct dt_iop_retouch_gui_data_t | dt_iop_retouch_gui_data_t |
typedef struct dt_iop_retouch_params_t | dt_iop_retouch_data_t |
typedef struct dt_iop_retouch_global_data_t | dt_iop_retouch_global_data_t |
Enumerations | |
enum | dt_iop_retouch_drag_types_t { DT_IOP_RETOUCH_WDBAR_DRAG_TOP = 1 , DT_IOP_RETOUCH_WDBAR_DRAG_BOTTOM = 2 } |
enum | dt_iop_retouch_fill_modes_t { DT_IOP_RETOUCH_FILL_ERASE = 0 , DT_IOP_RETOUCH_FILL_COLOR = 1 } |
enum | dt_iop_retouch_blur_types_t { DT_IOP_RETOUCH_BLUR_GAUSSIAN = 0 , DT_IOP_RETOUCH_BLUR_BILATERAL = 1 } |
enum | dt_iop_retouch_algo_type_t { DT_IOP_RETOUCH_NONE = 0 , DT_IOP_RETOUCH_CLONE = 1 , DT_IOP_RETOUCH_HEAL = 2 , DT_IOP_RETOUCH_BLUR = 3 , DT_IOP_RETOUCH_FILL = 4 } |
Functions | |
const char * | name () |
const char * | aliases () |
const char ** | description (struct dt_iop_module_t *self) |
int | default_group () |
int | flags () |
int | default_colorspace (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
static int | rt_shape_is_being_added (dt_iop_module_t *self, const int shape_type) |
int | legacy_params (dt_iop_module_t *self, const void *const old_params, const int old_version, void *new_params, const int new_version) |
static int | rt_get_index_from_formid (dt_iop_retouch_params_t *p, const int formid) |
static int | rt_get_selected_shape_id () |
static dt_masks_point_group_t * | rt_get_mask_point_group (dt_iop_module_t *self, int formid) |
static float | rt_get_shape_opacity (dt_iop_module_t *self, const int formid) |
static void | rt_display_selected_fill_color (dt_iop_retouch_gui_data_t *g, dt_iop_retouch_params_t *p) |
static void | rt_show_hide_controls (const dt_iop_module_t *self) |
static void | rt_display_selected_shapes_lbl (dt_iop_retouch_gui_data_t *g) |
static int | rt_get_selected_shape_index (dt_iop_retouch_params_t *p) |
static void | rt_shape_selection_changed (dt_iop_module_t *self) |
static void | rt_masks_form_change_opacity (dt_iop_module_t *self, int formid, float opacity) |
static float | rt_masks_form_get_opacity (dt_iop_module_t *self, int formid) |
static void | rt_paste_forms_from_scale (dt_iop_retouch_params_t *p, const int source_scale, const int dest_scale) |
static int | rt_allow_create_form (dt_iop_module_t *self) |
static void | rt_reset_form_creation (GtkWidget *widget, dt_iop_module_t *self) |
static void | rt_show_forms_for_current_scale (dt_iop_module_t *self) |
static void | rt_resynch_params (struct dt_iop_module_t *self) |
void | post_history_commit (dt_iop_module_t *self) |
static gboolean | rt_masks_form_is_in_roi (dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, dt_masks_form_t *form, const dt_iop_roi_t *roi_in, const dt_iop_roi_t *roi_out) |
static void | rt_masks_point_denormalize (dt_dev_pixelpipe_iop_t *piece, const dt_iop_roi_t *roi, const float *points, size_t points_count, float *new) |
static int | rt_masks_point_calc_delta (dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, const dt_iop_roi_t *roi, const float *target, const float *source, float *dx, float *dy, const int distort_mode) |
static int | rt_masks_get_delta_to_destination (dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, const dt_iop_roi_t *roi, dt_masks_form_t *form, float *dx, float *dy, const int distort_mode) |
static void | rt_clamp_minmax (float levels_old[3], float levels_new[3]) |
static gboolean | rt_add_shape (GtkWidget *widget, dt_iop_module_t *self) |
static void | rt_colorpick_color_set_callback (GtkColorButton *widget, dt_iop_module_t *self) |
static void | rt_update_wd_bar_labels (dt_iop_retouch_params_t *p, dt_iop_retouch_gui_data_t *g) |
static void | rt_num_scales_update (const int _num_scales, dt_iop_module_t *self) |
static void | rt_curr_scale_update (const int _curr_scale, dt_iop_module_t *self) |
static void | rt_merge_from_scale_update (const int _merge_from_scale, dt_iop_module_t *self) |
static gboolean | rt_wdbar_leave_notify (GtkWidget *widget, GdkEventCrossing *event, dt_iop_module_t *self) |
static gboolean | rt_wdbar_button_press (GtkWidget *widget, GdkEventButton *event, dt_iop_module_t *self) |
static gboolean | rt_wdbar_button_release (GtkWidget *widget, GdkEventButton *event, dt_iop_module_t *self) |
static gboolean | rt_wdbar_scrolled (GtkWidget *widget, GdkEventScroll *event, dt_iop_module_t *self) |
static gboolean | rt_wdbar_motion_notify (GtkWidget *widget, GdkEventMotion *event, dt_iop_module_t *self) |
static int | rt_scale_has_shapes (dt_iop_retouch_params_t *p, const int scale) |
static gboolean | rt_wdbar_draw (GtkWidget *widget, cairo_t *crf, dt_iop_module_t *self) |
static float | rt_gslider_scale_callback (GtkWidget *self, float inval, int dir) |
static void | rt_gslider_changed (GtkDarktableGradientSlider *gslider, dt_iop_module_t *self) |
void | color_picker_apply (dt_iop_module_t *self, GtkWidget *picker, dt_dev_pixelpipe_iop_t *piece) |
static gboolean | rt_copypaste_scale_callback (GtkToggleButton *togglebutton, GdkEventButton *event, dt_iop_module_t *self) |
static gboolean | rt_display_wavelet_scale_callback (GtkToggleButton *togglebutton, GdkEventButton *event, dt_iop_module_t *self) |
static void | rt_develop_ui_pipe_finished_callback (gpointer instance, gpointer user_data) |
static gboolean | rt_auto_levels_callback (GtkToggleButton *togglebutton, GdkEventButton *event, dt_iop_module_t *self) |
static void | rt_mask_opacity_callback (GtkWidget *slider, dt_iop_module_t *self) |
void | gui_post_expose (struct dt_iop_module_t *self, cairo_t *cr, int32_t width, int32_t height, int32_t pointerx, int32_t pointery) |
static gboolean | rt_edit_masks_callback (GtkWidget *widget, GdkEventButton *event, dt_iop_module_t *self) |
static gboolean | rt_add_shape_callback (GtkWidget *widget, GdkEventButton *e, dt_iop_module_t *self) |
static gboolean | rt_select_algorithm_callback (GtkToggleButton *togglebutton, GdkEventButton *e, dt_iop_module_t *self) |
static gboolean | rt_showmask_callback (GtkToggleButton *togglebutton, GdkEventButton *event, dt_iop_module_t *module) |
static gboolean | rt_suppress_callback (GtkToggleButton *togglebutton, GdkEventButton *event, dt_iop_module_t *module) |
void | gui_changed (dt_iop_module_t *self, GtkWidget *w, void *previous) |
void | masks_selection_changed (struct dt_iop_module_t *self, const int form_selected_id) |
void | init (dt_iop_module_t *module) |
void | init_global (dt_iop_module_so_t *module) |
void | cleanup_global (dt_iop_module_so_t *module) |
void | gui_focus (struct dt_iop_module_t *self, gboolean in) |
void | commit_params (struct dt_iop_module_t *self, dt_iop_params_t *params, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
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) |
void | init_pipe (struct dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
void | cleanup_pipe (struct dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
void | gui_update (dt_iop_module_t *self) |
void | change_image (struct dt_iop_module_t *self) |
void | gui_init (dt_iop_module_t *self) |
void | gui_reset (struct dt_iop_module_t *self) |
void | reload_defaults (dt_iop_module_t *self) |
void | gui_cleanup (dt_iop_module_t *self) |
void | modify_roi_out (struct dt_iop_module_t *self, struct dt_dev_pixelpipe_iop_t *piece, dt_iop_roi_t *roi_out, const dt_iop_roi_t *roi_in) |
static void | rt_compute_roi_in (struct dt_iop_module_t *self, struct dt_dev_pixelpipe_iop_t *piece, dt_iop_roi_t *roi_in, int *_roir, int *_roib, int *_roix, int *_roiy) |
static void | rt_extend_roi_in_from_source_clones (struct dt_iop_module_t *self, struct dt_dev_pixelpipe_iop_t *piece, dt_iop_roi_t *roi_in, const int formid_src, const int fl_src, const int ft_src, const int fw_src, const int fh_src, int *_roir, int *_roib, int *_roix, int *_roiy) |
static void | rt_extend_roi_in_for_clone (struct dt_iop_module_t *self, struct dt_dev_pixelpipe_iop_t *piece, dt_iop_roi_t *roi_in, int *_roir, int *_roib, int *_roix, int *_roiy) |
void | modify_roi_in (struct dt_iop_module_t *self, struct dt_dev_pixelpipe_iop_t *piece, const dt_iop_roi_t *roi_out, dt_iop_roi_t *roi_in) |
static void | image_rgb2lab (float *img_src, const int width, const int height, const int ch, const int use_sse) |
static void | image_lab2rgb (float *img_src, const int width, const int height, const int ch, const int use_sse) |
static void | rt_process_stats (struct dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, float *const img_src, const int width, const int height, const int ch, float levels[3]) |
static void | rt_adjust_levels (dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, float *img_src, const int width, const int height, const int ch, const float levels[3]) |
static void | rt_intersect_2_rois (dt_iop_roi_t *const roi_1, dt_iop_roi_t *const roi_2, const int dx, const int dy, const int padding, dt_iop_roi_t *roi_dest) |
static void | rt_copy_in_to_out (const float *const in, const struct dt_iop_roi_t *const roi_in, float *const out, const struct dt_iop_roi_t *const roi_out, const int ch, const int dx, const int dy) |
static void | rt_build_scaled_mask (float *const mask, dt_iop_roi_t *const roi_mask, float **mask_scaled, dt_iop_roi_t *roi_mask_scaled, dt_iop_roi_t *const roi_in, const int dx, const int dy, const int algo) |
static void | rt_copy_image_masked (float *const img_src, float *img_dest, dt_iop_roi_t *const roi_dest, float *const mask_scaled, dt_iop_roi_t *const roi_mask_scaled, const float opacity) |
static void | rt_copy_mask_to_alpha (float *const img, dt_iop_roi_t *const roi_img, const int ch, float *const mask_scaled, dt_iop_roi_t *const roi_mask_scaled, const float opacity) |
static void | _retouch_fill (float *const in, dt_iop_roi_t *const roi_in, float *const mask_scaled, dt_iop_roi_t *const roi_mask_scaled, const float opacity, const float *const fill_color) |
static void | _retouch_clone (float *const in, dt_iop_roi_t *const roi_in, float *const mask_scaled, dt_iop_roi_t *const roi_mask_scaled, const int dx, const int dy, const float opacity) |
static void | _retouch_blur (dt_iop_module_t *self, float *const in, dt_iop_roi_t *const roi_in, float *const mask_scaled, dt_iop_roi_t *const roi_mask_scaled, const float opacity, const int blur_type, const float blur_radius, dt_dev_pixelpipe_iop_t *piece, const int use_sse) |
static void | _retouch_heal (float *const in, dt_iop_roi_t *const roi_in, float *const mask_scaled, dt_iop_roi_t *const roi_mask_scaled, const int dx, const int dy, const float opacity, const int max_iter) |
static void | rt_process_forms (float *layer, dwt_params_t *const wt_p, const int scale1) |
static void | process_internal (struct dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, const void *const ivoid, void *const ovoid, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out, const int use_sse) |
void | process (struct dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, const void *const ivoid, void *const ovoid, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out) |
void | distort_mask (struct dt_iop_module_t *self, struct dt_dev_pixelpipe_iop_t *piece, const float *const in, float *const out, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out) |
#define lw DT_PIXEL_APPLY_DPI(1.0f) |
#define NEUTRAL_GRAY 0.5 |
#define RETOUCH_MAX_SCALES 15 |
#define RETOUCH_NO_FORMS 300 |
#define RETOUCH_NO_SCALES (RETOUCH_MAX_SCALES + 2) |
#define RETOUCH_PREVIEW_LVL_MAX 3.0f |
#define RETOUCH_PREVIEW_LVL_MIN -3.0f |
#define RT_WDBAR_INSET 0.2f |
typedef enum dt_iop_retouch_algo_type_t dt_iop_retouch_algo_type_t |
typedef enum dt_iop_retouch_blur_types_t dt_iop_retouch_blur_types_t |
typedef struct dt_iop_retouch_params_t dt_iop_retouch_data_t |
typedef enum dt_iop_retouch_drag_types_t dt_iop_retouch_drag_types_t |
typedef enum dt_iop_retouch_fill_modes_t dt_iop_retouch_fill_modes_t |
typedef struct dt_iop_retouch_form_data_t dt_iop_retouch_form_data_t |
typedef struct dt_iop_retouch_global_data_t dt_iop_retouch_global_data_t |
typedef struct dt_iop_retouch_gui_data_t dt_iop_retouch_gui_data_t |
typedef struct dt_iop_retouch_params_t dt_iop_retouch_params_t |
typedef struct retouch_user_data_t retouch_user_data_t |
|
static |
References cleanup(), dt_alloc_align_float(), dt_bilateral_blur(), dt_bilateral_free(), dt_bilateral_init(), dt_bilateral_slice(), dt_bilateral_splat(), dt_free_align, dt_gaussian_blur_4c(), dt_gaussian_free(), dt_gaussian_init(), DT_IOP_GAUSSIAN_ZERO, DT_IOP_RETOUCH_BLUR_BILATERAL, DT_IOP_RETOUCH_BLUR_GAUSSIAN, dt_ioppr_get_pipe_work_profile_info(), dt_ioppr_transform_image_colorspace(), dt_iop_roi_t::height, image_lab2rgb(), image_rgb2lab(), IOP_CS_LAB, IOP_CS_RGB, dt_dev_pixelpipe_iop_t::iscale, dt_dev_pixelpipe_iop_t::pipe, rt_copy_image_masked(), rt_copy_in_to_out(), dt_iop_roi_t::scale, sigma_r, sigma_s, and dt_iop_roi_t::width.
Referenced by rt_process_forms().
|
static |
References cleanup(), dt_alloc_align_float(), dt_free_align, dt_iop_roi_t::height, rt_copy_image_masked(), rt_copy_in_to_out(), and dt_iop_roi_t::width.
Referenced by rt_process_forms().
|
static |
References f(), for_each_channel, dt_iop_roi_t::height, m, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by rt_process_forms().
|
static |
References cleanup(), dt_alloc_align_float(), dt_free_align, dt_heal(), dt_iop_roi_t::height, rt_copy_image_masked(), rt_copy_in_to_out(), and dt_iop_roi_t::width.
Referenced by rt_process_forms().
const char * aliases | ( | ) |
void change_image | ( | struct dt_iop_module_t * | self | ) |
References FALSE, dt_iop_module_t::gui_data, RETOUCH_MAX_SCALES, RETOUCH_PREVIEW_LVL_MAX, and RETOUCH_PREVIEW_LVL_MIN.
Referenced by gui_init().
void cleanup_global | ( | dt_iop_module_so_t * | module | ) |
References dt_iop_module_so_t::data, dt_opencl_free_kernel(), dt_iop_retouch_global_data_t::kernel_retouch_clear_alpha, dt_iop_retouch_global_data_t::kernel_retouch_copy_alpha, dt_iop_retouch_global_data_t::kernel_retouch_copy_buffer_to_buffer, dt_iop_retouch_global_data_t::kernel_retouch_copy_buffer_to_buffer_masked, dt_iop_retouch_global_data_t::kernel_retouch_copy_buffer_to_image, dt_iop_retouch_global_data_t::kernel_retouch_copy_image_to_buffer_masked, dt_iop_retouch_global_data_t::kernel_retouch_copy_mask_to_alpha, dt_iop_retouch_global_data_t::kernel_retouch_fill, dt_iop_retouch_global_data_t::kernel_retouch_image_lab2rgb, and dt_iop_retouch_global_data_t::kernel_retouch_image_rgb2lab.
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 color_picker_apply | ( | dt_iop_module_t * | self, |
GtkWidget * | picker, | ||
dt_dev_pixelpipe_iop_t * | piece | ||
) |
void commit_params | ( | struct dt_iop_module_t * | self, |
dt_iop_params_t * | params, | ||
dt_dev_pixelpipe_t * | pipe, | ||
dt_dev_pixelpipe_iop_t * | piece | ||
) |
commit is the synch point between core and gui, so it copies params to pipe data.
References dt_dev_pixelpipe_iop_t::data.
int default_colorspace | ( | dt_iop_module_t * | self, |
dt_dev_pixelpipe_t * | pipe, | ||
dt_dev_pixelpipe_iop_t * | piece | ||
) |
References IOP_CS_RGB.
int default_group | ( | ) |
References IOP_GROUP_REPAIR.
const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
void distort_mask | ( | struct dt_iop_module_t * | self, |
struct dt_dev_pixelpipe_iop_t * | piece, | ||
const float *const | in, | ||
float *const | out, | ||
const dt_iop_roi_t *const | roi_in, | ||
const dt_iop_roi_t *const | roi_out | ||
) |
References rt_copy_in_to_out().
int flags | ( | ) |
References IOP_FLAGS_INTERNAL_MASKS, IOP_FLAGS_NO_MASKS, and IOP_FLAGS_SUPPORTS_BLENDING.
void gui_changed | ( | dt_iop_module_t * | self, |
GtkWidget * | w, | ||
void * | previous | ||
) |
void gui_cleanup | ( | dt_iop_module_t * | self | ) |
void gui_focus | ( | struct dt_iop_module_t * | self, |
gboolean | in | ||
) |
References dt_iop_module_t::blend_data, dt_iop_module_t::blend_params, dt_masks_form_gui_t::creation, dt_masks_form_gui_t::creation_module, darktable, darktable_t::develop, dt_iop_refresh_center(), dt_masks_change_form_gui(), DT_MASKS_EDIT_FULL, DT_MASKS_EDIT_OFF, dt_masks_get_from_id(), DT_MASKS_GROUP, dt_masks_set_edit_mode(), dt_iop_module_t::enabled, FALSE, dt_develop_t::form_gui, dt_iop_module_t::gui_data, dt_develop_t::gui_module, dt_develop_blend_params_t::mask_id, dt_iop_gui_blend_data_t::masks_shown, dt_masks_form_t::points, rt_show_forms_for_current_scale(), and dt_masks_form_t::type.
void gui_init | ( | dt_iop_module_t * | self | ) |
References _gradient_L, darktable_t::bauhaus, change_image(), darktable, dt_iop_module_t::default_params, dt_bauhaus_combobox_from_params(), dt_bauhaus_slider_from_params(), dt_bauhaus_slider_new_with_range(), dt_bauhaus_slider_set_digits(), dt_bauhaus_slider_set_format(), dt_bauhaus_widget_set_label(), dt_color_picker_new(), DT_COLOR_PICKER_POINT, DT_DEBUG_CONTROL_SIGNAL_CONNECT, dt_gui_add_class(), DT_GUI_MODULE, dt_iop_togglebutton_new(), DT_PIXEL_APPLY_DPI, DT_SIGNAL_DEVELOP_UI_PIPE_FINISHED, dt_ui_label_new(), dt_ui_section_label_new(), dtgtk_cairo_paint_auto_levels(), dtgtk_cairo_paint_cut_forms(), dtgtk_cairo_paint_display_wavelet_scale(), dtgtk_cairo_paint_eye_toggle(), dtgtk_cairo_paint_masks_brush(), dtgtk_cairo_paint_masks_circle(), dtgtk_cairo_paint_masks_ellipse(), dtgtk_cairo_paint_masks_eye(), dtgtk_cairo_paint_masks_path(), dtgtk_cairo_paint_paste_forms(), dtgtk_cairo_paint_showmask(), dtgtk_cairo_paint_tool_blur(), dtgtk_cairo_paint_tool_clone(), dtgtk_cairo_paint_tool_fill(), dtgtk_cairo_paint_tool_heal(), DTGTK_GRADIENT_SLIDER_MULTIVALUE, dtgtk_gradient_slider_multivalue_new_with_color_and_name(), dtgtk_gradient_slider_multivalue_set_marker(), dtgtk_gradient_slider_multivalue_set_resetvalues(), dtgtk_gradient_slider_multivalue_set_values(), FALSE, GRADIENT_SLIDER_MARKER_LOWER_FILLED_BIG, GRADIENT_SLIDER_MARKER_LOWER_OPEN_BIG, darktable_t::gui, IOP_GUI_ALLOC, NEUTRAL_GRAY, PROPORTIONAL_MARKERS, RETOUCH_PREVIEW_LVL_MAX, RETOUCH_PREVIEW_LVL_MIN, rt_add_shape_callback(), rt_auto_levels_callback(), rt_colorpick_color_set_callback(), rt_copypaste_scale_callback(), rt_develop_ui_pipe_finished_callback(), rt_display_wavelet_scale_callback(), rt_edit_masks_callback(), rt_gslider_changed(), rt_gslider_scale_callback(), rt_mask_opacity_callback(), rt_select_algorithm_callback(), rt_showmask_callback(), rt_suppress_callback(), rt_wdbar_button_press(), rt_wdbar_button_release(), rt_wdbar_draw(), rt_wdbar_leave_notify(), rt_wdbar_motion_notify(), rt_wdbar_scrolled(), dt_gui_gtk_t::scroll_mask, darktable_t::signals, TRUE, and dt_iop_module_t::widget.
void gui_post_expose | ( | struct dt_iop_module_t * | self, |
cairo_t * | cr, | ||
int32_t | width, | ||
int32_t | height, | ||
int32_t | pointerx, | ||
int32_t | pointery | ||
) |
void gui_reset | ( | struct dt_iop_module_t * | self | ) |
References dt_conf_get_int(), dt_masks_reset_form_gui(), and dt_iop_module_t::params.
void gui_update | ( | dt_iop_module_t * | self | ) |
References dt_iop_module_t::blend_data, dt_iop_module_t::blend_params, darktable, dt_iop_module_t::dev, darktable_t::develop, dt_bauhaus_combobox_set(), dt_bauhaus_slider_set(), DT_IOP_RETOUCH_BLUR, DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_FILL, DT_IOP_RETOUCH_HEAL, DT_MASKS_BRUSH, DT_MASKS_CIRCLE, DT_MASKS_EDIT_OFF, DT_MASKS_ELLIPSE, dt_masks_get_from_id(), DT_MASKS_GROUP, DT_MASKS_PATH, dtgtk_gradient_slider_multivalue_set_values(), FALSE, dt_iop_module_t::gui_data, dt_develop_t::gui_module, dt_develop_blend_params_t::mask_id, dt_iop_gui_blend_data_t::masks_shown, dt_iop_module_t::params, dt_masks_form_t::points, rt_display_selected_fill_color(), rt_display_selected_shapes_lbl(), rt_resynch_params(), rt_shape_is_being_added(), rt_show_forms_for_current_scale(), rt_show_hide_controls(), rt_update_wd_bar_labels(), and dt_masks_form_t::type.
|
static |
References dt_Lab_to_XYZ(), dt_XYZ_to_linearRGB(), height, Lab(), and width.
Referenced by _retouch_blur().
|
static |
References dt_linearRGB_to_XYZ(), dt_XYZ_to_Lab(), height, and width.
Referenced by _retouch_blur().
void init | ( | dt_iop_module_t * | module | ) |
void init_global | ( | dt_iop_module_so_t * | module | ) |
References dt_opencl_create_kernel(), dt_iop_retouch_global_data_t::kernel_retouch_clear_alpha, dt_iop_retouch_global_data_t::kernel_retouch_copy_alpha, dt_iop_retouch_global_data_t::kernel_retouch_copy_buffer_to_buffer, dt_iop_retouch_global_data_t::kernel_retouch_copy_buffer_to_buffer_masked, dt_iop_retouch_global_data_t::kernel_retouch_copy_buffer_to_image, dt_iop_retouch_global_data_t::kernel_retouch_copy_image_to_buffer_masked, dt_iop_retouch_global_data_t::kernel_retouch_copy_mask_to_alpha, dt_iop_retouch_global_data_t::kernel_retouch_fill, dt_iop_retouch_global_data_t::kernel_retouch_image_lab2rgb, and dt_iop_retouch_global_data_t::kernel_retouch_image_rgb2lab.
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.
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_retouch_form_data_t::algorithm, dt_iop_retouch_params_t::algorithm, dt_iop_retouch_form_data_t::blur_radius, dt_iop_retouch_params_t::blur_radius, dt_iop_retouch_form_data_t::blur_type, dt_iop_retouch_params_t::blur_type, dt_iop_retouch_params_t::curr_scale, dt_iop_module_t::default_params, dt_iop_retouch_form_data_t::distort_mode, dt_iop_retouch_form_data_t::fill_brightness, dt_iop_retouch_params_t::fill_brightness, dt_iop_retouch_form_data_t::fill_color, dt_iop_retouch_params_t::fill_color, dt_iop_retouch_form_data_t::fill_mode, dt_iop_retouch_params_t::fill_mode, dt_iop_retouch_form_data_t::formid, dt_iop_retouch_params_t::max_heal_iter, dt_iop_retouch_params_t::merge_from_scale, dt_iop_retouch_params_t::num_scales, dt_iop_retouch_params_t::preview_levels, RETOUCH_NO_FORMS, dt_iop_retouch_params_t::rt_forms, and dt_iop_retouch_form_data_t::scale.
void masks_selection_changed | ( | struct dt_iop_module_t * | self, |
const int | form_selected_id | ||
) |
void modify_roi_in | ( | struct dt_iop_module_t * | self, |
struct dt_dev_pixelpipe_iop_t * | piece, | ||
const dt_iop_roi_t * | roi_out, | ||
dt_iop_roi_t * | roi_in | ||
) |
void modify_roi_out | ( | struct dt_iop_module_t * | self, |
struct dt_dev_pixelpipe_iop_t * | piece, | ||
dt_iop_roi_t * | roi_out, | ||
const dt_iop_roi_t * | roi_in | ||
) |
const char * name | ( | ) |
void post_history_commit | ( | dt_iop_module_t * | self | ) |
References dt_iop_module_t::blend_data, dt_iop_module_t::blend_params, darktable, dt_iop_module_t::dev, darktable_t::develop, DT_MASKS_BRUSH, DT_MASKS_CIRCLE, DT_MASKS_EDIT_OFF, DT_MASKS_ELLIPSE, dt_masks_get_from_id(), DT_MASKS_GROUP, DT_MASKS_PATH, FALSE, dt_iop_module_t::gui_data, dt_develop_t::gui_module, dt_develop_blend_params_t::mask_id, dt_iop_gui_blend_data_t::masks_shown, dt_masks_form_t::points, rt_resynch_params(), rt_shape_is_being_added(), and dt_masks_form_t::type.
void process | ( | struct dt_iop_module_t * | self, |
dt_dev_pixelpipe_iop_t * | piece, | ||
const void *const | ivoid, | ||
void *const | ovoid, | ||
const dt_iop_roi_t *const | roi_in, | ||
const dt_iop_roi_t *const | roi_out | ||
) |
References process_internal().
|
static |
References cleanup(), dt_dev_pixelpipe_iop_t::colors, darktable, dt_dev_pixelpipe_iop_t::data, dt_iop_module_t::dev, retouch_user_data_t::display_scale, dt_alloc_align_float(), dt_control_log(), DT_DEV_PIXELPIPE_DISPLAY_MASK, DT_DEV_PIXELPIPE_DISPLAY_PASSTHRU, DT_DEV_PIXELPIPE_FULL, dt_dwt_first_scale_visible(), dt_dwt_free(), dt_dwt_init(), dt_free_align, dt_iop_alpha_copy(), dt_iop_gui_enter_critical_section(), dt_iop_gui_leave_critical_section(), dt_iop_have_required_input_format(), dt_iop_image_copy_by_size(), dwt_decompose(), dwt_get_max_scale(), darktable_t::gui, dt_develop_t::gui_attached, dt_iop_module_t::gui_data, dt_develop_t::gui_module, dt_iop_roi_t::height, dt_dev_pixelpipe_iop_t::iscale, levels(), retouch_user_data_t::mask_display, retouch_user_data_t::piece, dt_develop_t::pipe, dt_dev_pixelpipe_iop_t::pipe, dt_gui_gtk_t::reset, dwt_params_t::return_layer, retouch_user_data_t::roi, rt_adjust_levels(), rt_clamp_minmax(), rt_copy_in_to_out(), rt_process_forms(), rt_process_stats(), dt_iop_roi_t::scale, dwt_params_t::scales, retouch_user_data_t::self, retouch_user_data_t::suppress_mask, and dt_iop_roi_t::width.
Referenced by process().
void reload_defaults | ( | dt_iop_module_t * | self | ) |
References dt_iop_module_t::default_params, and dt_conf_get_int().
|
static |
References dt_iop_module_t::blend_data, dt_masks_form_gui_t::creation, dt_masks_form_gui_t::creation_module, darktable, darktable_t::develop, dt_control_queue_redraw_center(), dt_iop_request_focus(), DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_HEAL, DT_MASKS_BRUSH, dt_masks_change_form_gui(), DT_MASKS_CIRCLE, DT_MASKS_CLONE, dt_masks_create(), DT_MASKS_EDIT_OFF, DT_MASKS_ELLIPSE, DT_MASKS_NON_CLONE, DT_MASKS_PATH, FALSE, dt_develop_t::form_gui, dt_iop_module_t::gui_data, dt_iop_gui_blend_data_t::masks_shown, dt_iop_module_t::off, dt_iop_module_t::params, rt_allow_create_form(), rt_reset_form_creation(), rt_show_forms_for_current_scale(), TRUE, and type.
Referenced by rt_add_shape_callback().
|
static |
References darktable, dt_iop_color_picker_reset(), DT_MASKS_BRUSH, DT_MASKS_CIRCLE, DT_MASKS_ELLIPSE, DT_MASKS_PATH, FALSE, darktable_t::gui, dt_iop_module_t::gui_data, dt_gui_gtk_t::reset, rt_add_shape(), rt_shape_is_being_added(), and TRUE.
Referenced by gui_init().
|
static |
References dt_ioppr_get_pipe_work_profile_info(), dt_ioppr_lab_to_rgb_matrix(), dt_ioppr_rgb_matrix_to_lab(), dt_Lab_to_XYZ(), dt_linearRGB_to_XYZ(), dt_XYZ_to_Lab(), dt_XYZ_to_linearRGB(), height, levels(), dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lut_out, dt_iop_order_iccprofile_info_t::lutsize, dt_iop_order_iccprofile_info_t::matrix_in_transposed, dt_iop_order_iccprofile_info_t::matrix_out_transposed, dt_iop_order_iccprofile_info_t::nonlinearlut, dt_dev_pixelpipe_iop_t::pipe, RETOUCH_PREVIEW_LVL_MAX, RETOUCH_PREVIEW_LVL_MIN, size, and width.
Referenced by process_internal().
|
static |
References dt_iop_module_t::params, and RETOUCH_NO_FORMS.
Referenced by rt_add_shape().
|
static |
|
static |
References cleanup(), dt_alloc_align_float(), dt_iop_image_fill(), DT_IOP_RETOUCH_HEAL, dt_iop_roi_t::height, m, rt_intersect_2_rois(), dt_iop_roi_t::scale, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by rt_process_forms().
|
static |
References MAX, MIN, RETOUCH_PREVIEW_LVL_MAX, and RETOUCH_PREVIEW_LVL_MIN.
Referenced by process_internal().
|
static |
References darktable, darktable_t::develop, dt_dev_add_history_item, dt_iop_color_picker_reset(), DT_IOP_RETOUCH_FILL, darktable_t::gui, dt_iop_module_t::params, dt_gui_gtk_t::reset, rt_get_selected_shape_index(), and TRUE.
Referenced by gui_init().
|
static |
References dt_iop_module_t::blend_params, dt_dev_pixelpipe_iop_t::data, DT_IOP_RETOUCH_BLUR, DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_FILL, DT_IOP_RETOUCH_HEAL, dt_masks_get_area(), dt_masks_get_from_id_ext(), DT_MASKS_GROUP, dt_masks_point_group_t::formid, dt_iop_roi_t::height, dt_dev_pixelpipe_iop_t::iscale, dt_develop_blend_params_t::mask_id, MAX, dt_dev_pixelpipe_iop_t::pipe, dt_masks_form_t::points, rt_get_index_from_formid(), rt_masks_get_delta_to_destination(), dt_iop_roi_t::scale, dt_masks_form_t::type, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by modify_roi_in().
|
static |
References f(), for_each_channel, dt_iop_roi_t::height, m, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by _retouch_blur(), _retouch_clone(), and _retouch_heal().
|
static |
References dt_iop_roi_t::height, MIN, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by _retouch_blur(), _retouch_clone(), _retouch_heal(), distort_mask(), and process_internal().
|
static |
References f(), dt_iop_roi_t::height, m, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by rt_process_forms().
|
static |
|
static |
References darktable, darktable_t::develop, dt_dev_add_history_item, dt_iop_gui_enter_critical_section(), dt_iop_gui_leave_critical_section(), darktable_t::gui, dt_iop_module_t::gui_data, dt_iop_module_t::params, dt_gui_gtk_t::reset, RETOUCH_MAX_SCALES, RETOUCH_PREVIEW_LVL_MAX, RETOUCH_PREVIEW_LVL_MIN, rt_show_forms_for_current_scale(), rt_update_wd_bar_labels(), and TRUE.
Referenced by rt_wdbar_button_press(), and rt_wdbar_scrolled().
|
static |
References darktable, darktable_t::develop, dt_dev_add_history_item, dt_iop_gui_enter_critical_section(), dt_iop_gui_leave_critical_section(), dtgtk_gradient_slider_multivalue_set_values(), darktable_t::gui, dt_iop_module_t::gui_data, dt_iop_module_t::params, dt_gui_gtk_t::reset, and TRUE.
Referenced by gui_cleanup(), and gui_init().
|
static |
Referenced by color_picker_apply(), gui_update(), and rt_shape_selection_changed().
|
static |
References darktable, darktable_t::develop, dt_masks_get_from_id(), dt_masks_form_t::name, and rt_get_selected_shape_id().
Referenced by gui_update(), and rt_shape_selection_changed().
|
static |
References darktable, dt_iop_module_t::dev, dt_control_log(), dt_dev_invalidate, dt_dev_refresh_ui_images, dt_iop_gui_enter_critical_section(), dt_iop_gui_leave_critical_section(), dt_iop_request_focus(), FALSE, darktable_t::gui, dt_iop_module_t::gui_data, dt_iop_module_t::off, dt_iop_module_t::params, dt_iop_module_t::request_mask_display, dt_gui_gtk_t::reset, RETOUCH_PREVIEW_LVL_MAX, RETOUCH_PREVIEW_LVL_MIN, rt_show_hide_controls(), and TRUE.
Referenced by gui_init().
|
static |
References dt_iop_module_t::blend_data, dt_iop_module_t::blend_params, dt_masks_form_gui_t::creation, dt_masks_form_gui_t::creation_module, darktable, darktable_t::develop, dt_iop_color_picker_reset(), dt_iop_request_focus(), dt_masks_change_form_gui(), DT_MASKS_EDIT_FULL, DT_MASKS_EDIT_OFF, DT_MASKS_EDIT_RESTRICTED, dt_masks_get_from_id(), DT_MASKS_GROUP, dt_modifier_is(), FALSE, dt_develop_t::form_gui, darktable_t::gui, dt_iop_module_t::gui_data, dt_develop_t::gui_module, dt_develop_blend_params_t::mask_id, dt_iop_gui_blend_data_t::masks_shown, dt_masks_form_t::points, dt_gui_gtk_t::reset, rt_show_forms_for_current_scale(), TRUE, and dt_masks_form_t::type.
Referenced by gui_init().
|
static |
References dt_iop_module_t::blend_params, dt_dev_pixelpipe_iop_t::data, DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_HEAL, dt_masks_get_from_id_ext(), dt_masks_get_source_area(), DT_MASKS_GROUP, dt_masks_point_group_t::formid, dt_develop_blend_params_t::mask_id, dt_dev_pixelpipe_iop_t::pipe, dt_masks_form_t::points, rt_extend_roi_in_from_source_clones(), rt_get_index_from_formid(), dt_iop_roi_t::scale, and dt_masks_form_t::type.
Referenced by modify_roi_in().
|
static |
References dt_iop_module_t::blend_params, dt_dev_pixelpipe_iop_t::data, DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_HEAL, dt_masks_get_from_id_ext(), dt_masks_get_source_area(), DT_MASKS_GROUP, dt_masks_point_group_t::formid, dt_develop_blend_params_t::mask_id, dt_dev_pixelpipe_iop_t::pipe, dt_masks_form_t::points, rt_get_index_from_formid(), rt_masks_get_delta_to_destination(), dt_iop_roi_t::scale, and dt_masks_form_t::type.
Referenced by rt_extend_roi_in_for_clone().
|
static |
References RETOUCH_NO_FORMS.
Referenced by rt_compute_roi_in(), rt_extend_roi_in_for_clone(), rt_extend_roi_in_from_source_clones(), rt_get_selected_shape_index(), rt_process_forms(), and rt_resynch_params().
|
static |
References dt_iop_module_t::blend_params, dt_iop_module_t::dev, dt_masks_get_from_id(), DT_MASKS_GROUP, dt_masks_point_group_t::formid, dt_develop_blend_params_t::mask_id, dt_masks_form_t::points, and dt_masks_form_t::type.
Referenced by rt_get_shape_opacity(), rt_masks_form_change_opacity(), and rt_masks_form_get_opacity().
|
static |
References darktable, darktable_t::develop, and dt_develop_t::mask_form_selected_id.
Referenced by gui_post_expose(), rt_display_selected_shapes_lbl(), rt_get_selected_shape_index(), rt_mask_opacity_callback(), and rt_show_hide_controls().
|
static |
References rt_get_index_from_formid(), and rt_get_selected_shape_id().
Referenced by color_picker_apply(), gui_changed(), rt_colorpick_color_set_callback(), rt_select_algorithm_callback(), and rt_shape_selection_changed().
|
static |
References dt_masks_point_group_t::opacity, and rt_get_mask_point_group().
Referenced by rt_shape_selection_changed().
|
static |
References darktable, darktable_t::develop, dt_dev_add_history_item, dtgtk_gradient_slider_multivalue_get_values(), darktable_t::gui, dt_iop_module_t::params, dt_gui_gtk_t::reset, and TRUE.
Referenced by gui_init().
|
static |
References GRADIENT_SLIDER_GET, GRADIENT_SLIDER_SET, RETOUCH_PREVIEW_LVL_MAX, and RETOUCH_PREVIEW_LVL_MIN.
Referenced by gui_init().
|
static |
References dt_iop_roi_t::height, MAX, MIN, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by rt_build_scaled_mask().
|
static |
References darktable, darktable_t::develop, dt_bauhaus_slider_get(), dt_dev_add_history_item, darktable_t::gui, dt_gui_gtk_t::reset, rt_get_selected_shape_id(), rt_masks_form_change_opacity(), and TRUE.
Referenced by gui_init().
|
static |
References darktable, darktable_t::develop, dt_conf_set_float(), dt_dev_add_history_item, dt_masks_point_group_t::opacity, rt_get_mask_point_group(), and TRUE.
Referenced by rt_mask_opacity_callback().
|
static |
References dt_masks_point_group_t::opacity, and rt_get_mask_point_group().
Referenced by gui_post_expose().
|
static |
References dt_masks_get_area(), FALSE, dt_iop_roi_t::height, dt_iop_roi_t::scale, TRUE, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by rt_process_forms().
|
static |
References dt_masks_point_circle_t::center, dt_masks_point_ellipse_t::center, dt_masks_point_path_t::corner, dt_masks_point_brush_t::corner, DT_MASKS_BRUSH, DT_MASKS_CIRCLE, DT_MASKS_ELLIPSE, DT_MASKS_PATH, dt_masks_form_t::points, rt_masks_point_calc_delta(), dt_masks_form_t::source, and dt_masks_form_t::type.
Referenced by rt_compute_roi_in(), rt_extend_roi_in_from_source_clones(), and rt_process_forms().
|
static |
|
static |
References dt_dev_pixelpipe_iop_t::pipe, and dt_iop_roi_t::scale.
Referenced by rt_masks_point_calc_delta().
|
static |
|
static |
References darktable, darktable_t::develop, dt_dev_add_history_item, darktable_t::gui, dt_iop_module_t::gui_data, dt_iop_module_t::params, dt_gui_gtk_t::reset, RETOUCH_MAX_SCALES, rt_update_wd_bar_labels(), and TRUE.
Referenced by rt_wdbar_button_press(), rt_wdbar_motion_notify(), and rt_wdbar_scrolled().
|
static |
References RETOUCH_NO_FORMS.
Referenced by rt_copypaste_scale_callback().
|
static |
References _retouch_blur(), _retouch_clone(), _retouch_fill(), _retouch_heal(), dt_dev_pixelpipe_iop_t::blendop_data, dwt_params_t::ch, dt_dev_pixelpipe_iop_t::data, retouch_user_data_t::display_scale, dt_free_align, DT_IOP_RETOUCH_BLUR, DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_FILL, DT_IOP_RETOUCH_FILL_ERASE, DT_IOP_RETOUCH_HEAL, dt_masks_get_from_id_ext(), dt_masks_get_mask(), DT_MASKS_GROUP, dt_masks_point_group_t::formid, dt_iop_roi_t::height, retouch_user_data_t::mask_display, dt_develop_blend_params_t::mask_id, dwt_params_t::merge_from_scale, dt_masks_point_group_t::opacity, retouch_user_data_t::piece, dt_dev_pixelpipe_iop_t::pipe, dt_masks_form_t::points, dwt_params_t::return_layer, retouch_user_data_t::roi, rt_build_scaled_mask(), rt_copy_mask_to_alpha(), rt_get_index_from_formid(), rt_masks_form_is_in_roi(), rt_masks_get_delta_to_destination(), dwt_params_t::scales, retouch_user_data_t::self, retouch_user_data_t::suppress_mask, dt_masks_form_t::type, dwt_params_t::use_sse, dwt_params_t::user_data, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Referenced by process_internal().
|
static |
References dt_ioppr_get_pipe_work_profile_info(), dt_ioppr_rgb_matrix_to_lab(), dt_linearRGB_to_XYZ(), dt_XYZ_to_Lab(), height, Lab(), levels(), dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lutsize, dt_iop_order_iccprofile_info_t::matrix_in_transposed, MAX, MIN, dt_iop_order_iccprofile_info_t::nonlinearlut, dt_dev_pixelpipe_iop_t::pipe, size, and width.
Referenced by process_internal().
|
static |
References dt_masks_change_form_gui(), FALSE, and dt_iop_module_t::gui_data.
Referenced by rt_add_shape().
|
static |
References dt_iop_retouch_form_data_t::algorithm, dt_iop_module_t::blend_params, dt_iop_retouch_form_data_t::blur_radius, dt_iop_retouch_form_data_t::blur_type, darktable, darktable_t::develop, dt_iop_retouch_form_data_t::distort_mode, DT_IOP_RETOUCH_BLUR, DT_IOP_RETOUCH_FILL, dt_masks_get_from_id(), DT_MASKS_GROUP, dt_iop_retouch_form_data_t::fill_brightness, dt_iop_retouch_form_data_t::fill_color, dt_iop_retouch_form_data_t::fill_mode, dt_masks_point_group_t::formid, dt_iop_retouch_form_data_t::formid, dt_develop_blend_params_t::mask_id, dt_iop_module_t::params, dt_masks_form_t::points, RETOUCH_NO_FORMS, rt_get_index_from_formid(), dt_iop_retouch_form_data_t::scale, and dt_masks_form_t::type.
Referenced by gui_update(), and post_history_commit().
|
static |
References RETOUCH_NO_FORMS.
Referenced by rt_wdbar_draw().
|
static |
References dt_masks_form_gui_t::creation, dt_masks_form_gui_t::creation_module, darktable, darktable_t::develop, dt_conf_set_int(), dt_control_log(), dt_control_queue_redraw_center(), dt_dev_add_history_item, dt_iop_request_focus(), DT_IOP_RETOUCH_BLUR, DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_FILL, DT_IOP_RETOUCH_HEAL, DT_MASKS_BRUSH, dt_masks_change_form_gui(), DT_MASKS_CIRCLE, DT_MASKS_CLONE, dt_masks_create(), DT_MASKS_ELLIPSE, DT_MASKS_NON_CLONE, DT_MASKS_PATH, dt_modifier_is(), FALSE, dt_develop_t::form_gui, darktable_t::gui, dt_iop_module_t::gui_data, dt_iop_module_t::params, dt_gui_gtk_t::reset, rt_get_selected_shape_index(), rt_show_hide_controls(), TRUE, and type.
Referenced by gui_init().
|
static |
References dt_masks_form_gui_t::creation, dt_masks_form_gui_t::creation_module, darktable, dt_iop_module_t::dev, darktable_t::develop, dt_masks_get_from_id(), DT_MASKS_GROUP, dt_develop_t::form_gui, dt_develop_t::form_visible, dt_masks_point_group_t::formid, dt_masks_form_t::points, and dt_masks_form_t::type.
Referenced by gui_update(), post_history_commit(), and rt_add_shape_callback().
|
static |
References darktable, darktable_t::develop, dt_bauhaus_combobox_set(), dt_bauhaus_slider_set(), dt_dev_add_history_item, DT_IOP_RETOUCH_BLUR, DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_FILL, DT_IOP_RETOUCH_HEAL, darktable_t::gui, dt_iop_module_t::gui_data, dt_iop_module_t::params, dt_gui_gtk_t::reset, rt_display_selected_fill_color(), rt_display_selected_shapes_lbl(), rt_get_selected_shape_index(), rt_get_shape_opacity(), rt_show_hide_controls(), and TRUE.
Referenced by masks_selection_changed().
|
static |
References dt_iop_module_t::blend_data, dt_iop_module_t::blend_params, dt_masks_form_gui_t::creation, darktable, darktable_t::develop, dt_control_queue_redraw_center(), dt_masks_change_form_gui(), dt_masks_create_ext(), DT_MASKS_EDIT_OFF, dt_masks_get_from_id(), DT_MASKS_GROUP, dt_masks_group_ungroup(), DT_MASKS_STATE_USE, dt_masks_form_gui_t::edit_mode, dt_iop_module_t::enabled, dt_develop_t::form_gui, dt_masks_point_group_t::formid, dt_masks_form_t::formid, dt_iop_module_t::gui_data, dt_develop_t::gui_module, dt_develop_blend_params_t::mask_id, dt_iop_gui_blend_data_t::masks_shown, dt_masks_point_group_t::opacity, dt_iop_module_t::params, dt_masks_point_group_t::parentid, dt_masks_form_t::points, RETOUCH_NO_FORMS, and dt_masks_point_group_t::state.
Referenced by gui_focus(), gui_update(), rt_add_shape(), rt_copypaste_scale_callback(), rt_curr_scale_update(), and rt_edit_masks_callback().
|
static |
References darktable, darktable_t::develop, DT_IOP_RETOUCH_BLUR, DT_IOP_RETOUCH_CLONE, DT_IOP_RETOUCH_FILL, DT_IOP_RETOUCH_FILL_COLOR, DT_IOP_RETOUCH_HEAL, dt_masks_get_from_id(), dt_iop_module_t::gui_data, dt_iop_module_t::params, and rt_get_selected_shape_id().
Referenced by gui_changed(), gui_update(), rt_display_wavelet_scale_callback(), rt_select_algorithm_callback(), and rt_shape_selection_changed().
|
static |
References darktable, dt_control_log(), dt_iop_refresh_center(), dt_iop_request_focus(), FALSE, darktable_t::gui, dt_iop_module_t::gui_data, dt_iop_module_t::off, dt_iop_module_t::request_mask_display, dt_gui_gtk_t::reset, and TRUE.
Referenced by gui_init().
|
static |
References darktable, dt_iop_refresh_center(), dt_iop_request_focus(), darktable_t::gui, dt_iop_module_t::gui_data, dt_iop_module_t::off, dt_gui_gtk_t::reset, and TRUE.
Referenced by gui_init().
|
static |
Referenced by gui_update(), rt_curr_scale_update(), rt_merge_from_scale_update(), and rt_num_scales_update().
|
static |
References darktable, dt_iop_request_focus(), DT_IOP_RETOUCH_WDBAR_DRAG_BOTTOM, DT_IOP_RETOUCH_WDBAR_DRAG_TOP, darktable_t::gui, dt_iop_module_t::gui_data, dt_gui_gtk_t::reset, RETOUCH_NO_SCALES, rt_curr_scale_update(), rt_merge_from_scale_update(), rt_num_scales_update(), RT_WDBAR_INSET, and TRUE.
Referenced by gui_init().
|
static |
References dt_iop_module_t::gui_data, and TRUE.
Referenced by gui_init().
|
static |
References CPF_DIRECTION_DOWN, CPF_DIRECTION_UP, dt_cairo_image_surface_create(), DT_IOP_RETOUCH_WDBAR_DRAG_BOTTOM, DT_IOP_RETOUCH_WDBAR_DRAG_TOP, dtgtk_cairo_paint_solid_triangle(), dtgtk_cairo_paint_triangle(), dt_iop_module_t::gui_data, lw, M_PI, dt_iop_module_t::params, RETOUCH_MAX_SCALES, RETOUCH_NO_SCALES, rt_scale_has_shapes(), RT_WDBAR_INSET, and TRUE.
Referenced by gui_init().
|
static |
References FALSE, dt_iop_module_t::gui_data, and TRUE.
Referenced by gui_init().
|
static |
|
static |
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_iop_module_t::params.