Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
restorescans.c File Reference
#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>
+ Include dependency graph for restorescans.c:

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, const 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, const struct dt_dev_pixelpipe_t *pipe, const struct dt_dev_pixelpipe_iop_t *piece, struct dt_develop_tiling_t *tiling)
 
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)
 
void gui_init (dt_iop_module_t *self)
 

Macro Definition Documentation

◆ SET_PIXEL

#define SET_PIXEL (   array,
  x,
  y,
  z,
 
)
Value:
array[0] = x; \
array[1] = y; \
array[2] = z; \
array[3] = w;
static const float x
Definition iop_profile.h:239

Typedef Documentation

◆ dt_iop_restorescans_data_t

◆ dt_iop_restorescans_gui_data_t

◆ dt_iop_restorescans_t

Function Documentation

◆ cleanup_pipe()

void cleanup_pipe ( dt_iop_module_t self,
dt_dev_pixelpipe_t pipe,
dt_dev_pixelpipe_iop_t piece 
)

◆ commit_params()

void commit_params ( dt_iop_module_t self,
dt_iop_params_t p1,
dt_dev_pixelpipe_t pipe,
dt_dev_pixelpipe_iop_t piece 
)

◆ default_colorspace()

int default_colorspace ( dt_iop_module_t self,
dt_dev_pixelpipe_t pipe,
const dt_dev_pixelpipe_iop_t piece 
)

References IOP_CS_RGB.

◆ default_group()

int default_group ( )

References IOP_GROUP_FILM.

◆ flags()

◆ gui_init()

◆ init_pipe()

◆ name()

const char * name ( )

◆ process()

◆ tiling_callback()

void tiling_callback ( struct dt_iop_module_t self,
const struct dt_dev_pixelpipe_t pipe,
const struct dt_dev_pixelpipe_iop_t piece,
struct dt_develop_tiling_t tiling 
)
Todo:
: check if that's sufficiently large

References dt_dev_pixelpipe_iop_t::roi_in, and dt_dev_pixelpipe_iop_t::roi_out.