![]() |
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"
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 (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)) | |
| static _blend_row_func * | _choose_blend_func (const unsigned int blend_mode) |
| void | dt_develop_blendif_raw_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) |
| 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) |
| __OMP_DECLARE_SIMD__ | ( | aligned(a, b, out:16) uniform(stride) | ) |
References clamp_simd(), and out.
|
static |
References 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 | ( | 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 | ||
| ) |
References __OMP_PARALLEL_FOR__, _choose_blend_func(), dt_dev_pixelpipe_iop_t::blendop_data, dt_iop_buffer_dsc_t::channels, d, DEVELOP_BLEND_REVERSE, dt_dev_pixelpipe_iop_t::dsc_in, DT_DEV_PIXELPIPE_DISPLAY_ANY, dt_iop_image_copy(), dt_iop_image_fill(), dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, dt_iop_roi_t::height, IS_NULL_PTR, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, void(), dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
| void dt_develop_blendif_raw_make_mask | ( | const struct dt_dev_pixelpipe_iop_t * | piece, |
| const float *const restrict | a, | ||
| const float *const restrict | b, | ||
| float *const restrict | mask | ||
| ) |