![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"
#include "common/colorspaces_inline_conversions.h"
#include "common/opencl.h"
#include "control/control.h"
#include "develop/develop.h"
#include "develop/imageop.h"
#include "develop/imageop_gui.h"
#include "gui/color_picker_proxy.h"
#include "gui/gtk.h"
#include "iop/iop_api.h"
#include <assert.h>
#include <gtk/gtk.h>
#include <inttypes.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
Data Structures | |
struct | dt_iop_colorize_params1_t |
struct | dt_iop_colorize_params_t |
struct | dt_iop_colorize_gui_data_t |
struct | dt_iop_colorize_data_t |
struct | dt_iop_colorize_global_data_t |
Typedefs | |
typedef struct dt_iop_colorize_params1_t | dt_iop_colorize_params1_t |
typedef struct dt_iop_colorize_params_t | dt_iop_colorize_params_t |
typedef struct dt_iop_colorize_gui_data_t | dt_iop_colorize_gui_data_t |
typedef struct dt_iop_colorize_data_t | dt_iop_colorize_data_t |
typedef struct dt_iop_colorize_global_data_t | dt_iop_colorize_global_data_t |
typedef struct dt_iop_colorize_data_t dt_iop_colorize_data_t |
typedef struct dt_iop_colorize_global_data_t dt_iop_colorize_global_data_t |
typedef struct dt_iop_colorize_gui_data_t dt_iop_colorize_gui_data_t |
typedef struct dt_iop_colorize_params1_t dt_iop_colorize_params1_t |
typedef struct dt_iop_colorize_params_t dt_iop_colorize_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 | ||
) |
References darktable, darktable_t::develop, dt_bauhaus_slider_set(), dt_dev_add_history_item, dt_Lab_to_XYZ(), dt_XYZ_to_sRGB(), darktable_t::gui, dt_iop_module_t::gui_data, H, dt_iop_module_t::params, dt_iop_module_t::picked_color, dt_gui_gtk_t::reset, rgb2hsl(), S, TRUE, and update_saturation_slider_end_color().
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_COLOR.
const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
int flags | ( | ) |
void gui_changed | ( | dt_iop_module_t * | self, |
GtkWidget * | w, | ||
void * | previous | ||
) |
void gui_init | ( | struct dt_iop_module_t * | self | ) |
void gui_reset | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_color_picker_reset(), and TRUE.
void gui_update | ( | struct dt_iop_module_t * | self | ) |
void init | ( | dt_iop_module_t * | module | ) |
References dt_iop_module_t::default_params, and dt_iop_default_init().
void init_global | ( | dt_iop_module_so_t * | module | ) |
References dt_opencl_create_kernel(), and dt_iop_colorize_global_data_t::kernel_colorize.
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 | ||
) |
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 | ||
) |
|
inlinestatic |
References dt_bauhaus_slider_set_stop(), and hsl2rgb().
Referenced by color_picker_apply(), gui_changed(), and gui_update().