![]() |
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_global_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_global_data_t | dt_iop_invert_global_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_global_data_t dt_iop_invert_global_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_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.
| void color_picker_apply | ( | dt_iop_module_t * | self, |
| GtkWidget * | picker, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
|
static |
References 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, darktable_t::gui, dt_iop_module_t::gui_data, dt_develop_t::image_storage, 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 dt_image_t::buf_dsc, dt_iop_invert_data_t::color, dt_dev_pixelpipe_iop_t::data, dt_iop_module_t::dev, 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, and dt_dev_pixelpipe_iop_t::process_cl_ready.
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| 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 | ) |
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, dt_iop_module_t::gui_data, dt_develop_t::image_storage, and dt_iop_module_t::params.
Referenced by color_picker_apply(), and gui_update().
| 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_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_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, and dt_develop_t::image_storage.
| const char * name | ( | ) |
| 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 dt_iop_invert_data_t::color, dt_dev_pixelpipe_iop_t::colors, dt_dev_pixelpipe_iop_t::data, DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_iop_alpha_copy(), FC(), FCxtrans(), dt_iop_roi_t::height, m, dt_dev_pixelpipe_iop_t::pipe, dt_iop_roi_t::width, dt_iop_roi_t::x, 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, dt_iop_module_t::gui_data, and dt_develop_t::image_storage.