Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
gaussian.h File Reference
#include "common/opencl.h"
#include <assert.h>
#include <math.h>
+ Include dependency graph for gaussian.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dt_gaussian_t
 

Typedefs

typedef enum dt_gaussian_order_t dt_gaussian_order_t
 
typedef struct dt_gaussian_t dt_gaussian_t
 

Enumerations

enum  dt_gaussian_order_t {
  DT_IOP_GAUSSIAN_ZERO = 0 ,
  DT_IOP_GAUSSIAN_ONE = 1 ,
  DT_IOP_GAUSSIAN_TWO = 2
}
 

Functions

dt_gaussian_tdt_gaussian_init (const int width, const int height, const int channels, const float *max, const float *min, const float sigma, const int order)
 
size_t dt_gaussian_memory_use (const int width, const int height, const int channels)
 
size_t dt_gaussian_singlebuffer_size (const int width, const int height, const int channels)
 
void dt_gaussian_blur (dt_gaussian_t *g, const float *const in, float *const out)
 
void dt_gaussian_blur_4c (dt_gaussian_t *g, const float *const in, float *const out)
 
void dt_gaussian_free (dt_gaussian_t *g)
 

Typedef Documentation

◆ dt_gaussian_order_t

◆ dt_gaussian_t

typedef struct dt_gaussian_t dt_gaussian_t

Enumeration Type Documentation

◆ dt_gaussian_order_t

Enumerator
DT_IOP_GAUSSIAN_ZERO 
DT_IOP_GAUSSIAN_ONE 
DT_IOP_GAUSSIAN_TWO 

Function Documentation

◆ dt_gaussian_blur()

void dt_gaussian_blur ( dt_gaussian_t g,
const float *const  in,
float *const  out 
)

◆ dt_gaussian_blur_4c()

◆ dt_gaussian_free()

◆ dt_gaussian_init()

dt_gaussian_t * dt_gaussian_init ( const int  width,
const int  height,
const int  channels,
const float *  max,
const float *  min,
const float  sigma,
const int  order 
)

◆ dt_gaussian_memory_use()

size_t dt_gaussian_memory_use ( const int  width,
const int  height,
const int  channels 
)

References height, and width.

Referenced by tiling_callback().

◆ dt_gaussian_singlebuffer_size()

size_t dt_gaussian_singlebuffer_size ( const int  width,
const int  height,
const int  channels 
)

References BLOCKSIZE, height, and width.

Referenced by tiling_callback().