![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"#include "common/opencl.h"#include "control/control.h"#include "develop/imageop.h"#include "develop/imageop_gui.h"#include "gui/gtk.h"#include "iop/iop_api.h"#include <assert.h>#include <gtk/gtk.h>#include <stdlib.h>
Include dependency graph for colorcontrast.c:Data Structures | |
| struct | dt_iop_colorcontrast_params1_t |
| struct | dt_iop_colorcontrast_params_t |
| struct | dt_iop_colorcontrast_gui_data_t |
| struct | dt_iop_colorcontrast_data_t |
Typedefs | |
| typedef struct dt_iop_colorcontrast_params1_t | dt_iop_colorcontrast_params1_t |
| typedef struct dt_iop_colorcontrast_params_t | dt_iop_colorcontrast_params_t |
| typedef struct dt_iop_colorcontrast_gui_data_t | dt_iop_colorcontrast_gui_data_t |
| typedef struct dt_iop_colorcontrast_data_t | dt_iop_colorcontrast_data_t |
Functions | |
| const char * | name () |
| const char * | aliases () |
| const char ** | description (struct dt_iop_module_t *self) |
| 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) |
| int | legacy_params (dt_iop_module_t *self, const void *const old_params, const int old_version, void *new_params, const int new_version) |
| static void | clamped_scaling (float *const restrict out, const float *const restrict in, const dt_aligned_pixel_t slope, const dt_aligned_pixel_t offset, const dt_aligned_pixel_t low, const dt_aligned_pixel_t high) |
| 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 | 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 | gui_update (dt_iop_module_t *self) |
| void | gui_init (dt_iop_module_t *self) |
| typedef struct dt_iop_colorcontrast_data_t dt_iop_colorcontrast_data_t |
| typedef struct dt_iop_colorcontrast_gui_data_t dt_iop_colorcontrast_gui_data_t |
| typedef struct dt_iop_colorcontrast_params1_t dt_iop_colorcontrast_params1_t |
| typedef struct dt_iop_colorcontrast_params_t dt_iop_colorcontrast_params_t |
| const char * aliases | ( | ) |
|
inlinestatic |
References c, CLAMPS, for_each_channel, and out.
Referenced by process().
| 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, and dt_free_align.
| 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 | ||
| ) |
commit is the synch point between core and gui, so it copies params to pipe data.
References d, dt_dev_pixelpipe_iop_t::data, and p.
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References IOP_CS_LAB.
| int default_group | ( | ) |
References IOP_GROUP_COLOR.
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
| int flags | ( | ) |
| void gui_init | ( | dt_iop_module_t * | self | ) |
References dt_bauhaus_slider_from_params(), g, and IOP_GUI_ALLOC.
| void gui_update | ( | dt_iop_module_t * | self | ) |
References dt_bauhaus_slider_set(), g, dt_iop_module_t::gui_data, p, and dt_iop_module_t::params.
| 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, dt_dev_pixelpipe_iop_t::data_size, and dt_calloc_align().
| int legacy_params | ( | dt_iop_module_t * | self, |
| const void *const | old_params, | ||
| const int | old_version, | ||
| void * | new_params, | ||
| const int | new_version | ||
| ) |
| const char * name | ( | ) |
| 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 | ||
| ) |