Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
blendif_rgb_jzczhz.c File Reference
+ Include dependency graph for blendif_rgb_jzczhz.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, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 

Functions

static float _blendif_compute_factor (const float value, const unsigned int invert_mask, const float *const restrict parameters)
 
static void _blendif_gray (const float *const restrict pixels, float *const restrict mask, const size_t stride, const float *const restrict parameters, const unsigned int invert_mask, const dt_iop_order_iccprofile_info_t *const restrict profile)
 
static void _blendif_rgb_red (const float *const restrict pixels, float *const restrict mask, const size_t stride, const float *const restrict parameters, const unsigned int invert_mask)
 
static void _blendif_rgb_green (const float *const restrict pixels, float *const restrict mask, const size_t stride, const float *const restrict parameters, const unsigned int invert_mask)
 
static void _blendif_rgb_blue (const float *const restrict pixels, float *const restrict mask, const size_t stride, const float *const restrict parameters, const unsigned int invert_mask)
 
static void _blendif_jzczhz (const float *const restrict pixels, float *const restrict mask, const size_t stride, const float *const restrict parameters, const unsigned int *const restrict invert_mask, const dt_iop_order_iccprofile_info_t *const restrict profile)
 
static void _blendif_combine_channels (const float *const restrict pixels, float *const restrict mask, const size_t stride, const unsigned int blendif, const float *const restrict parameters, const dt_iop_order_iccprofile_info_t *const restrict profile)
 
void dt_develop_blendif_rgb_jzczhz_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 (const float *const restrict a, const float *const restrict b, const float p, 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, const float p, 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, const float p, 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, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_subtract_inverse (const float *const restrict a, const float *const restrict b, const float p, 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, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_divide (const float *const restrict a, const float *const restrict b, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_divide_inverse (const float *const restrict a, const float *const restrict b, const float p, 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, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_geometric_mean (const float *const restrict a, const float *const restrict b, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_harmonic_mean (const float *const restrict a, const float *const restrict b, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_chromaticity (const float *const restrict a, const float *const restrict b, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_luminance (const float *const restrict a, const float *const restrict b, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_RGB_R (const float *const restrict a, const float *const restrict b, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_RGB_G (const float *const restrict a, const float *const restrict b, const float p, float *const restrict out, const float *const restrict mask, const size_t stride)
 
static void _blend_RGB_B (const float *const restrict a, const float *const restrict b, const float p, 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)
 
static float _rgb_luminance (const float *const restrict rgb, const dt_iop_order_iccprofile_info_t *const restrict profile)
 
static void _rgb_to_JzCzhz (const dt_aligned_pixel_t rgb, dt_aligned_pixel_t JzCzhz, const dt_iop_order_iccprofile_info_t *const restrict profile)
 
static void _display_channel (const float *const restrict a, float *const restrict b, const float *const restrict mask, const size_t stride, const int channel, const float *const restrict boost_factors, const dt_iop_order_iccprofile_info_t *const profile)
 
static void _copy_mask (const float *const restrict a, float *const restrict b, const size_t stride)
 
void dt_develop_blendif_rgb_jzczhz_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)
 

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, const float p, 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,
const float  p,
float *const restrict  out,
const float *const restrict  mask,
const size_t  stride 
)
static

◆ _blend_average()

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

◆ _blend_chromaticity()

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

◆ _blend_difference()

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

◆ _blend_divide()

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

◆ _blend_divide_inverse()

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

◆ _blend_geometric_mean()

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

◆ _blend_harmonic_mean()

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

◆ _blend_luminance()

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

◆ _blend_multiply()

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

◆ _blend_normal()

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

◆ _blend_RGB_B()

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

References DT_BLENDIF_RGB_CH.

Referenced by _choose_blend_func().

◆ _blend_RGB_G()

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

References DT_BLENDIF_RGB_CH.

Referenced by _choose_blend_func().

◆ _blend_RGB_R()

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

References DT_BLENDIF_RGB_CH.

Referenced by _choose_blend_func().

◆ _blend_subtract()

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

◆ _blend_subtract_inverse()

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

◆ _blendif_combine_channels()

static void _blendif_combine_channels ( const float *const restrict  pixels,
float *const restrict  mask,
const size_t  stride,
const unsigned int  blendif,
const float *const restrict  parameters,
const dt_iop_order_iccprofile_info_t *const restrict  profile 
)
static

◆ _blendif_compute_factor()

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

◆ _blendif_gray()

static void _blendif_gray ( const float *const restrict  pixels,
float *const restrict  mask,
const size_t  stride,
const float *const restrict  parameters,
const unsigned int  invert_mask,
const dt_iop_order_iccprofile_info_t *const restrict  profile 
)
inlinestatic

◆ _blendif_jzczhz()

static void _blendif_jzczhz ( const float *const restrict  pixels,
float *const restrict  mask,
const size_t  stride,
const float *const restrict  parameters,
const unsigned int *const restrict  invert_mask,
const dt_iop_order_iccprofile_info_t *const restrict  profile 
)
inlinestatic

◆ _blendif_rgb_blue()

static void _blendif_rgb_blue ( const float *const restrict  pixels,
float *const restrict  mask,
const size_t  stride,
const float *const restrict  parameters,
const unsigned int  invert_mask 
)
inlinestatic

◆ _blendif_rgb_green()

static void _blendif_rgb_green ( const float *const restrict  pixels,
float *const restrict  mask,
const size_t  stride,
const float *const restrict  parameters,
const unsigned int  invert_mask 
)
inlinestatic

◆ _blendif_rgb_red()

static void _blendif_rgb_red ( const float *const restrict  pixels,
float *const restrict  mask,
const size_t  stride,
const float *const restrict  parameters,
const unsigned int  invert_mask 
)
inlinestatic

◆ _choose_blend_func()

◆ _copy_mask()

static void _copy_mask ( const float *const restrict  a,
float *const restrict  b,
const size_t  stride 
)
inlinestatic

◆ _display_channel()

◆ _rgb_luminance()

static float _rgb_luminance ( const float *const restrict  rgb,
const dt_iop_order_iccprofile_info_t *const restrict  profile 
)
inlinestatic

◆ _rgb_to_JzCzhz()

static void _rgb_to_JzCzhz ( const dt_aligned_pixel_t  rgb,
dt_aligned_pixel_t  JzCzhz,
const dt_iop_order_iccprofile_info_t *const restrict  profile 
)
inlinestatic

◆ dt_develop_blendif_rgb_jzczhz_blend()

◆ dt_develop_blendif_rgb_jzczhz_make_mask()