Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
blendif_rgb_hsl.c File Reference
+ Include dependency graph for blendif_rgb_hsl.c:

Macros

#define DT_BLENDIF_RGB_CH   4
 
#define DT_BLENDIF_RGB_BCH   3
 

Typedefs

typedef void() _blend_row_func(const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 

Functions

static void _CLAMP_XYZ (float *const restrict XYZ)
 
static void _PX_COPY (const float *const restrict src, float *const restrict dst)
 
static float _blendif_compute_factor (const float value, const unsigned int invert_mask, const float *const restrict parameters)
 
 __OMP_DECLARE_SIMD__ (aligned(pixels:16) uniform(parameters, invert_mask, stride, profile))
 
 __OMP_DECLARE_SIMD__ (aligned(pixels:16) uniform(parameters, invert_mask, stride))
 
 __OMP_DECLARE_SIMD__ (aligned(pixels, invert_mask:16) uniform(parameters, invert_mask, stride))
 
 __OMP_DECLARE_SIMD__ (aligned(pixels:16) uniform(stride, blendif, parameters, profile))
 
void dt_develop_blendif_rgb_hsl_make_mask (const struct dt_dev_pixelpipe_t *pipe, const struct dt_dev_pixelpipe_iop_t *piece, const float *const restrict a, const float *const restrict b, float *const restrict mask)
 
 __OMP_DECLARE_SIMD__ (aligned(a, b, out:16) uniform(stride))
 
 __OMP_DECLARE_SIMD__ (aligned(a, b:16) uniform(stride))
 
static _blend_row_func_choose_blend_func (const unsigned int blend_mode)
 
 __OMP_DECLARE_SIMD__ (aligned(rgb:16) uniform(profile))
 
 __OMP_DECLARE_SIMD__ (aligned(a, b:16) uniform(channel, profile, stride))
 
void dt_develop_blendif_rgb_hsl_blend (const struct dt_dev_pixelpipe_t *pipe, const struct dt_dev_pixelpipe_iop_t *piece, const float *const restrict a, float *const restrict b, const float *const restrict mask, const dt_dev_pixelpipe_display_mask_t request_mask_display)
 

Macro Definition Documentation

◆ DT_BLENDIF_RGB_BCH

#define DT_BLENDIF_RGB_BCH   3

◆ DT_BLENDIF_RGB_CH

#define DT_BLENDIF_RGB_CH   4

Typedef Documentation

◆ _blend_row_func

typedef void() _blend_row_func(const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)

Function Documentation

◆ __OMP_DECLARE_SIMD__() [1/8]

__OMP_DECLARE_SIMD__ ( aligned(a, b, out:16) uniform(stride)  )

◆ __OMP_DECLARE_SIMD__() [2/8]

◆ __OMP_DECLARE_SIMD__() [3/8]

__OMP_DECLARE_SIMD__ ( aligned(a, b:16) uniform(stride)  )

◆ __OMP_DECLARE_SIMD__() [4/8]

__OMP_DECLARE_SIMD__ ( aligned(pixels, invert_mask:16) uniform(parameters, invert_mask, stride)  )

◆ __OMP_DECLARE_SIMD__() [5/8]

__OMP_DECLARE_SIMD__ ( aligned(pixels:16) uniform(parameters, invert_mask, stride)  )

◆ __OMP_DECLARE_SIMD__() [6/8]

__OMP_DECLARE_SIMD__ ( aligned(pixels:16) uniform(parameters, invert_mask, stride, profile)  )

◆ __OMP_DECLARE_SIMD__() [7/8]

◆ __OMP_DECLARE_SIMD__() [8/8]

__OMP_DECLARE_SIMD__ ( aligned(rgb:16) uniform(profile)  )

References IS_NULL_PTR, rgb, and value.

◆ _blendif_compute_factor()

static float _blendif_compute_factor ( const float  value,
const unsigned int  invert_mask,
const float *const restrict  parameters 
)
inlinestatic

◆ _choose_blend_func()

◆ _CLAMP_XYZ()

static void _CLAMP_XYZ ( float *const restrict  XYZ)
inlinestatic

References clamp_simd(), i, and XYZ.

◆ _PX_COPY()

static void _PX_COPY ( const float *const restrict  src,
float *const restrict  dst 
)
inlinestatic

References i.

◆ dt_develop_blendif_rgb_hsl_blend()

◆ dt_develop_blendif_rgb_hsl_make_mask()