#include "common/darktable.h"
#include "develop/imageop.h"
#include "develop/imageop_math.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <cstring>
Go to the source code of this file.
|
| void | amaze_demosaic_RT (const dt_dev_pixelpipe_iop_t *piece, const float *const in, float *out, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out, const int filters) |
| |
| static __inline float | clampnan (const float x, const float m, const float M) |
| |
| static __inline float | xmul2f (float d) |
| |
| static __inline float | xdiv2f (float d) |
| |
| static __inline float | xdivf (float d, int n) |
| |
| template<typename _Tp > |
| static const _Tp | SQR (_Tp x) |
| |
| template<typename _Tp > |
| static const _Tp | intp (const _Tp a, const _Tp b, const _Tp c) |
| |
| template<typename _Tp > |
| static const _Tp | LIM (const _Tp a, const _Tp b, const _Tp c) |
| |
| template<typename _Tp > |
| static const _Tp | ULIM (const _Tp a, const _Tp b, const _Tp c) |
| |
◆ __STDC_FORMAT_MACROS
| #define __STDC_FORMAT_MACROS |
◆ AMAZETS
◆ amaze_demosaic_RT()
Definition at line 179 of file amaze.cc.
References __OMP_FOR_SIMD__, AMAZETS, clampnan(), dt_dev_pixelpipe_iop_t::dsc_in, dt_free, eps, epssq, FC(), height, dt_iop_roi_t::height, i, intp(), MIN, out, dt_iop_buffer_dsc_t::processed_maximum, row, SQR, top, ULIM(), v, width, dt_iop_roi_t::width, dt_iop_roi_t::x, xdiv2f(), xdivf(), xmul2f(), and dt_iop_roi_t::y.
◆ clampnan()
| static __inline float clampnan |
( |
const float |
x, |
|
|
const float |
m, |
|
|
const float |
M |
|
) |
| |
|
static |
◆ intp()
template<typename _Tp >
| static const _Tp intp |
( |
const _Tp |
a, |
|
|
const _Tp |
b, |
|
|
const _Tp |
c |
|
) |
| |
|
inlinestatic |
◆ LIM()
template<typename _Tp >
| static const _Tp LIM |
( |
const _Tp |
a, |
|
|
const _Tp |
b, |
|
|
const _Tp |
c |
|
) |
| |
|
inlinestatic |
◆ SQR()
template<typename _Tp >
| static const _Tp SQR |
( |
_Tp |
x | ) |
|
|
inlinestatic |
◆ ULIM()
template<typename _Tp >
| static const _Tp ULIM |
( |
const _Tp |
a, |
|
|
const _Tp |
b, |
|
|
const _Tp |
c |
|
) |
| |
|
inlinestatic |
◆ xdiv2f()
| static __inline float xdiv2f |
( |
float |
d | ) |
|
|
static |
◆ xdivf()
| static __inline float xdivf |
( |
float |
d, |
|
|
int |
n |
|
) |
| |
|
static |
◆ xmul2f()
| static __inline float xmul2f |
( |
float |
d | ) |
|
|
static |