Go to the source code of this file.
|
static INLINE float | limf (float x, float min, float max) |
|
static INLINE float | median3f (float x0, float x1, float x2) |
|
static INLINE float | median9f (float a0, float a1, float a2, float a3, float a4, float a5, float a6, float a7, float a8) |
|
static INLINE float | calc_gamma (float val, float *table) |
|
static void | lmmse_demosaic (dt_dev_pixelpipe_iop_t *piece, float *const restrict out, const float *const restrict in, dt_iop_roi_t *const roi_out, const dt_iop_roi_t *const roi_in, const uint32_t filters, const uint32_t mode, float *const restrict gamma_in, float *const restrict gamma_out) |
|
◆ BORDER_AROUND
◆ LMMSE_GRP
◆ LMMSE_OVERLAP
◆ LMMSE_TILESIZE
◆ LMMSE_TILEVALID
◆ w1
◆ w2
◆ w3
◆ w4
◆ calc_gamma()
static INLINE float calc_gamma |
( |
float |
val, |
|
|
float * |
table |
|
) |
| |
|
static |
◆ limf()
static INLINE float limf |
( |
float |
x, |
|
|
float |
min, |
|
|
float |
max |
|
) |
| |
|
static |
◆ lmmse_demosaic()
static void lmmse_demosaic |
( |
dt_dev_pixelpipe_iop_t * |
piece, |
|
|
float *const restrict |
out, |
|
|
const float *const restrict |
in, |
|
|
dt_iop_roi_t *const |
roi_out, |
|
|
const dt_iop_roi_t *const |
roi_in, |
|
|
const uint32_t |
filters, |
|
|
const uint32_t |
mode, |
|
|
float *const restrict |
gamma_in, |
|
|
float *const restrict |
gamma_out |
|
) |
| |
|
static |
References BORDER_AROUND, c1, calc_gamma(), dt_alloc_align_float(), dt_control_log(), dt_free_align, FC(), height, dt_iop_roi_t::height, limf(), LMMSE_GRP, LMMSE_OVERLAP, LMMSE_TILESIZE, LMMSE_TILEVALID, median3f(), median9f(), memset_zero(), MIN, dt_dev_pixelpipe_iop_t::pipe, refine(), sqf(), w1, w2, w3, w4, width, and dt_iop_roi_t::width.
Referenced by process().
◆ median3f()
static INLINE float median3f |
( |
float |
x0, |
|
|
float |
x1, |
|
|
float |
x2 |
|
) |
| |
|
static |
◆ median9f()
static INLINE float median9f |
( |
float |
a0, |
|
|
float |
a1, |
|
|
float |
a2, |
|
|
float |
a3, |
|
|
float |
a4, |
|
|
float |
a5, |
|
|
float |
a6, |
|
|
float |
a7, |
|
|
float |
a8 |
|
) |
| |
|
static |