|  | Ansel 0.0
    A darktable fork - bloat + design vision | 
#include <assert.h>#include <math.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include "bauhaus/bauhaus.h"#include "common/opencl.h"#include "common/colorspaces_inline_conversions.h"#include "common/rgb_norms.h"#include "control/control.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/imageop_gui.h"#include "dtgtk/drawingarea.h"#include "dtgtk/paint.h"#include "gui/draw.h"#include "gui/gtk.h"#include "gui/presets.h"#include "gui/color_picker_proxy.h"#include "iop/iop_api.h"#include "libs/colorpicker.h" Include dependency graph for iop/tonecurve.c:
 Include dependency graph for iop/tonecurve.c:| Data Structures | |
| struct | dt_iop_tonecurve_node_t | 
| struct | dt_iop_tonecurve_params1_t | 
| struct | dt_iop_tonecurve_params3_t | 
| struct | dt_iop_tonecurve_params4_t | 
| struct | dt_iop_tonecurve_params_t | 
| struct | dt_iop_tonecurve_gui_data_t | 
| struct | dt_iop_tonecurve_data_t | 
| struct | dt_iop_tonecurve_global_data_t | 
| Macros | |
| #define | DT_GUI_CURVE_EDITOR_INSET DT_PIXEL_APPLY_DPI(1) | 
| #define | DT_GUI_CURVE_INFL .3f | 
| #define | DT_IOP_TONECURVE_RES 256 | 
| #define | DT_IOP_TONECURVE_MAXNODES 20 | 
| #define | TONECURVE_DEFAULT_STEP (0.001f) | 
| Typedefs | |
| typedef enum tonecurve_channel_t | tonecurve_channel_t | 
| typedef struct dt_iop_tonecurve_node_t | dt_iop_tonecurve_node_t | 
| typedef enum dt_iop_tonecurve_autoscale_t | dt_iop_tonecurve_autoscale_t | 
| typedef struct dt_iop_tonecurve_params1_t | dt_iop_tonecurve_params1_t | 
| typedef struct dt_iop_tonecurve_params3_t | dt_iop_tonecurve_params3_t | 
| typedef struct dt_iop_tonecurve_params4_t | dt_iop_tonecurve_params4_t | 
| typedef struct dt_iop_tonecurve_params_t | dt_iop_tonecurve_params_t | 
| typedef struct dt_iop_tonecurve_gui_data_t | dt_iop_tonecurve_gui_data_t | 
| typedef struct dt_iop_tonecurve_data_t | dt_iop_tonecurve_data_t | 
| typedef struct dt_iop_tonecurve_global_data_t | dt_iop_tonecurve_global_data_t | 
| Enumerations | |
| enum | tonecurve_channel_t { ch_L = 0 , ch_a = 1 , ch_b = 2 , ch_max = 3 } | 
| enum | dt_iop_tonecurve_autoscale_t { DT_S_SCALE_AUTOMATIC = 1 , DT_S_SCALE_MANUAL = 0 , DT_S_SCALE_AUTOMATIC_XYZ = 2 , DT_S_SCALE_AUTOMATIC_RGB = 3 } | 
| Functions | |
| static gboolean | dt_iop_tonecurve_draw (GtkWidget *widget, cairo_t *crf, gpointer user_data) | 
| static gboolean | dt_iop_tonecurve_motion_notify (GtkWidget *widget, GdkEventMotion *event, gpointer user_data) | 
| static gboolean | dt_iop_tonecurve_button_press (GtkWidget *widget, GdkEventButton *event, gpointer user_data) | 
| static gboolean | dt_iop_tonecurve_leave_notify (GtkWidget *widget, GdkEventCrossing *event, gpointer user_data) | 
| static gboolean | dt_iop_tonecurve_enter_notify (GtkWidget *widget, GdkEventCrossing *event, gpointer user_data) | 
| static gboolean | dt_iop_tonecurve_key_press (GtkWidget *widget, GdkEventKey *event, gpointer user_data) | 
| int | default_group () | 
| int | flags () | 
| int | default_colorspace (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) | 
| const char ** | description (struct dt_iop_module_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) | 
| 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) | 
| void | init_presets (dt_iop_module_so_t *self) | 
| 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) | 
| static float | eval_grey (float x) | 
| 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_reset (struct dt_iop_module_t *self) | 
| void | gui_update (struct dt_iop_module_t *self) | 
| 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) | 
| static void | logbase_callback (GtkWidget *slider, dt_iop_module_t *self) | 
| void | gui_changed (dt_iop_module_t *self, GtkWidget *w, void *previous) | 
| static void | interpolator_callback (GtkWidget *widget, dt_iop_module_t *self) | 
| static void | tab_switch (GtkNotebook *notebook, GtkWidget *page, guint page_num, gpointer user_data) | 
| static gboolean | area_resized (GtkWidget *widget, GdkEvent *event, gpointer user_data) | 
| static float | to_log (const float x, const float base, const int ch, const int semilog, const int is_ordinate) | 
| static float | to_lin (const float x, const float base, const int ch, const int semilog, const int is_ordinate) | 
| void | color_picker_apply (dt_iop_module_t *self, GtkWidget *picker, dt_dev_pixelpipe_iop_t *piece) | 
| static void | dt_iop_tonecurve_sanity_check (dt_iop_module_t *self, GtkWidget *widget) | 
| static gboolean | _move_point_internal (dt_iop_module_t *self, GtkWidget *widget, float dx, float dy, guint state) | 
| static gboolean | _scrolled (GtkWidget *widget, GdkEventScroll *event, gpointer user_data) | 
| void | gui_init (struct dt_iop_module_t *self) | 
| void | gui_cleanup (struct dt_iop_module_t *self) | 
| static void | picker_scale (const float *in, float *out) | 
| static int | _add_node (dt_iop_tonecurve_node_t *tonecurve, int *nodes, float x, float y) | 
| Variables | ||
| struct { | ||
| const char * name | ||
| const char * maker | ||
| const char * model | ||
| int iso_min | ||
| float iso_max | ||
| struct dt_iop_tonecurve_params_t preset | ||
| } | preset_camera_curves [] | |
| #define DT_GUI_CURVE_EDITOR_INSET DT_PIXEL_APPLY_DPI(1) | 
| #define DT_GUI_CURVE_INFL .3f | 
| #define DT_IOP_TONECURVE_MAXNODES 20 | 
| #define DT_IOP_TONECURVE_RES 256 | 
| #define TONECURVE_DEFAULT_STEP (0.001f) | 
| typedef enum dt_iop_tonecurve_autoscale_t dt_iop_tonecurve_autoscale_t | 
| typedef struct dt_iop_tonecurve_data_t dt_iop_tonecurve_data_t | 
| typedef struct dt_iop_tonecurve_global_data_t dt_iop_tonecurve_global_data_t | 
| typedef struct dt_iop_tonecurve_gui_data_t dt_iop_tonecurve_gui_data_t | 
| typedef struct dt_iop_tonecurve_node_t dt_iop_tonecurve_node_t | 
| typedef struct dt_iop_tonecurve_params1_t dt_iop_tonecurve_params1_t | 
| typedef struct dt_iop_tonecurve_params3_t dt_iop_tonecurve_params3_t | 
| typedef struct dt_iop_tonecurve_params4_t dt_iop_tonecurve_params4_t | 
| typedef struct dt_iop_tonecurve_params_t dt_iop_tonecurve_params_t | 
| typedef enum tonecurve_channel_t tonecurve_channel_t | 
| enum tonecurve_channel_t | 
| 
 | inlinestatic | 
References dt_iop_tonecurve_params_t::tonecurve, dt_iop_tonecurve_node_t::x, and dt_iop_tonecurve_node_t::y.
Referenced by dt_iop_tonecurve_button_press(), and dt_iop_tonecurve_motion_notify().
| 
 | static | 
References dt_iop_queue_history_update(), dt_iop_tonecurve_sanity_check(), FALSE, dt_iop_module_t::gui_data, dt_iop_module_t::params, dt_iop_tonecurve_params_t::tonecurve, TRUE, dt_iop_tonecurve_node_t::x, and dt_iop_tonecurve_node_t::y.
Referenced by _scrolled(), dt_iop_tonecurve_key_press(), and dt_iop_tonecurve_motion_notify().
| 
 | static | 
References _move_point_internal(), ch_L, dt_gui_get_scroll_delta(), DT_S_SCALE_MANUAL, dt_iop_module_t::gui_data, dt_iop_module_t::params, TONECURVE_DEFAULT_STEP, and TRUE.
Referenced by gui_init().
| 
 | static | 
References TRUE.
Referenced by gui_init().
| 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 ch_max, dt_iop_tonecurve_data_t::curve, dt_dev_pixelpipe_iop_t::data, and dt_draw_curve_destroy().
| void color_picker_apply | ( | dt_iop_module_t * | self, | 
| GtkWidget * | picker, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) | 
References dt_control_queue_redraw_widget(), dt_iop_module_t::global_data, dt_iop_module_t::picked_color, dt_iop_tonecurve_global_data_t::picked_color, dt_iop_module_t::picked_color_max, dt_iop_tonecurve_global_data_t::picked_color_max, dt_iop_module_t::picked_color_min, dt_iop_tonecurve_global_data_t::picked_color_min, dt_iop_module_t::picked_output_color, dt_iop_tonecurve_global_data_t::picked_output_color, and dt_iop_module_t::widget.
| 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 | ||
| ) | 
References dt_iop_tonecurve_data_t::autoscale_ab, ch_a, ch_b, ch_L, ch_max, dt_iop_tonecurve_data_t::curve, dt_iop_tonecurve_data_t::curve_nodes, dt_iop_tonecurve_data_t::curve_type, dt_dev_pixelpipe_iop_t::data, DT_DEV_PIXELPIPE_PREVIEW, dt_draw_curve_add_point(), dt_draw_curve_calc_values(), dt_draw_curve_destroy(), dt_draw_curve_new(), dt_draw_curve_set_point(), dt_iop_estimate_exp(), dt_Lab_to_prophotorgb(), dt_Lab_to_XYZ(), dt_prophotorgb_to_Lab(), DT_REQUEST_ON, DT_S_SCALE_AUTOMATIC_RGB, DT_S_SCALE_AUTOMATIC_XYZ, dt_XYZ_to_Lab(), Lab(), dt_iop_tonecurve_data_t::preserve_colors, dt_dev_pixelpipe_iop_t::process_cl_ready, dt_dev_pixelpipe_iop_t::request_histogram, dt_iop_tonecurve_data_t::table, dt_dev_pixelpipe_t::type, dt_iop_tonecurve_data_t::unbound_ab, dt_iop_tonecurve_data_t::unbounded_coeffs_ab, and dt_iop_tonecurve_data_t::unbounded_coeffs_L.
| 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_TONES.
| const char ** description | ( | struct dt_iop_module_t * | self | ) | 
References dt_iop_set_description().
| 
 | static | 
References _add_node(), ch_L, darktable, dt_iop_module_t::default_params, darktable_t::develop, dist(), dt_bauhaus_combobox_set(), dt_dev_add_history_item, dt_draw_curve_calc_value(), DT_GUI_CURVE_EDITOR_INSET, dt_modifier_is(), DT_S_SCALE_MANUAL, FALSE, dt_iop_module_t::gui_data, dt_iop_module_t::params, to_lin(), to_log(), dt_iop_tonecurve_params_t::tonecurve, dt_iop_tonecurve_params_t::tonecurve_nodes, dt_iop_tonecurve_params_t::tonecurve_type, TRUE, dt_iop_module_t::widget, width, dt_iop_tonecurve_node_t::x, and dt_iop_tonecurve_node_t::y.
Referenced by gui_init().
| 
 | static | 
References darktable_t::bauhaus, ch_L, dt_lib_t::colorpicker, darktable, dt_cairo_image_surface_create(), dt_draw_curve_add_point(), dt_draw_curve_calc_values(), dt_draw_curve_destroy(), dt_draw_curve_new(), dt_draw_curve_set_point(), dt_draw_grid(), dt_draw_histogram_8(), dt_draw_histogram_8_log_base(), dt_draw_loglog_grid(), dt_draw_semilog_x_grid(), dt_draw_semilog_y_grid(), DT_GUI_CURVE_EDITOR_INSET, dt_iop_estimate_exp(), dt_iop_eval_exp(), DT_IOP_TONECURVE_RES, DT_LIB_COLORPICKER_STATISTIC_MAX, DT_LIB_COLORPICKER_STATISTIC_MEAN, DT_LIB_COLORPICKER_STATISTIC_MIN, DT_PIXEL_APPLY_DPI, DT_REQUEST_COLORPICK_MODULE, dt_iop_module_t::enabled, FALSE, dt_iop_module_t::global_data, dt_bauhaus_t::graph_bg, dt_bauhaus_t::graph_border, dt_bauhaus_t::graph_fg, dt_bauhaus_t::graph_fg_active, dt_iop_module_t::gui_data, height, dt_iop_module_t::histogram, dt_iop_module_t::histogram_max, dt_bauhaus_t::inset_histogram, dt_colorpicker_sample_t::lab, darktable_t::lib, dt_lib_t::live_samples, M_PI, dt_bauhaus_t::pango_font_desc, dt_iop_module_t::params, dt_iop_tonecurve_global_data_t::picked_color, dt_iop_tonecurve_global_data_t::picked_color_max, dt_iop_tonecurve_global_data_t::picked_color_min, dt_iop_tonecurve_global_data_t::picked_output_color, picker_scale(), dt_lib_t::proxy, dt_iop_module_t::request_color_pick, set_color(), to_log(), dt_iop_tonecurve_params_t::tonecurve, TRUE, width, dt_iop_tonecurve_node_t::x, and dt_iop_tonecurve_node_t::y.
Referenced by gui_init().
| 
 | static | 
References TRUE.
Referenced by gui_init().
| 
 | static | 
References _move_point_internal(), ch_L, DT_S_SCALE_MANUAL, FALSE, dt_iop_module_t::gui_data, dt_iop_module_t::params, and TONECURVE_DEFAULT_STEP.
Referenced by gui_init().
| 
 | static | 
References TRUE.
Referenced by gui_init().
| 
 | static | 
References _add_node(), _move_point_internal(), ch_L, darktable, darktable_t::develop, dist(), dt_dev_add_history_item, DT_GUI_CURVE_EDITOR_INSET, DT_S_SCALE_MANUAL, dt_iop_module_t::gui_data, height, dt_iop_module_t::params, to_lin(), to_log(), dt_iop_tonecurve_params_t::tonecurve, TRUE, width, dt_iop_tonecurve_node_t::x, and dt_iop_tonecurve_node_t::y.
Referenced by gui_init().
| 
 | static | 
| 
 | static | 
Referenced by gui_update(), and logbase_callback().
| int flags | ( | ) | 
References IOP_FLAGS_ALLOW_TILING, IOP_FLAGS_DEPRECATED, and IOP_FLAGS_SUPPORTS_BLENDING.
| void gui_changed | ( | dt_iop_module_t * | self, | 
| GtkWidget * | w, | ||
| void * | previous | ||
| ) | 
References ch_L, DT_S_SCALE_AUTOMATIC_RGB, DT_S_SCALE_MANUAL, dt_iop_module_t::gui_data, dt_iop_module_t::params, and dt_iop_module_t::widget.
Referenced by gui_update().
| void gui_cleanup | ( | struct dt_iop_module_t * | self | ) | 
References ch_a, ch_b, ch_L, dt_draw_curve_destroy(), dt_iop_cancel_history_update(), dt_iop_module_t::gui_data, and IOP_GUI_FREE.
| void gui_init | ( | struct dt_iop_module_t * | self | ) | 
References _scrolled(), area_resized(), darktable_t::bauhaus, ch_L, ch_max, darktable, dt_iop_module_t::default_params, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_from_params(), dt_bauhaus_combobox_new(), dt_bauhaus_slider_new_with_range(), dt_bauhaus_widget_set_label(), dt_color_picker_new(), DT_COLOR_PICKER_POINT_AREA, dt_draw_curve_add_point(), dt_draw_curve_new(), DT_GUI_MODULE, dt_iop_tonecurve_button_press(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_enter_notify(), dt_iop_tonecurve_key_press(), dt_iop_tonecurve_leave_notify(), dt_iop_tonecurve_motion_notify(), dt_ui_notebook_new(), dt_ui_notebook_page(), dtgtk_drawing_area_new_with_aspect_ratio(), FALSE, darktable_t::gui, interpolator_callback(), IOP_GUI_ALLOC, logbase_callback(), dt_gui_gtk_t::scroll_mask, tab_switch(), dt_iop_module_t::timeout_handle, dt_iop_tonecurve_params_t::tonecurve, TRUE, and dt_iop_module_t::widget.
| void gui_reset | ( | struct dt_iop_module_t * | self | ) | 
| void gui_update | ( | struct dt_iop_module_t * | self | ) | 
| void init | ( | dt_iop_module_t * | module | ) | 
| 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 dt_iop_tonecurve_data_t::autoscale_ab, ch_a, ch_b, ch_L, ch_max, dt_iop_tonecurve_data_t::curve, dt_iop_tonecurve_data_t::curve_nodes, dt_iop_tonecurve_data_t::curve_type, dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::data_size, dt_iop_module_t::default_params, dt_draw_curve_add_point(), dt_draw_curve_new(), DT_S_SCALE_AUTOMATIC, dt_iop_tonecurve_data_t::table, dt_iop_tonecurve_params_t::tonecurve, dt_iop_tonecurve_params_t::tonecurve_nodes, dt_iop_tonecurve_params_t::tonecurve_type, dt_iop_tonecurve_data_t::unbound_ab, dt_iop_tonecurve_node_t::x, and dt_iop_tonecurve_node_t::y.
| void init_presets | ( | dt_iop_module_so_t * | self | ) | 
for pure power-like functions, we need more nodes close to the bounds
References ch_a, ch_b, ch_L, CUBIC_SPLINE, DEVELOP_BLEND_CS_RGB_DISPLAY, dt_gui_presets_add_generic(), dt_gui_presets_update_filter(), dt_gui_presets_update_iso(), dt_gui_presets_update_ldr(), dt_gui_presets_update_mml(), DT_S_SCALE_AUTOMATIC_RGB, FOR_RAW, MONOTONE_HERMITE, name, dt_iop_module_so_t::op, and preset_camera_curves.
| 
 | static | 
References CATMULL_ROM, ch_a, ch_b, ch_L, CUBIC_SPLINE, darktable, darktable_t::develop, dt_bauhaus_combobox_get(), dt_dev_add_history_item, darktable_t::gui, dt_iop_module_t::gui_data, MONOTONE_HERMITE, dt_iop_module_t::params, dt_gui_gtk_t::reset, and TRUE.
Referenced by gui_init().
| 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 ch_L, CUBIC_SPLINE, MONOTONE_HERMITE, dt_iop_tonecurve_params_t::preserve_colors, dt_iop_tonecurve_params_t::tonecurve, dt_iop_tonecurve_params3_t::tonecurve, dt_iop_tonecurve_params4_t::tonecurve, dt_iop_tonecurve_params_t::tonecurve_autoscale_ab, dt_iop_tonecurve_params3_t::tonecurve_autoscale_ab, dt_iop_tonecurve_params_t::tonecurve_nodes, dt_iop_tonecurve_params3_t::tonecurve_nodes, dt_iop_tonecurve_params_t::tonecurve_preset, dt_iop_tonecurve_params1_t::tonecurve_preset, dt_iop_tonecurve_params3_t::tonecurve_preset, dt_iop_tonecurve_params_t::tonecurve_type, dt_iop_tonecurve_params3_t::tonecurve_type, dt_iop_tonecurve_params_t::tonecurve_unbound_ab, dt_iop_tonecurve_params1_t::tonecurve_x, dt_iop_tonecurve_params1_t::tonecurve_y, dt_iop_tonecurve_node_t::x, and dt_iop_tonecurve_node_t::y.
| 
 | static | 
References darktable, dt_bauhaus_slider_get(), eval_grey(), darktable_t::gui, dt_iop_module_t::gui_data, and dt_gui_gtk_t::reset.
Referenced by gui_init().
| 
 | static | 
Referenced by dt_iop_tonecurve_draw().
| 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 ch_a, ch_b, ch_L, dt_dev_pixelpipe_iop_t::colors, dt_dev_pixelpipe_iop_t::data, dt_iop_module_t::dev, DT_COLORSPACE_PROPHOTO_RGB, dt_iop_eval_exp(), dt_iop_have_required_input_format(), dt_ioppr_add_profile_info_to_list(), dt_Lab_to_prophotorgb(), dt_Lab_to_XYZ(), dt_prophotorgb_to_Lab(), dt_rgb_norm(), DT_RGB_NORM_NONE, DT_S_SCALE_AUTOMATIC, DT_S_SCALE_AUTOMATIC_RGB, DT_S_SCALE_AUTOMATIC_XYZ, DT_S_SCALE_MANUAL, dt_XYZ_to_Lab(), dt_iop_roi_t::height, and dt_iop_roi_t::width.
| 
 | static | 
References darktable, darktable_t::gui, dt_iop_module_t::gui_data, dt_gui_gtk_t::reset, and dt_iop_module_t::widget.
Referenced by gui_init().
| 
 | static | 
References ch_L.
Referenced by dt_iop_tonecurve_button_press(), and dt_iop_tonecurve_motion_notify().
| 
 | static | 
References ch_L.
Referenced by dt_iop_tonecurve_button_press(), dt_iop_tonecurve_draw(), and dt_iop_tonecurve_motion_notify().
| float iso_max | 
Referenced by dt_presets_import_from_file(), dt_presets_save_to_file(), and tree_insert_presets().
| int iso_min | 
Referenced by dt_presets_import_from_file(), dt_presets_save_to_file(), and tree_insert_presets().
| const char* maker | 
| const char* model | 
Referenced by _add_selected_metadata(), _add_tag_button_clicked(), _append_row_to_remove(), _attach_selected_tag(), _attached_key_pressed(), _calculate_sel_on_path(), _calculate_sel_on_tree(), _click_on_view_attached(), _click_on_view_dictionary(), _completion_match_func(), _create_filtered_model(), _delete_selected_rows(), _delete_tree_path(), _delete_tree_path(), _delete_tree_tag(), _detach_selected_tag(), _dictionary_key_pressed(), _display_buttons(), _dnd_clear_root(), _event_dnd_received(), _find_and_rank_matches(), _find_exif_model(), _find_mask_iter_by_values(), _find_metadata_iter_per_text(), _find_root_iter_iter(), _find_tag_iter_id(), _find_tag_iter_tagid(), _find_tag_iter_tagname(), _get_crawler_entry_from_model(), _get_node_for_name(), _get_selected_style_names(), _gui_hist_get_active_items(), _gui_hist_is_copy_module_order_set(), _gui_hist_item_toggled(), _gui_hist_set_items(), _gui_preferences_enum_set(), _gui_styles_get_active_items(), _gui_styles_is_copy_module_order_set(), _gui_styles_is_update_module_order_set(), _gui_styles_item_new_toggled(), _gui_styles_item_toggled(), _gui_styles_select_all_items(), _gui_styles_update_toggled(), _gui_styles_update_view(), _init_treeview(), _is_user_tag(), _lib_masks_get_selected(), _lib_masks_get_values(), _lib_masks_recreate_list(), _lib_masks_remove_item(), _lib_masks_selection_change(), _lib_masks_selection_change_r(), _lib_masks_update_list(), _locations_tree_update(), _make_column_clearable(), _make_column_editable(), _map_source_changed(), _match_func(), _match_selected(), _match_text(), _menuitem_preferences(), _name_editing_done(), _name_start_editing(), _new_button_clicked(), _pop_menu_attached(), _pop_menu_attached_attach_to_all(), _pop_menu_delete_location(), _pop_menu_dictionary(), _pop_menu_dictionary_change_path(), _pop_menu_dictionary_copy_tag(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_delete_tag(), _pop_menu_dictionary_edit_tag(), _pop_menu_dictionary_goto_tag_collection(), _pop_menu_dictionary_set_as_tag(), _pop_menu_edit_location(), _pop_menu_view(), _propagate_sel_to_parents(), _remove_foreach(), _remove_tag_from_list(), _reset_sel_on_path(), _reset_sel_on_path_full(), _row_tooltip_setup(), _search_func(), _select_next_user_attached_tag(), _select_previous_user_attached_tag(), _selection_changed(), _set_iter_name(), _set_location_collection(), _set_matching_tag_visibility(), _set_matching_tag_visibility(), _show_iter_on_view(), _show_location(), _show_tag_on_view(), _sort_model_by_relevance_func(), _sort_model_func(), _sort_model_func(), _sort_position_names_func(), _sort_tree_count_func(), _sort_tree_path_func(), _sort_tree_tag_func(), _styles_row_activated_callback(), _tag_name_changed(), _tag_name_changed(), _tree_button_pressed(), _tree_cell_edited(), _tree_delete_shape(), _tree_difference(), _tree_duplicate_shape(), _tree_exclusion(), _tree_group(), _tree_intersection(), _tree_inverse(), _tree_movedown(), _tree_moveup(), _tree_name_show(), _tree_query_tooltip(), _tree_reveal_func(), _tree_select_show(), _tree_selection_change(), _tree_tagname_show(), _tree_tagname_show_attached(), _tree_tagname_show_dictionary(), _tree_union(), _update_atdetach_buttons(), _update_attached_count(), _update_foreach(), _update_layout(), _update_sel_on_tree(), _update_tag_name_per_name(), _update_tag_name_per_name(), _view_map_geotag_changed(), apply_clicked(), camera_autosearch_clicked(), camera_set(), compare_rows_presets(), delete_clicked(), dt_collection_get_makermodel(), dt_gtkentry_setup_completion(), dt_gui_presets_update_mml(), dt_imageio_lookup_makermodel(), dt_nvidia_gpu_supports_sm_20(), dt_presets_import_from_file(), dt_presets_save_to_file(), dt_rawspeed_lookup_makermodel(), edit_clicked(), entry_activated(), export_clicked(), filter_callback(), find_coeffs(), generate_preset_combo(), gui_init(), gui_init(), gui_update(), import_preset(), init_tab_presets(), lens_autosearch_clicked(), lens_set(), list_match_string(), list_select(), list_view(), main(), on_match_func(), on_match_select(), parse_model(), preset_tune_callback(), range_select(), reload_defaults(), row_activated_with_event(), sync_db_to_xmp(), sync_newest_to_oldest(), sync_oldest_to_newest(), sync_xmp_to_db(), tree_count_show(), tree_expand(), tree_insert_presets(), tree_key_press_presets(), tree_match_string(), tree_on_row_activated(), tree_reveal_func(), tree_row_activated_presets(), tree_set_visibility(), tree_view(), view_onButtonPressed(), view_popup_menu_onRemove(), and view_popup_menu_onSearchFilmroll().
| const char* name | 
Referenced by init_presets().
| struct dt_iop_tonecurve_params_t preset | 
Referenced by _sync_params(), btn_toggled(), color_finetuning_slider(), declare_cat_on_pipe(), dt_colorspaces_create_alternate_profile(), dt_colorspaces_create_darktable_profile(), dt_colorspaces_create_vendor_profile(), dt_lib_presets_apply(), dt_lib_presets_duplicate(), dt_lib_presets_remove(), dt_lib_presets_update(), generate_preset_combo(), gui_reset(), gui_update(), init(), legacy_params(), preset_changed(), and preset_tune_callback().
| const struct { ... } preset_camera_curves[] | 
Referenced by init_presets().