Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
hotpixels.c File Reference
#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
 

Functions

const char * name ()
 
const char ** description (struct dt_iop_module_t *self)
 
int default_group ()
 
int flags ()
 
int default_colorspace (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece)
 
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)
 
static void hotpixels_testone (const float *const in, const float mid, const int offset, int *const count, float *const maxin)
 
static __DT_CLONE_TARGETS__ void process_bayer (const dt_iop_hotpixels_data_t *data, const void *const ivoid, void *const ovoid, const dt_iop_roi_t *const roi_out)
 
static __DT_CLONE_TARGETS__ void process_xtrans (const dt_iop_hotpixels_data_t *data, const void *const ivoid, void *const ovoid, const dt_iop_roi_t *const roi_out, const uint8_t(*const xtrans)[6])
 
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)
 
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)
 
void init_global (dt_iop_module_so_t *module)
 
void cleanup_global (dt_iop_module_so_t *module)
 
void reload_defaults (dt_iop_module_t *module)
 
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)
 Refresh GUI controls from current params and configuration.
 
void gui_init (dt_iop_module_t *self)
 

Typedef Documentation

◆ dt_iop_hotpixels_data_t

◆ dt_iop_hotpixels_global_data_t

◆ dt_iop_hotpixels_gui_data_t

◆ dt_iop_hotpixels_params_t

Function Documentation

◆ cleanup_global()

◆ cleanup_pipe()

void cleanup_pipe ( struct dt_iop_module_t self,
dt_dev_pixelpipe_t pipe,
dt_dev_pixelpipe_iop_t piece 
)

◆ commit_params()

◆ default_colorspace()

int default_colorspace ( dt_iop_module_t self,
dt_dev_pixelpipe_t pipe,
const dt_dev_pixelpipe_iop_t piece 
)

References IOP_CS_RAW.

◆ default_group()

int default_group ( )

References IOP_GROUP_REPAIR.

◆ description()

const char ** description ( struct dt_iop_module_t self)

◆ flags()

int flags ( )

◆ gui_init()

◆ gui_update()

◆ hotpixels_testone()

static void hotpixels_testone ( const float *const  in,
const float  mid,
const int  offset,
int *const  count,
float *const  maxin 
)
inlinestatic

Referenced by process_bayer().

◆ init_global()

◆ init_pipe()

◆ input_format()

◆ name()

const char * name ( )

◆ process()

◆ process_bayer()

◆ process_cl()

◆ process_xtrans()

static __DT_CLONE_TARGETS__ void process_xtrans ( const dt_iop_hotpixels_data_t data,
const void *const  ivoid,
void *const  ovoid,
const dt_iop_roi_t *const  roi_out,
const uint8_t(*)  xtrans[6] 
)
static

◆ reload_defaults()

void reload_defaults ( dt_iop_module_t module)