![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "bauhaus/bauhaus.h"
#include "common/debug.h"
#include "common/math.h"
#include "common/opencl.h"
#include "control/control.h"
#include "develop/develop.h"
#include "develop/imageop.h"
#include "develop/imageop_gui.h"
#include "dtgtk/gradientslider.h"
#include "dtgtk/togglebutton.h"
#include "gui/color_picker_proxy.h"
#include "gui/gtk.h"
#include "gui/presets.h"
#include "iop/iop_api.h"
Data Structures | |
struct | dt_iop_relight_params_t |
struct | dt_iop_relight_gui_data_t |
struct | dt_iop_relight_data_t |
struct | dt_iop_relight_global_data_t |
Macros | |
#define | GAUSS(a, b, c, x) (a * powf(2.718281828f, (-powf((x - b), 2) / (powf(c, 2))))) |
#define | NEUTRAL_GRAY 0.5 |
Typedefs | |
typedef struct dt_iop_relight_params_t | dt_iop_relight_params_t |
typedef struct dt_iop_relight_gui_data_t | dt_iop_relight_gui_data_t |
typedef struct dt_iop_relight_data_t | dt_iop_relight_data_t |
typedef struct dt_iop_relight_global_data_t | dt_iop_relight_global_data_t |
#define GAUSS | ( | a, | |
b, | |||
c, | |||
x | |||
) | (a * powf(2.718281828f, (-powf((x - b), 2) / (powf(c, 2))))) |
#define NEUTRAL_GRAY 0.5 |
typedef struct dt_iop_relight_data_t dt_iop_relight_data_t |
typedef struct dt_iop_relight_global_data_t dt_iop_relight_global_data_t |
typedef struct dt_iop_relight_gui_data_t dt_iop_relight_gui_data_t |
typedef struct dt_iop_relight_params_t dt_iop_relight_params_t |
|
static |
References darktable, darktable_t::develop, dt_dev_add_history_item, dt_iop_color_picker_reset(), dtgtk_gradient_slider_get_value(), darktable_t::gui, dt_iop_module_t::params, dt_gui_gtk_t::reset, and 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 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 * | 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_EFFECTS.
const char * deprecated_msg | ( | ) |
int flags | ( | ) |
void gui_init | ( | struct dt_iop_module_t * | self | ) |
References _gradient_L, center_callback(), dt_bauhaus_slider_from_params(), dt_bauhaus_slider_set_format(), dt_color_picker_new(), DT_COLOR_PICKER_POINT_AREA, DTGTK_GRADIENT_SLIDER, dtgtk_gradient_slider_new_with_color_and_name(), FALSE, IOP_GUI_ALLOC, NEUTRAL_GRAY, TRUE, and dt_iop_module_t::widget.
void gui_update | ( | struct dt_iop_module_t * | self | ) |
void init_global | ( | dt_iop_module_so_t * | module | ) |
References dt_opencl_create_kernel(), and dt_iop_relight_global_data_t::kernel_relight.
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.
void init_presets | ( | dt_iop_module_so_t * | self | ) |
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 | ||
) |