![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"#include "common/darktable.h"#include "common/gaussian.h"#include "common/imagebuf.h"#include "common/math.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/imageop_gui.h"#include "gui/gtk.h"#include "iop/iop_api.h"#include <gtk/gtk.h>#include <stdlib.h>
Include dependency graph for defringe.c:Data Structures | |
| struct | dt_iop_defringe_params_t |
| struct | dt_iop_defringe_gui_data_t |
Macros | |
| #define | MAGIC_THRESHOLD_COEFF 33.0 |
Typedefs | |
| typedef enum dt_iop_defringe_mode_t | dt_iop_defringe_mode_t |
| typedef struct dt_iop_defringe_params_t | dt_iop_defringe_params_t |
| typedef dt_iop_defringe_params_t | dt_iop_defringe_data_t |
| typedef struct dt_iop_defringe_gui_data_t | dt_iop_defringe_gui_data_t |
Enumerations | |
| enum | dt_iop_defringe_mode_t { MODE_GLOBAL_AVERAGE = 0 , MODE_LOCAL_AVERAGE = 1 , MODE_STATIC = 2 } |
Functions | |
| const char * | name () |
| const char * | aliases () |
| const char ** | description (struct dt_iop_module_t *self) |
| int | default_group () |
| int | flags () |
| const char * | deprecated_msg () |
| int | default_colorspace (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
| static void | fib_latt (int *const x, int *const y, float radius, int step, int idx) |
| void | process (struct dt_iop_module_t *module, dt_dev_pixelpipe_iop_t *piece, const void *const i, void *const o, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out) |
| void | gui_init (dt_iop_module_t *self) |
| void | gui_update (dt_iop_module_t *module) |
Variables | |
| static const float | fib [] = { 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233 } |
| #define MAGIC_THRESHOLD_COEFF 33.0 |
| typedef struct dt_iop_defringe_gui_data_t dt_iop_defringe_gui_data_t |
| typedef enum dt_iop_defringe_mode_t dt_iop_defringe_mode_t |
| typedef struct dt_iop_defringe_params_t dt_iop_defringe_params_t |
| const char * aliases | ( | ) |
| 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_REPAIR.
| const char * deprecated_msg | ( | ) |
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
|
inlinestatic |
| int flags | ( | ) |
References IOP_FLAGS_DEPRECATED, and IOP_FLAGS_SUPPORTS_BLENDING.
| void gui_init | ( | dt_iop_module_t * | self | ) |
References dt_bauhaus_combobox_from_params(), dt_bauhaus_slider_from_params(), and IOP_GUI_ALLOC.
| void gui_update | ( | dt_iop_module_t * | module | ) |
| const char * name | ( | ) |
| void process | ( | struct dt_iop_module_t * | module, |
| dt_dev_pixelpipe_iop_t * | piece, | ||
| const void *const | i, | ||
| void *const | o, | ||
| const dt_iop_roi_t *const | roi_in, | ||
| const dt_iop_roi_t *const | roi_out | ||
| ) |
References dt_dev_pixelpipe_iop_t::colors, dt_dev_pixelpipe_iop_t::data, DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_gaussian_blur_4c(), dt_gaussian_free(), dt_gaussian_init(), dt_iop_alpha_copy(), dt_iop_have_required_input_format(), dt_iop_image_copy_by_size(), fib, fib_latt(), height, dt_iop_roi_t::height, MAGIC_THRESHOLD_COEFF, MAX, MIN, MODE_GLOBAL_AVERAGE, MODE_LOCAL_AVERAGE, dt_iop_defringe_params_t::op_mode, dt_dev_pixelpipe_iop_t::pipe, dt_iop_defringe_params_t::radius, dt_iop_roi_t::scale, dt_iop_defringe_params_t::thresh, weight(), width, and dt_iop_roi_t::width.
|
static |
Referenced by fib_latt(), and process().