Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
blendif_raw.c File Reference
#include "common/imagebuf.h"
#include "common/math.h"
#include "develop/blend.h"
#include "develop/imageop.h"
#include "develop/openmp_maths.h"
+ Include dependency graph for blendif_raw.c:

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

void dt_develop_blendif_raw_make_mask (struct dt_dev_pixelpipe_iop_t *piece, const float *const restrict a, const float *const restrict b, const struct dt_iop_roi_t *const roi_in, const struct dt_iop_roi_t *const roi_out, float *const restrict mask)
 
static void _blend_normal_bounded (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_normal_unbounded (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_lighten (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_darken (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_multiply (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_average (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_add (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_subtract (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_difference (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_screen (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_overlay (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_softlight (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_hardlight (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_vividlight (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_linearlight (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_pinlight (const float *const restrict a, const float *const restrict b, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static _blend_row_func_choose_blend_func (const unsigned int blend_mode)
 
void dt_develop_blendif_raw_blend (struct dt_dev_pixelpipe_iop_t *piece, const float *const restrict a, float *const restrict b, const struct dt_iop_roi_t *const roi_in, const struct dt_iop_roi_t *const roi_out, const float *const restrict mask, const dt_dev_pixelpipe_display_mask_t request_mask_display)
 

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

◆ _blend_add()

static void _blend_add ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_average()

static void _blend_average ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_darken()

static void _blend_darken ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_difference()

static void _blend_difference ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_hardlight()

static void _blend_hardlight ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_lighten()

static void _blend_lighten ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_linearlight()

static void _blend_linearlight ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_multiply()

static void _blend_multiply ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_normal_bounded()

static void _blend_normal_bounded ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_normal_unbounded()

static void _blend_normal_unbounded ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

Referenced by _choose_blend_func().

◆ _blend_overlay()

static void _blend_overlay ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_pinlight()

static void _blend_pinlight ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_screen()

static void _blend_screen ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_softlight()

static void _blend_softlight ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_subtract()

static void _blend_subtract ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _blend_vividlight()

static void _blend_vividlight ( const float *const restrict  a,
const float *const restrict  b,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

References clamp_simd().

Referenced by _choose_blend_func().

◆ _choose_blend_func()

◆ dt_develop_blendif_raw_blend()

void dt_develop_blendif_raw_blend ( struct dt_dev_pixelpipe_iop_t piece,
const float *const restrict  a,
float *const restrict  b,
const struct dt_iop_roi_t *const  roi_in,
const struct dt_iop_roi_t *const  roi_out,
const float *const restrict  mask,
const dt_dev_pixelpipe_display_mask_t  request_mask_display 
)

◆ dt_develop_blendif_raw_make_mask()

void dt_develop_blendif_raw_make_mask ( struct dt_dev_pixelpipe_iop_t piece,
const float *const restrict  a,
const float *const restrict  b,
const struct dt_iop_roi_t *const  roi_in,
const struct dt_iop_roi_t *const  roi_out,
float *const restrict  mask 
)