![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"#include "common/imagebuf.h"#include "control/control.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/imageop_gui.h"#include "develop/develop.h"#include "dtgtk/resetlabel.h"#include "gui/gtk.h"#include "iop/iop_api.h"#include "common/opencl.h"#include <gtk/gtk.h>#include <stdlib.h>
Include dependency graph for hotpixels.c:Data Structures | |
| struct | dt_iop_hotpixels_params_t |
| struct | dt_iop_hotpixels_gui_data_t |
| struct | dt_iop_hotpixels_data_t |
| struct | dt_iop_hotpixels_global_data_t |
Typedefs | |
| typedef struct dt_iop_hotpixels_params_t | dt_iop_hotpixels_params_t |
| typedef struct dt_iop_hotpixels_gui_data_t | dt_iop_hotpixels_gui_data_t |
| typedef struct dt_iop_hotpixels_data_t | dt_iop_hotpixels_data_t |
| typedef struct dt_iop_hotpixels_global_data_t | dt_iop_hotpixels_global_data_t |
| typedef struct dt_iop_hotpixels_data_t dt_iop_hotpixels_data_t |
| typedef struct dt_iop_hotpixels_global_data_t dt_iop_hotpixels_global_data_t |
| typedef struct dt_iop_hotpixels_gui_data_t dt_iop_hotpixels_gui_data_t |
| typedef struct dt_iop_hotpixels_params_t dt_iop_hotpixels_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 * | params, | ||
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References IOP_CS_RAW.
| int default_group | ( | ) |
References IOP_GROUP_REPAIR.
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
| int flags | ( | ) |
References IOP_FLAGS_ONE_INSTANCE, and IOP_FLAGS_SUPPORTS_BLENDING.
| void gui_init | ( | dt_iop_module_t * | self | ) |
| void gui_update | ( | dt_iop_module_t * | self | ) |
Refresh GUI controls from current params and configuration.
References dt_iop_module_t::dev, dt_image_is_monochrome(), dt_image_is_raw(), g, dt_iop_module_t::gui_data, dt_iop_module_t::hide_enable_button, dt_develop_t::image_storage, p, dt_iop_module_t::params, and dt_iop_module_t::widget.
|
inlinestatic |
Referenced by process_bayer().
| 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 input_format | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece, | ||
| dt_iop_buffer_dsc_t * | dsc | ||
| ) |
| 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 | ||
| ) |
|
static |
References __OMP_PARALLEL_FOR__, dt_iop_roi_t::height, hotpixels_testone(), dt_iop_hotpixels_data_t::multiplier, out, ovoid, dt_iop_hotpixels_data_t::permissive, row, threshold, dt_iop_hotpixels_data_t::threshold, width, and dt_iop_roi_t::width.
Referenced by process().
| int process_cl | ( | struct dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| cl_mem | dev_in, | ||
| cl_mem | dev_out | ||
| ) |
References dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_t::devid, dt_dev_pixelpipe_iop_t::dsc_in, dt_opencl_copy_host_to_device_constant(), dt_opencl_enqueue_kernel_2d(), dt_opencl_release_mem_object(), dt_opencl_set_kernel_arg(), error(), FALSE, dt_iop_buffer_dsc_t::filters, dt_iop_module_t::global_data, height, dt_iop_roi_t::height, IS_NULL_PTR, kernel(), dt_iop_hotpixels_global_data_t::kernel_hotpixels_bayer, dt_iop_hotpixels_global_data_t::kernel_hotpixels_xtrans, dt_iop_hotpixels_data_t::multiplier, dt_iop_hotpixels_data_t::permissive, dt_dev_pixelpipe_iop_t::roi_out, ROUNDUPDHT, ROUNDUPDWD, dt_iop_hotpixels_data_t::threshold, TRUE, width, dt_iop_roi_t::width, dt_iop_roi_t::x, dt_iop_buffer_dsc_t::xtrans, and dt_iop_roi_t::y.
|
static |
References __OMP_PARALLEL_FOR__, FCxtrans(), dt_iop_roi_t::height, i, dt_iop_hotpixels_data_t::multiplier, n, out, ovoid, dt_iop_hotpixels_data_t::permissive, row, threshold, dt_iop_hotpixels_data_t::threshold, width, and dt_iop_roi_t::width.
Referenced by process().
| void reload_defaults | ( | dt_iop_module_t * | module | ) |
References dt_image_is_monochrome(), and dt_image_is_raw().