![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"#include "common/imagebuf.h"#include "common/opencl.h"#include "control/control.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/imageop_gui.h"#include "develop/tiling.h"#include "gui/gtk.h"#include "gui/presets.h"#include "iop/iop_api.h"#include <assert.h>#include <math.h>#include <stdlib.h>#include <string.h>#include <gtk/gtk.h>#include <inttypes.h>
Include dependency graph for sharpen.c:Data Structures | |
| struct | dt_iop_sharpen_params_t |
| struct | dt_iop_sharpen_gui_data_t |
| struct | dt_iop_sharpen_data_t |
| struct | dt_iop_sharpen_global_data_t |
Macros | |
| #define | MAXR 12 |
Typedefs | |
| typedef struct dt_iop_sharpen_params_t | dt_iop_sharpen_params_t |
| typedef struct dt_iop_sharpen_gui_data_t | dt_iop_sharpen_gui_data_t |
| typedef struct dt_iop_sharpen_data_t | dt_iop_sharpen_data_t |
| typedef struct dt_iop_sharpen_global_data_t | dt_iop_sharpen_global_data_t |
| #define MAXR 12 |
| typedef struct dt_iop_sharpen_data_t dt_iop_sharpen_data_t |
| typedef struct dt_iop_sharpen_global_data_t dt_iop_sharpen_global_data_t |
| typedef struct dt_iop_sharpen_gui_data_t dt_iop_sharpen_gui_data_t |
| typedef struct dt_iop_sharpen_params_t dt_iop_sharpen_params_t |
| void cleanup_global | ( | dt_iop_module_so_t * | module | ) |
| 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.
| void commit_params | ( | struct 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_LAB.
| int default_group | ( | ) |
References IOP_GROUP_SHARPNESS.
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
| int flags | ( | ) |
References IOP_FLAGS_ALLOW_TILING, IOP_FLAGS_DEPRECATED, and IOP_FLAGS_SUPPORTS_BLENDING.
| void gui_init | ( | struct dt_iop_module_t * | self | ) |
|
static |
References dt_alloc_align_float(), and weight().
Referenced by process().
| void init_global | ( | dt_iop_module_so_t * | module | ) |
| 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, and dt_dev_pixelpipe_iop_t::data_size.
| void init_presets | ( | dt_iop_module_so_t * | self | ) |
| 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_sharpen_data_t::amount, dt_dev_pixelpipe_iop_t::colors, copy_pixel(), dt_dev_pixelpipe_iop_t::data, DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_free_align, dt_get_perthread, DT_IMGSZ_PERTHREAD, DT_IMGSZ_WIDTH, dt_iop_alloc_image_buffers(), dt_iop_alpha_copy(), dt_iop_copy_image_roi(), dt_iop_have_required_input_format(), dt_iop_image_copy_by_size(), for_four_channels, dt_iop_roi_t::height, init_gaussian_kernel(), MAX, MAXR, MIN, dt_dev_pixelpipe_iop_t::pipe, dt_iop_sharpen_data_t::radius, dt_iop_roi_t::scale, dt_iop_sharpen_data_t::threshold, TRUE, width, 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 | ||
| ) |
References dt_dev_pixelpipe_iop_t::data, MAXR, MIN, dt_iop_sharpen_data_t::radius, and dt_iop_roi_t::scale.