Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dwt.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dwt_params_t
 
struct  dt_dwt_cl_global_t
 
struct  dwt_params_cl_t
 

Typedefs

typedef struct dwt_params_t dwt_params_t
 
typedef int() _dwt_layer_func(float *layer, dwt_params_t *const p, const int scale)
 
typedef struct dt_dwt_cl_global_t dt_dwt_cl_global_t
 
typedef struct dwt_params_cl_t dwt_params_cl_t
 
typedef cl_int() _dwt_layer_func_cl(cl_mem layer, dwt_params_cl_t *const p, const int scale)
 

Functions

dwt_params_tdt_dwt_init (float *image, const int width, const int height, const int ch, const int scales, const int return_layer, const int merge_from_scale, void *user_data, const float preview_scale, const int use_sse)
 
void dt_dwt_free (dwt_params_t *p)
 
int dwt_get_max_scale (dwt_params_t *p)
 
int dt_dwt_first_scale_visible (dwt_params_t *p)
 
int dwt_decompose (dwt_params_t *p, _dwt_layer_func layer_func)
 
int dwt_denoise (float *const img, const int width, const int height, const int bands, const float *const noise)
 
static int dwt_interleave_rows (const int rowid, const int height, const int stride)
 
dt_dwt_cl_global_tdt_dwt_init_cl_global (void)
 
void dt_dwt_free_cl_global (dt_dwt_cl_global_t *g)
 
dwt_params_cl_tdt_dwt_init_cl (const int devid, cl_mem image, const int width, const int height, const int scales, const int return_layer, const int merge_from_scale, void *user_data, const float preview_scale)
 
void dt_dwt_free_cl (dwt_params_cl_t *p)
 
int dwt_get_max_scale_cl (dwt_params_cl_t *p)
 
int dt_dwt_first_scale_visible_cl (dwt_params_cl_t *p)
 
cl_int dwt_decompose_cl (dwt_params_cl_t *p, _dwt_layer_func_cl layer_func)
 

Typedef Documentation

◆ _dwt_layer_func

typedef int() _dwt_layer_func(float *layer, dwt_params_t *const p, const int scale)

◆ _dwt_layer_func_cl

typedef cl_int() _dwt_layer_func_cl(cl_mem layer, dwt_params_cl_t *const p, const int scale)

◆ dt_dwt_cl_global_t

◆ dwt_params_cl_t

◆ dwt_params_t

typedef struct dwt_params_t dwt_params_t

Function Documentation

◆ dt_dwt_first_scale_visible()

int dt_dwt_first_scale_visible ( dwt_params_t p)

References _first_scale_visible(), and p.

Referenced by process_internal().

◆ dt_dwt_first_scale_visible_cl()

int dt_dwt_first_scale_visible_cl ( dwt_params_cl_t p)

References _first_scale_visible(), and p.

Referenced by process_cl().

◆ dt_dwt_free()

void dt_dwt_free ( dwt_params_t p)

References dt_free, IS_NULL_PTR, and p.

Referenced by process_internal().

◆ dt_dwt_free_cl()

void dt_dwt_free_cl ( dwt_params_cl_t p)

References dt_free, IS_NULL_PTR, and p.

Referenced by process_cl().

◆ dt_dwt_free_cl_global()

void dt_dwt_free_cl_global ( dt_dwt_cl_global_t g)

◆ dt_dwt_init()

dwt_params_t * dt_dwt_init ( float *  image,
const int  width,
const int  height,
const int  ch,
const int  scales,
const int  return_layer,
const int  merge_from_scale,
void user_data,
const float  preview_scale,
const int  use_sse 
)

References ch, height, dwt_params_t::image, IS_NULL_PTR, p, and width.

Referenced by process_internal().

◆ dt_dwt_init_cl()

dwt_params_cl_t * dt_dwt_init_cl ( const int  devid,
cl_mem  image,
const int  width,
const int  height,
const int  scales,
const int  return_layer,
const int  merge_from_scale,
void user_data,
const float  preview_scale 
)

◆ dt_dwt_init_cl_global()

◆ dwt_decompose()

int dwt_decompose ( dwt_params_t p,
_dwt_layer_func  layer_func 
)

◆ dwt_decompose_cl()

cl_int dwt_decompose_cl ( dwt_params_cl_t p,
_dwt_layer_func_cl  layer_func 
)

◆ dwt_denoise()

int dwt_denoise ( float *const  img,
const int  width,
const int  height,
const int  bands,
const float *const  noise 
)

◆ dwt_get_max_scale()

int dwt_get_max_scale ( dwt_params_t p)

References _get_max_scale(), and p.

Referenced by dwt_decompose(), and process_internal().

◆ dwt_get_max_scale_cl()

int dwt_get_max_scale_cl ( dwt_params_cl_t p)

References _get_max_scale(), and p.

Referenced by dwt_decompose_cl(), and process_cl().

◆ dwt_interleave_rows()

static int dwt_interleave_rows ( const int  rowid,
const int  height,
const int  stride 
)
inlinestatic