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

Go to the source code of this file.

Macros

#define gweight(i, j, ii, jj)
 
#define gbuf(BUF, A, B)   ((BUF)[4 * ((size_t)width * ((B)) + ((A))) + ch])
 

Functions

static void dt_iop_equalizer_wtf (float *const buf, float **weight_a, const int l, const int width, const int height)
 
static void dt_iop_equalizer_iwtf (float *buf, float **weight_a, const int l, const int width, const int height)
 

Macro Definition Documentation

◆ gbuf

#define gbuf (   BUF,
  A,
  B 
)    ((BUF)[4 * ((size_t)width * ((B)) + ((A))) + ch])

◆ gweight

#define gweight (   i,
  j,
  ii,
  jj 
)
Value:
1.0 / (fabsf(weight_a[l][(size_t)wd * ((j) >> (l - 1)) + ((i) >> (l - 1))] \
- weight_a[l][(size_t)wd * ((jj) >> (l - 1)) + ((ii) >> (l - 1))]) + 1.e-5)

Function Documentation

◆ dt_iop_equalizer_iwtf()

static void dt_iop_equalizer_iwtf ( float *  buf,
float **  weight_a,
const int  l,
const int  width,
const int  height 
)
static

◆ dt_iop_equalizer_wtf()

static void dt_iop_equalizer_wtf ( float *const  buf,
float **  weight_a,
const int  l,
const int  width,
const int  height 
)
static