Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
mask_manager.c File Reference
#include "common/imagebuf.h"
#include "develop/develop.h"
+ Include dependency graph for mask_manager.c:

Go to the source code of this file.

Data Structures

struct  dt_iop_mask_manager_params_t
 

Typedefs

typedef struct dt_iop_mask_manager_params_t dt_iop_mask_manager_params_t
 
typedef struct dt_iop_mask_manager_params_t dt_iop_mask_manager_data_t
 

Functions

const char * name ()
 
int groups ()
 
int flags ()
 
int default_colorspace (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece)
 
int legacy_params (dt_iop_module_t *self, const void *const old_params, const int old_version, void *new_params, const int new_version)
 
int process (struct dt_iop_module_t *self, const dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece, const void *const i, void *const o)
 
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)
 
void init_pipe (struct dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece)
 
void cleanup_pipe (struct dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece)
 
void init (dt_iop_module_t *module)
 

Typedef Documentation

◆ dt_iop_mask_manager_data_t

Definition at line 52 of file mask_manager.c.

◆ dt_iop_mask_manager_params_t

Function Documentation

◆ cleanup_pipe()

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

Definition at line 108 of file mask_manager.c.

References dt_dev_pixelpipe_iop_t::data, and dt_free_align.

◆ commit_params()

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 
)

◆ default_colorspace()

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

Definition at line 69 of file mask_manager.c.

References IOP_CS_RGB.

◆ flags()

int flags ( )

Definition at line 64 of file mask_manager.c.

References IOP_FLAGS_HIDDEN, IOP_FLAGS_INTERNAL_MASKS, and IOP_FLAGS_ONE_INSTANCE.

◆ groups()

int groups ( )

Definition at line 59 of file mask_manager.c.

References IOP_GROUP_TECHNICAL.

◆ init()

void init ( dt_iop_module_t module)

Definition at line 114 of file mask_manager.c.

References dt_iop_default_init().

◆ init_pipe()

◆ legacy_params()

int legacy_params ( dt_iop_module_t self,
const void *const  old_params,
const int  old_version,
void new_params,
const int  new_version 
)

Definition at line 74 of file mask_manager.c.

References d, dt_iop_module_t::default_params, and n.

◆ name()

const char * name ( )

Definition at line 54 of file mask_manager.c.

◆ process()

int process ( struct dt_iop_module_t self,
const dt_dev_pixelpipe_t pipe,
const dt_dev_pixelpipe_iop_t piece,
const void *const  i,
void *const  o 
)

Definition at line 88 of file mask_manager.c.