![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/imagebuf.h"
#include "common/math.h"
#include "develop/blend.h"
#include "develop/imageop.h"
#include "develop/openmp_maths.h"
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 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) |
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References clamp_simd().
Referenced by _choose_blend_func().
|
static |
References _blend_add(), _blend_average(), _blend_darken(), _blend_difference(), _blend_hardlight(), _blend_lighten(), _blend_linearlight(), _blend_multiply(), _blend_normal_bounded(), _blend_normal_unbounded(), _blend_overlay(), _blend_pinlight(), _blend_screen(), _blend_softlight(), _blend_subtract(), _blend_vividlight(), DEVELOP_BLEND_ADD, DEVELOP_BLEND_AVERAGE, DEVELOP_BLEND_BOUNDED, DEVELOP_BLEND_DARKEN, DEVELOP_BLEND_DIFFERENCE, DEVELOP_BLEND_DIFFERENCE2, DEVELOP_BLEND_HARDLIGHT, DEVELOP_BLEND_LIGHTEN, DEVELOP_BLEND_LINEARLIGHT, DEVELOP_BLEND_MODE_MASK, DEVELOP_BLEND_MULTIPLY, DEVELOP_BLEND_NORMAL2, DEVELOP_BLEND_OVERLAY, DEVELOP_BLEND_PINLIGHT, DEVELOP_BLEND_SCREEN, DEVELOP_BLEND_SOFTLIGHT, DEVELOP_BLEND_SUBTRACT, and DEVELOP_BLEND_VIVIDLIGHT.
Referenced by 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 | ||
) |
References _choose_blend_func(), dt_develop_blend_params_t::blend_mode, dt_dev_pixelpipe_iop_t::blendop_data, dt_dev_pixelpipe_iop_t::colors, DEVELOP_BLEND_REVERSE, dt_alloc_align_float(), DT_DEV_PIXELPIPE_DISPLAY_ANY, dt_free_align, dt_iop_image_copy(), dt_iop_image_fill(), dt_iop_roi_t::height, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
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 | ||
) |