Go to the source code of this file.
|
static INLINE float | safe_in (float a, float scale) |
|
static void | rcd_ppg_border (float *const out, const float *const in, const int width, const int height, const uint32_t filters, const int margin) |
|
static void | rcd_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) |
|
◆ eps
◆ epssq
◆ RCD_BORDER
◆ RCD_MARGIN
◆ RCD_TILESIZE
◆ RCD_TILEVALID
◆ w1
◆ w2
◆ w3
◆ w4
◆ rcd_demosaic()
- Todo:
- : CRITICAL: need to handle the case where we couldn't alloc the memory,
- Todo:
- : figure out what part of rgb is being accessed without initialization on partial tiles
References c1, DT_ALIGNED_PIXEL, dt_alloc_align_float(), dt_control_log(), dt_free_align, eps, epssq, FC(), height, dt_iop_roi_t::height, intp(), MIN, dt_dev_pixelpipe_iop_t::pipe, RCD_BORDER, RCD_MARGIN, rcd_ppg_border(), RCD_TILESIZE, RCD_TILEVALID, safe_in(), sqf(), w1, w2, w3, w4, width, and dt_iop_roi_t::width.
Referenced by process().
◆ rcd_ppg_border()
static void rcd_ppg_border |
( |
float *const |
out, |
|
|
const float *const |
in, |
|
|
const int |
width, |
|
|
const int |
height, |
|
|
const uint32_t |
filters, |
|
|
const int |
margin |
|
) |
| |
|
static |
◆ safe_in()
static INLINE float safe_in |
( |
float |
a, |
|
|
float |
scale |
|
) |
| |
|
static |