![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"
#include "develop/imageop.h"
#include "develop/imageop_gui.h"
#include "develop/tiling.h"
#include "gui/color_picker_proxy.h"
#include "gui/gtk.h"
#include "iop/iop_api.h"
#include <gtk/gtk.h>
#include <stdlib.h>
Data Structures | |
struct | dt_iop_restorescans_t |
struct | dt_iop_restorescans_gui_data_t |
struct | dt_iop_restorescans_data_t |
Macros | |
#define | SET_PIXEL(array, x, y, z, w) |
Typedefs | |
typedef struct dt_iop_restorescans_t | dt_iop_restorescans_t |
typedef struct dt_iop_restorescans_gui_data_t | dt_iop_restorescans_gui_data_t |
typedef struct dt_iop_restorescans_data_t | dt_iop_restorescans_data_t |
Functions | |
const char * | name () |
int | flags () |
int | default_group () |
int | default_colorspace (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
void | commit_params (dt_iop_module_t *self, dt_iop_params_t *p1, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
void | init_pipe (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
void | cleanup_pipe (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
void | tiling_callback (struct dt_iop_module_t *self, struct dt_dev_pixelpipe_iop_t *piece, const dt_iop_roi_t *roi_in, const dt_iop_roi_t *roi_out, struct dt_develop_tiling_t *tiling) |
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) |
void | gui_init (dt_iop_module_t *self) |
#define SET_PIXEL | ( | array, | |
x, | |||
y, | |||
z, | |||
w | |||
) |
typedef struct dt_iop_restorescans_data_t dt_iop_restorescans_data_t |
typedef struct dt_iop_restorescans_gui_data_t dt_iop_restorescans_gui_data_t |
typedef struct dt_iop_restorescans_t dt_iop_restorescans_t |
void cleanup_pipe | ( | 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 commit_params | ( | 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_RGB.
int default_group | ( | ) |
References IOP_GROUP_FILM.
int flags | ( | ) |
References IOP_FLAGS_ALLOW_TILING, IOP_FLAGS_INCLUDE_IN_STYLES, and IOP_FLAGS_SUPPORTS_BLENDING.
void gui_init | ( | dt_iop_module_t * | self | ) |
References dt_bauhaus_slider_from_params(), DT_BAUHAUS_SPACE, IOP_GUI_ALLOC, and dt_iop_module_t::widget.
void init_pipe | ( | 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().
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_restorescans_data_t::CMY, dt_dev_pixelpipe_iop_t::colors, dt_dev_pixelpipe_iop_t::data, dt_iop_restorescans_data_t::diffusion, dot_product(), dt_alloc_align_float(), dt_free_align, dt_iop_have_required_input_format(), for_each_channel, for_four_channels, dt_iop_roi_t::height, dt_dev_pixelpipe_iop_t::iscale, dt_iop_restorescans_data_t::iterations, kernel(), dt_iop_restorescans_data_t::offsets, dt_iop_roi_t::scale, and dt_iop_roi_t::width.
void tiling_callback | ( | struct dt_iop_module_t * | self, |
struct dt_dev_pixelpipe_iop_t * | piece, | ||
const dt_iop_roi_t * | roi_in, | ||
const dt_iop_roi_t * | roi_out, | ||
struct dt_develop_tiling_t * | tiling | ||
) |