![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <gtk/gtk.h>#include <stdlib.h>#include "common/colorspaces.h"#include "control/control.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "dtgtk/button.h"#include "dtgtk/resetlabel.h"#include "gui/color_picker_proxy.h"#include "gui/gtk.h"#include "iop/iop_api.h"
Include dependency graph for invert.c:Data Structures | |
| struct | dt_iop_invert_params_t |
| struct | dt_iop_invert_gui_data_t |
| struct | dt_iop_invert_data_t |
Typedefs | |
| typedef struct dt_iop_invert_params_t | dt_iop_invert_params_t |
| typedef struct dt_iop_invert_gui_data_t | dt_iop_invert_gui_data_t |
| typedef struct dt_iop_invert_data_t | dt_iop_invert_data_t |
| typedef struct dt_iop_invert_data_t dt_iop_invert_data_t |
| typedef struct dt_iop_invert_gui_data_t dt_iop_invert_gui_data_t |
| typedef struct dt_iop_invert_params_t dt_iop_invert_params_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, and dt_free_align.
| void color_picker_apply | ( | dt_iop_module_t * | self, |
| GtkWidget * | picker, | ||
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
|
static |
References c, darktable, dt_iop_module_t::dev, darktable_t::develop, dt_colorspaces_rgb_to_cygm(), dt_dev_add_history_item, DT_IMAGE_4BAYER, dt_image_is_monochrome(), dt_iop_color_picker_reset(), dt_image_t::flags, g, darktable_t::gui, dt_iop_module_t::gui_data, dt_develop_t::image_storage, p, dt_iop_module_t::params, dt_gui_gtk_t::reset, and TRUE.
Referenced by gui_init().
| 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 | ||
| ) |
References d, dt_dev_pixelpipe_iop_t::data, dt_iop_module_t::dev, dt_image_t::dsc, dt_dev_pixelpipe_iop_t::dsc_in, dt_dev_pixelpipe_iop_t::dsc_out, DT_IMAGE_4BAYER, dt_dev_pixelpipe_iop_t::enabled, dt_iop_buffer_dsc_t::filters, dt_image_t::flags, dt_iop_module_t::hide_enable_button, dt_dev_pixelpipe_t::image, dt_develop_t::image_storage, p, dt_dev_pixelpipe_iop_t::process_cl_ready, and dt_iop_buffer_dsc_t::processed_maximum.
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References IOP_CS_RAW.
| int default_group | ( | ) |
References IOP_GROUP_FILM.
| const char * deprecated_msg | ( | ) |
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
| int flags | ( | ) |
References IOP_FLAGS_DEPRECATED, and IOP_FLAGS_ONE_INSTANCE.
| void gui_init | ( | dt_iop_module_t * | self | ) |
| void gui_update | ( | dt_iop_module_t * | self | ) |
Refresh GUI controls from current params and configuration.
References gui_update_from_coeffs().
|
static |
References dt_iop_module_t::dev, dt_colorspaces_cygm_to_rgb(), DT_IMAGE_4BAYER, dt_image_t::flags, for_four_channels, g, dt_iop_module_t::gui_data, dt_develop_t::image_storage, p, dt_iop_module_t::params, and rgb.
Referenced by color_picker_apply(), and gui_update().
| 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, dt_dev_pixelpipe_iop_t::data_size, and dt_calloc_align().
| 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_image_t::adobe_XYZ_to_CAM, dt_image_t::camera_makermodel, dt_iop_invert_params_t::color, dt_image_t::d65_color_matrix, dt_iop_module_t::dev, dt_colorspaces_conversion_matrices_rgb(), dt_colorspaces_rgb_to_cygm(), dt_control_log(), DT_IMAGE_4BAYER, dt_image_t::flags, dt_develop_t::image_storage, and n.
| const char * name | ( | ) |
| void output_format | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece, | ||
| dt_iop_buffer_dsc_t * | dsc | ||
| ) |
References default_output_format().
| 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 c, dt_iop_buffer_dsc_t::channels, d, dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::dsc_in, DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_iop_alpha_copy(), FC(), FCxtrans(), dt_iop_buffer_dsc_t::filters, dt_iop_roi_t::height, i, m, dt_dev_pixelpipe_t::mask_display, out, p, dt_iop_buffer_dsc_t::processed_maximum, dt_dev_pixelpipe_iop_t::roi_out, dt_iop_roi_t::width, dt_iop_roi_t::x, dt_iop_buffer_dsc_t::xtrans, and dt_iop_roi_t::y.
| void reload_defaults | ( | dt_iop_module_t * | self | ) |
References dt_image_t::adobe_XYZ_to_CAM, dt_image_t::camera_makermodel, dt_image_t::d65_color_matrix, dt_iop_module_t::dev, dt_colorspaces_conversion_matrices_rgb(), dt_control_log(), DT_IMAGE_4BAYER, dt_image_is_monochrome(), dtgtk_reset_label_set_text(), dt_image_t::flags, g, dt_iop_module_t::gui_data, and dt_develop_t::image_storage.