![]() |
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, and dt_free_align.
| 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 | ||
| ) |
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_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_pixelpipe_cache_alloc_align_float_cache, 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, dt_dev_pixelpipe_iop_t::data_size, and dt_calloc_align().
| void init_presets | ( | dt_iop_module_so_t * | self | ) |
| 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 | ||
| ) |
References dt_iop_sharpen_data_t::amount, c, copy_pixel(), dt_dev_pixelpipe_iop_t::data, DT_DEV_PIXELPIPE_DISPLAY_MASK, 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_image_copy_by_size(), dt_pixelpipe_cache_free_align, for_four_channels, dt_iop_roi_t::height, i, init_gaussian_kernel(), dt_dev_pixelpipe_t::mask_display, MAX, MAXR, MIN, dt_iop_sharpen_data_t::radius, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, dt_iop_roi_t::scale, threshold, dt_iop_sharpen_data_t::threshold, TRUE, width, and dt_iop_roi_t::width.
| 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 | ||
| ) |
References d, dt_dev_pixelpipe_iop_t::data, MAXR, MIN, dt_dev_pixelpipe_iop_t::roi_in, and dt_iop_roi_t::scale.