![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "pixel/gaussian.h"#include "common/imagebuf.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/imageop_gui.h"#include "iop/noise_generator.h"#include "iop/iop_api.h"#include <assert.h>#include <gtk/gtk.h>#include <math.h>#include <stdlib.h>#include <string.h>#include <inttypes.h>
Include dependency graph for censorize.c:Go to the source code of this file.
Data Structures | |
| struct | dt_iop_censorize_params_t |
| struct | dt_iop_censorize_gui_data_t |
| struct | dt_iop_censorize_global_data_t |
| struct | point_t |
Typedefs | |
| typedef struct dt_iop_censorize_params_t | dt_iop_censorize_params_t |
| typedef struct dt_iop_censorize_gui_data_t | dt_iop_censorize_gui_data_t |
| typedef dt_iop_censorize_params_t | dt_iop_censorize_data_t |
| typedef struct dt_iop_censorize_global_data_t | dt_iop_censorize_global_data_t |
| typedef struct point_t | point_t |
Functions | |
| const char * | name () |
| 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) |
| static __DT_CLONE_TARGETS__ void | make_noise (float *const output, const float noise, const size_t width, const size_t height) |
| __DT_CLONE_TARGETS__ 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 | gui_init (struct dt_iop_module_t *self) |
Definition at line 69 of file censorize.c.
| typedef struct dt_iop_censorize_global_data_t dt_iop_censorize_global_data_t |
| typedef struct dt_iop_censorize_gui_data_t dt_iop_censorize_gui_data_t |
| typedef struct dt_iop_censorize_params_t dt_iop_censorize_params_t |
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Definition at line 106 of file censorize.c.
References IOP_CS_RGB.
| int default_group | ( | ) |
Definition at line 101 of file censorize.c.
References IOP_GROUP_EFFECTS.
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
Definition at line 87 of file censorize.c.
References dt_iop_set_description().
| int flags | ( | ) |
Definition at line 96 of file censorize.c.
References IOP_FLAGS_INCLUDE_IN_STYLES, and IOP_FLAGS_SUPPORTS_BLENDING.
| void gui_init | ( | struct dt_iop_module_t * | self | ) |
Definition at line 425 of file censorize.c.
References dt_bauhaus_slider_from_params(), g, and IOP_GUI_ALLOC.
|
inlinestatic |
Definition at line 112 of file censorize.c.
References __OMP_PARALLEL_FOR_SIMD__, DT_ALIGNED_ARRAY, height, i, noise, splitmix32(), state, width, and xoshiro128plus().
Referenced by process().
| const char * name | ( | ) |
Definition at line 82 of file censorize.c.
| __DT_CLONE_TARGETS__ 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 | ||
| ) |
Definition at line 139 of file censorize.c.
References __OMP_PARALLEL_FOR__, ch, dt_dev_pixelpipe_iop_t::data, dt_dev_get_module_scale(), DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_gaussian_blur_4c(), dt_gaussian_free(), dt_gaussian_init(), DT_IS_ALIGNED, dt_pixelpipe_cache_alloc_align_float, dt_pixelpipe_cache_free_align, dt_simd_memcpy(), for_four_channels, g, height, dt_iop_roi_t::height, i, IS_NULL_PTR, k, make_noise(), dt_dev_pixelpipe_t::mask_display, dt_iop_censorize_params_t::noise, noise, out, ovoid, dt_iop_censorize_params_t::pixelate, dt_iop_censorize_params_t::radius_1, dt_iop_censorize_params_t::radius_2, RGB, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, width, dt_iop_roi_t::width, x, point_t::x, and point_t::y.