Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
colorspaces_inline_conversions.h File Reference
#include "common/matrices.h"
#include "common/math.h"
+ Include dependency graph for colorspaces_inline_conversions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static __attribute__ ((always_inline)) dt_aligned_pixel_simd_t dt_colormatrix_row_to_simd(const dt_colormatrix_t matrix
 
 dt_store_simd_aligned (out, dt_mat3x4_mul_vec4(vin, dt_colormatrix_row_to_simd(matrix, 0), dt_colormatrix_row_to_simd(matrix, 1), dt_colormatrix_row_to_simd(matrix, 2)))
 
static float cbrt_5f (float f)
 
static float cbrta_halleyf (const float a, const float R)
 
static float lab_f (const float x)
 
 for_each_channel (i) f[i]
 
static float lab_f_inv (const float x)
 
 for_each_channel (c) XYZ[c] = CLIP(result[c])
 
static float cbf (const float x)
 
 dt_xyY_to_uvY (xyY, uvY)
 
 dt_xyY_to_Luv (xyY, Luv)
 
 dt_Luv_to_Lch (Luv, Lch)
 
 dt_uvY_to_xyY (uvY, xyY)
 
 dt_Lch_to_Luv (Lch, Luv)
 
 dt_Luv_to_xyY (Luv, xyY)
 
 dt_apply_transposed_color_matrix (XYZ, xyz_to_srgb_matrix_transposed, sRGB)
 
 dt_apply_transposed_color_matrix (XYZ, xyz_to_srgb_transposed, sRGB)
 
 dt_XYZ_to_Rec709_D50 (XYZ, rgb)
 
 for (size_t c=0;c< 3;c++) sRGB[c] = MI[i][0] * LMS[0] + MI[i][1] * LMS[1] + MI[i][2] * LMS[2]
 
 dt_XYZ_to_sRGB (XYZ, result)
 
 dt_apply_transposed_color_matrix (sRGB, M, XYZ_D50)
 
 dt_sRGB_to_linear_sRGB (sRGB, rgb)
 
 dt_Rec709_to_XYZ_D50 (rgb, XYZ)
 
 dt_apply_transposed_color_matrix (XYZ, xyz_to_rgb_transpose, rgb)
 
 dt_apply_transposed_color_matrix (rgb, rgb_to_xyz_transpose, XYZ)
 
 dt_Lab_to_XYZ (Lab, XYZ)
 
 dt_XYZ_to_prophotorgb (XYZ, rgb)
 
 dt_prophotorgb_to_XYZ (rgb, XYZ)
 
 dt_XYZ_to_Lab (XYZ, Lab)
 
static float _dt_RGB_2_Hue (const dt_aligned_pixel_t RGB, const float max, const float delta)
 
 if (i_idx==0)
 
 if (fabsf(max) > 1e-6f &&fabsf(delta) > 1e-6f)
 
 if (L< 0.5f) C
 
 _dt_Hue_2_RGB (RGB, HSL[0], 2.0f *C, m)
 
 _dt_Hue_2_RGB (RGB, HSV[0], C, m)
 
 if (var_H > 0.0f) var_H
 
static float dt_camera_rgb_luminance (const dt_aligned_pixel_t rgb)
 
 for_each_channel (x) XYZ_D65[x] = M_transposed[0][x] * XYZ_D65[0] + M_transposed[1][x] * XYZ_D65[1] + M_transposed[2][x] * XYZ_D65[2]
 
 for_four_channels (c, aligned(LMS, lms :16)) lms[c]
 
 LMS_to_gradingRGB (lms, rgb)
 
 gradingRGB_to_LMS (rgb, lms)
 
 for_four_channels (c, aligned(lms, LMS:16)) LMS[c]
 
 Ych_to_Yrg (Ych, Yrg)
 
 Yrg_to_LMS (Yrg, LMS)
 
 LMS_to_gradingRGB (LMS, RGB)
 
 gradingRGB_to_LMS (RGB, LMS)
 
 LMS_to_Yrg (LMS, Yrg)
 
 Yrg_to_Ych (Yrg, Ych)
 
 XYZ_to_LMS (XYZ, LMS)
 
 LMS_to_XYZ (LMS, XYZ)
 
static float Y_to_dt_UCS_L_star (const float Y)
 
static float dt_UCS_L_star_to_Y (const float L_star)
 
 for_each_channel (c, aligned(xyY, UVD, x_factors, y_factors, offsets)) UVD[c]
 
 xyY_to_dt_UCS_UV (xyY, UV_star_prime)
 
 xyY_to_dt_UCS_JCH (xyY_a, L_white, JCH)
 
return dt_load_simd_aligned (JCH)
 
 for_each_channel (c, aligned(xyD, UV, U_factors, V_factors, offsets)) xyD[c]
 
 dt_UCS_JCH_to_xyY (JCH_a, L_white, xyY)
 
return dt_load_simd_aligned (xyY)
 

Variables

static const int row
 
static const dt_colormatrix_t matrix
 
static const dt_colormatrix_t dt_aligned_pixel_t out
 
static const dt_aligned_pixel_t d50 = { 0.9642f, 1.0f, 0.8249f }
 
static dt_aligned_pixel_t Lab
 
static dt_aligned_pixel_t XYZ
 
const float fx = Lab[1] / 500.0f + fy
 
const float fz = fy - Lab[2] / 200.0f
 
const dt_aligned_pixel_t f = { fx, fy, fz }
 
static dt_aligned_pixel_t xyY
 
static dt_aligned_pixel_t uvY
 
static dt_aligned_pixel_t Luv
 
const float threshold = cbf(6.0f / 29.0f)
 
const float D50[2] DT_ALIGNED_PIXEL = { 0.20915914598542354f, 0.488075320769787f }
 
static dt_aligned_pixel_t Lch
 
static dt_aligned_pixel_t sRGB
 
static dt_aligned_pixel_t XYZ_D50
 
static dt_aligned_pixel_t RGB
 
static dt_aligned_pixel_t rgb
 
static const dt_colormatrix_t sRGB_to_xyz_transposed
 
static const dt_colormatrix_t xyz_to_srgb_transposed
 
static dt_aligned_pixel_t linearRGB
 
static const float H = 0.0f
 
static const float const float C = (1.0f - L) * HSL[1]
 
static const float const float const float min
 
const float i = floorf(h)
 
const float fc = f * C
 
const float top = C + min
 
const float inc = fc + min
 
const float dec = top - fc
 
const size_t i_idx = (size_t)i
 
 else
 
static dt_aligned_pixel_t HSL
 
const float max = fmaxf(RGB[0], fmaxf(RGB[1], RGB[2]))
 
const float delta = max - min
 
const float L = (max + min) / 2.0f
 
float S = 0.0f
 
const float m = L - C
 
static dt_aligned_pixel_t HSV
 
const float V = max
 
static dt_aligned_pixel_t HCV
 
static dt_aligned_pixel_t LCH
 
else var_H = 1.0f - fabsf(var_H) / (2.0f * DT_M_PI_F)
 
static dt_aligned_pixel_t XYZ_D65
 
static dt_aligned_pixel_t JzAzBz
 
const float g = 0.66f
 
const float c1 = 0.8359375f
 
const float c2 = 18.8515625f
 
const float c3 = 18.6875f
 
const float n = 0.159301758f
 
const float p = 134.034375f
 
const float d = -0.56f
 
const float d0 = 1.6295499532821566e-11f
 
static const dt_colormatrix_t M
 
static const dt_colormatrix_t A_transposed
 
dt_aligned_pixel_t LMS = { 0.0f, 0.0f, 0.0f, 0.0f }
 
static dt_aligned_pixel_t JzCzhz
 
const float n_inv = 1.0f / 0.159301758f
 
const float p_inv = 1.0f / 134.034375f
 
const dt_colormatrix_t MI
 
const dt_colormatrix_t AI
 
dt_aligned_pixel_t IzAzBz = { 0.0f, 0.0f, 0.0f, 0.0f }
 
static const dt_colormatrix_t MI_transposed
 
static const dt_colormatrix_t AI_transposed
 
static const dt_colormatrix_t XYZ_D65_to_LMS_2006_D65
 
static const dt_colormatrix_t LMS_2006_D65_to_XYZ_D65
 
static const dt_colormatrix_t filmlightRGB_D65_to_LMS_D65
 
static const dt_colormatrix_t LMS_D65_to_filmlightRGB_D65
 
static dt_aligned_pixel_t Yrg
 
const float a = LMS[0] + LMS[1] + LMS[2]
 
dt_aligned_pixel_t lms = { 0.f }
 
const float r = Yrg[1]
 
const float b = 1.f - r - g
 
const float denom = (0.68990272f * lms[0] + 0.34832189f * lms[1])
 
static dt_aligned_pixel_t Ych
 
const float c = hypotf(g, r)
 
const float h = atan2f(g, r)
 
static float UV_star_prime [2]
 
const dt_aligned_pixel_t y_factors = { 0.277512987809202f, -0.205375866083878f, 2.16743692732158f, 0.f }
 
const dt_aligned_pixel_t offsets = { 0.153836578598858f, -0.165478376301988f, 0.291320554395942f, 0.f }
 
dt_aligned_pixel_t UVD = { 0.f }
 
float UV_star [2] = { 0.f }
 
const float factors [2] = { 1.39656225667f, 1.4513954287f }
 
const float half_values [2] = { 1.49217352929f, 1.52488637914f }
 
static const float L_white
 
static const float dt_aligned_pixel_t JCH
 
const float L_star = Y_to_dt_UCS_L_star(xyY[2])
 
const float M2 = UV_star_prime[0] * UV_star_prime[0] + UV_star_prime[1] * UV_star_prime[1]
 
const float U_star_prime = M * cosf(JCH[2])
 
const float V_star_prime = M * sinf(JCH[2])
 
float UV [2] = { 0.f }
 
const dt_aligned_pixel_t U_factors = { 0.167171472114775f, -0.150959086409163f, 0.940254742367256f, 0.f }
 
const dt_aligned_pixel_t V_factors = { 0.141299802443708f, -0.155185060382272f, 1.000000000000000f, 0.f }
 
dt_aligned_pixel_t xyD = { 0.f }
 
static dt_aligned_pixel_t HSB
 
static dt_aligned_pixel_t HCB
 
static dt_aligned_pixel_t HPW
 

Function Documentation

◆ __attribute__()

static __attribute__ ( (always_inline)  ) const
inlinestatic

uses D50 white point.

Uses D50

Uses D65

uses D50 white point and clips the output to [0..1].

Conversion algorithms between XYZ and JzAzBz and JzCzhz are described in the following paper:

Perceptually uniform color space for image signals including high dynamic range and wide gamut https://www.osapublishing.org/oe/fulltext.cfm?uri=oe-25-13-15131&id=368272

References XYZ.

◆ _dt_Hue_2_RGB() [1/2]

_dt_Hue_2_RGB ( RGB  ,
HSL  [0],
2.0f *  C,
m   
)

◆ _dt_Hue_2_RGB() [2/2]

_dt_Hue_2_RGB ( RGB  ,
HSV  [0],
C  ,
m   
)

◆ _dt_RGB_2_Hue()

static float _dt_RGB_2_Hue ( const dt_aligned_pixel_t  RGB,
const float  max,
const float  delta 
)
inlinestatic

References delta, max, and RGB.

Referenced by if().

◆ cbf()

static float cbf ( const float  x)
inlinestatic

References x.

◆ cbrt_5f()

static float cbrt_5f ( float  f)
inlinestatic

References f, and p.

Referenced by lab_f().

◆ cbrta_halleyf()

static float cbrta_halleyf ( const float  a,
const float  R 
)
inlinestatic

References a, b, and R.

Referenced by lab_f().

◆ dt_apply_transposed_color_matrix() [1/5]

dt_apply_transposed_color_matrix ( rgb  ,
rgb_to_xyz_transpose  ,
XYZ   
)

◆ dt_apply_transposed_color_matrix() [2/5]

dt_apply_transposed_color_matrix ( sRGB  ,
M  ,
XYZ_D50   
)

◆ dt_apply_transposed_color_matrix() [3/5]

dt_apply_transposed_color_matrix ( XYZ  ,
xyz_to_rgb_transpose  ,
rgb   
)

◆ dt_apply_transposed_color_matrix() [4/5]

dt_apply_transposed_color_matrix ( XYZ  ,
xyz_to_srgb_matrix_transposed  ,
sRGB   
)

◆ dt_apply_transposed_color_matrix() [5/5]

dt_apply_transposed_color_matrix ( XYZ  ,
xyz_to_srgb_transposed  ,
sRGB   
)

◆ dt_camera_rgb_luminance()

static float dt_camera_rgb_luminance ( const dt_aligned_pixel_t  rgb)
inlinestatic

References rgb.

◆ dt_Lab_to_XYZ()

◆ dt_Lch_to_Luv()

dt_Lch_to_Luv ( Lch  ,
Luv   
)

Referenced by _process_vectorscope().

◆ dt_load_simd_aligned() [1/2]

◆ dt_load_simd_aligned() [2/2]

return dt_load_simd_aligned ( xyY  )

◆ dt_Luv_to_Lch()

dt_Luv_to_Lch ( Luv  ,
Lch   
)

Referenced by _process_vectorscope().

◆ dt_Luv_to_xyY()

dt_Luv_to_xyY ( Luv  ,
xyY   
)

◆ dt_prophotorgb_to_XYZ()

dt_prophotorgb_to_XYZ ( rgb  ,
XYZ   
)

◆ dt_Rec709_to_XYZ_D50()

dt_Rec709_to_XYZ_D50 ( rgb  ,
XYZ   
)

◆ dt_sRGB_to_linear_sRGB()

dt_sRGB_to_linear_sRGB ( sRGB  ,
rgb   
)

◆ dt_store_simd_aligned()

◆ dt_UCS_JCH_to_xyY()

dt_UCS_JCH_to_xyY ( JCH_a  ,
L_white  ,
xyY   
)

◆ dt_UCS_L_star_to_Y()

static float dt_UCS_L_star_to_Y ( const float  L_star)
inlinestatic

References L_star.

◆ dt_uvY_to_xyY()

dt_uvY_to_xyY ( uvY  ,
xyY   
)

◆ dt_xyY_to_Luv()

dt_xyY_to_Luv ( xyY  ,
Luv   
)

◆ dt_xyY_to_uvY()

dt_xyY_to_uvY ( xyY  ,
uvY   
)

◆ dt_XYZ_to_Lab()

◆ dt_XYZ_to_prophotorgb()

◆ dt_XYZ_to_Rec709_D50()

dt_XYZ_to_Rec709_D50 ( XYZ  ,
rgb   
)

◆ dt_XYZ_to_sRGB()

◆ for()

for ( ) = MI[i][0] * LMS[0] + MI[i][1] * LMS[1] + MI[i][2] * LMS[2]

References c1, c2, c3, i, LMS, M, n, p, and XYZ.

◆ for_each_channel() [1/5]

for_each_channel ( c  ) = CLIP(result[c])

◆ for_each_channel() [2/5]

for_each_channel ( c  ,
aligned(xyD, UV, U_factors, V_factors, offsets  
)

◆ for_each_channel() [3/5]

for_each_channel ( c  ,
aligned(xyY, UVD, x_factors, y_factors, offsets  
)

◆ for_each_channel() [4/5]

for_each_channel ( i  )

◆ for_each_channel() [5/5]

for_each_channel ( x  ) = M_transposed[0][x] * XYZ_D65[0] + M_transposed[1][x] * XYZ_D65[1] + M_transposed[2][x] * XYZ_D65[2]

◆ for_four_channels() [1/2]

for_four_channels ( c  ,
aligned(LMS, lms :16)   
)

◆ for_four_channels() [2/2]

for_four_channels ( c  ,
aligned(lms, LMS:16)   
)

◆ gradingRGB_to_LMS() [1/2]

gradingRGB_to_LMS ( rgb  ,
lms   
)

◆ gradingRGB_to_LMS() [2/2]

gradingRGB_to_LMS ( RGB  ,
LMS   
)

◆ if() [1/4]

if ( fabsf(max ,
1e-6f &&  fabsfdelta,
1e-  6f 
)

References _dt_RGB_2_Hue(), delta, H, L, max, min, RGB, and S.

◆ if() [2/4]

else if ( i_idx  = = 0)

References inc, min, RGB, and top.

◆ if() [3/4]

◆ if() [4/4]

if ( var_H  ,
0.  0f 
)

◆ lab_f()

static float lab_f ( const float  x)
inlinestatic

References cbrt_5f(), cbrta_halleyf(), and x.

◆ lab_f_inv()

static float lab_f_inv ( const float  x)
inlinestatic

References x.

◆ LMS_to_gradingRGB() [1/2]

LMS_to_gradingRGB ( lms  ,
rgb   
)

◆ LMS_to_gradingRGB() [2/2]

LMS_to_gradingRGB ( LMS  ,
RGB   
)

◆ LMS_to_XYZ()

LMS_to_XYZ ( LMS  ,
XYZ   
)

◆ LMS_to_Yrg()

LMS_to_Yrg ( LMS  ,
Yrg   
)

◆ xyY_to_dt_UCS_JCH()

xyY_to_dt_UCS_JCH ( xyY_a  ,
L_white  ,
JCH   
)

◆ xyY_to_dt_UCS_UV()

xyY_to_dt_UCS_UV ( xyY  ,
UV_star_prime   
)

◆ XYZ_to_LMS()

XYZ_to_LMS ( XYZ  ,
LMS   
)

◆ Y_to_dt_UCS_L_star()

static float Y_to_dt_UCS_L_star ( const float  Y)
inlinestatic

The following is darktable Uniform Color Space 2022 © Aurélien Pierre https://eng.aurelienpierre.com/2022/02/color-saturation-control-for-the-21th-century/

Use this space for color-grading in a perceptual framework. The CAM terms have been removed for performance.

◆ Ych_to_Yrg()

Ych_to_Yrg ( Ych  ,
Yrg   
)

◆ Yrg_to_LMS()

Yrg_to_LMS ( Yrg  ,
LMS   
)

◆ Yrg_to_Ych()

Yrg_to_Ych ( Yrg  ,
Ych   
)

Variable Documentation

◆ a

const float a = LMS[0] + LMS[1] + LMS[2]

Referenced by _align_close(), _align_down(), _align_up(), _aspect_ratio_cmp(), _aspect_ratio_cmp(), _blend_add(), _blend_add(), _blend_add(), _blend_add(), _blend_average(), _blend_average(), _blend_average(), _blend_average(), _blend_chromaticity(), _blend_chromaticity(), _blend_chromaticity(), _blend_color(), _blend_color(), _blend_coloradjust(), _blend_coloradjust(), _blend_darken(), _blend_darken(), _blend_darken(), _blend_difference(), _blend_difference(), _blend_difference(), _blend_difference(), _blend_difference2(), _blend_divide(), _blend_divide_inverse(), _blend_geometric_mean(), _blend_hardlight(), _blend_hardlight(), _blend_hardlight(), _blend_harmonic_mean(), _blend_HSV_color(), _blend_HSV_value(), _blend_hue(), _blend_hue(), _blend_Lab_a(), _blend_Lab_b(), _blend_Lab_color(), _blend_Lab_lightness(), _blend_lighten(), _blend_lighten(), _blend_lighten(), _blend_lightness(), _blend_lightness(), _blend_linearlight(), _blend_linearlight(), _blend_linearlight(), _blend_luminance(), _blend_multiply(), _blend_multiply(), _blend_multiply(), _blend_multiply(), _blend_normal(), _blend_normal_bounded(), _blend_normal_bounded(), _blend_normal_bounded(), _blend_normal_unbounded(), _blend_normal_unbounded(), _blend_normal_unbounded(), _blend_overlay(), _blend_overlay(), _blend_overlay(), _blend_pinlight(), _blend_pinlight(), _blend_pinlight(), _blend_RGB_B(), _blend_RGB_B(), _blend_RGB_G(), _blend_RGB_G(), _blend_RGB_R(), _blend_RGB_R(), _blend_screen(), _blend_screen(), _blend_screen(), _blend_softlight(), _blend_softlight(), _blend_softlight(), _blend_subtract(), _blend_subtract(), _blend_subtract(), _blend_subtract(), _blend_subtract_inverse(), _blend_vividlight(), _blend_vividlight(), _blend_vividlight(), _brush_border_get_XY(), _brush_get_XY(), _colormanage_ui_color(), _compass_star(), _copy_mask(), _copy_mask(), _copy_mask(), _db_snap_sort(), _display_channel(), _display_channel(), _display_channel(), _display_rgb_equal(), _dt_masks_dynbuf_growto(), _ellipse_get_mask(), _ellipse_get_mask_roi(), _ellipse_get_points_border(), _ellipse_points_to_transform(), _fill_mask(), _film_filename_cmp(), _find_image_in_images(), _g_list_find_module_by_name(), _gcd(), _get_tb_added_metadata_string_values(), _get_tb_added_tag_string_values(), _get_tb_removed_metadata_string_values(), _get_tb_removed_tag_string_values(), _heal_laplace_iteration(), _hm_history_items_match(), _hm_history_masks_match(), _hm_label_cmp(), _hm_report_build_moved_set(), _hm_topo_resolve_incompatible_constraints(), _images_list_cmp(), _init_image_pin(), _init_place_pin(), _is_not_exportable_tag(), _lcm(), _lerpf(), _lerpf(), _lib_metadata_sort_index(), _lib_metadata_sort_order(), _list_find_by_position(), _maketaps_lanczos(), _max(), _min(), _mm_vectorGetByIndex(), _piwigo_album_id(), _piwigo_api_post_internal(), _piwigo_get_account(), _points_to_transform(), _polygon_border_get_XY(), _polygon_get_XY(), _rotate(), _simplex_2d_noise(), _sort_by_iso(), _sort_by_path(), _sort_model_by_relevance_func(), _sort_model_func(), _sort_model_func(), _sort_position_names_func(), _sort_profiles(), _sort_segment(), _sort_timezones(), _sort_track(), _sort_tree_count_func(), _sort_tree_path_func(), _sort_tree_tag_func(), _swap(), _temp_array_from_params(), _temp_params_from_array(), _thumb_compare_rowid_desc(), _thumbtable_double_equal(), _thumbtable_float_equal(), _ui_init_panel_container_center(), _update_RGB_colors(), angle_diff(), angle_diff_signed(), apply_trc_in(), apply_trc_out(), array_str_cmp(), backtransform(), backtransform_v2(), backtransform_Y0U0V0(), blur_line(), build_matrix(), button_released(), cbrta_halleyf(), color_filter(), commit_params(), compare_llhh(), compare_rows_presets(), compute_kernel(), d3_np_fs(), double_equal(), dsvd(), dt_cache_arena_alloc(), dt_cache_arena_calc(), dt_cache_arena_cleanup(), dt_cache_arena_free(), dt_cache_arena_init(), dt_cache_arena_ptr_in(), dt_cache_arena_stats(), dt_colorspaces_cygm_apply_coeffs_to_rgb(), dt_develop_blendif_lab_blend(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_raw_blend(), dt_develop_blendif_rgb_hsl_blend(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_blend(), dt_develop_blendif_rgb_jzczhz_make_mask(), dt_draw_cairo_to_gdk_pixbuf(), dt_drawlayer_io_load_flat_rgba(), dt_gpx_geodesic_distance(), dt_gpx_geodesic_intermediate_point(), dt_imageio_sort_modules_format(), dt_imageio_sort_modules_storage(), dt_iop_estimate_cubic(), dt_iop_eval_cubic(), dt_iop_filmic_rgb_compute_spline(), dt_iop_tonecurve_draw(), dt_lib_sort_plugins(), dt_lua_init_lock(), dt_masks_dynbuf_add_2(), dt_masks_dynbuf_add_zeros(), dt_masks_dynbuf_buffer(), dt_masks_dynbuf_free(), dt_masks_dynbuf_get(), dt_masks_dynbuf_harvest(), dt_masks_dynbuf_init(), dt_masks_dynbuf_position(), dt_masks_dynbuf_reserve_n(), dt_masks_dynbuf_reset(), dt_masks_dynbuf_set(), dt_masks_project_on_line(), dt_noiseprofile_get_matching(), dt_sort_iop_by_order(), dt_sort_iop_list_by_order(), dt_sort_iop_list_by_order_f(), dt_vector_sin(), dtgtk_cairo_paint_masks_drawn_and_parametric(), dtgtk_cairo_paint_masks_parametric(), dtgtk_cairo_paint_modulegroup_basics(), dtgtk_cairo_paint_modulegroup_color(), dtgtk_cairo_paint_modulegroup_grading(), dtgtk_cairo_paint_star(), dtgtk_cairo_paint_unratestar(), dtgtk_cairo_paint_waveform_overlaid(), dtgtk_cairo_paint_waveform_scope(), easter(), eigf_blending(), eigf_blending_no_mask(), fit_curve(), fmaxabsf(), fminabsf(), get_skin_tones_range(), gui_changed(), gui_init(), gui_update(), infer_bias_from_profile(), infer_radius_from_profile(), infer_scattering_from_profile(), infer_shadows_from_profile(), intp(), intp(), intp(), isaligned(), keystone_backtransform(), keystone_get_matrix(), keystone_transform(), kmeans(), kth_smallest(), Lab2UnitCube(), LCH_2_Lab(), Lch_to_color_name(), LIM(), LIM(), LMS_to_Yrg(), local_laplacian_internal(), log_gamma_lanczos(), lookup_unbounded(), main(), matrix_product(), max_i(), min_i(), mix(), interpol::spline_base< T >::operator()(), pixSort(), pointer_swap_f(), precondition(), precondition_v2(), precondition_Y0U0V0(), process(), process(), process_v3(), PYTHAG(), quickperm(), reload_defaults(), RGB2Lab(), rotation_matrix_gradient(), rotation_matrix_isophote(), safe_in(), set_points_from_grad(), shuffle(), SIGN(), sign(), sinf_fast(), smooth_path_linsys(), sort_folder_tag(), sort_languages(), sort_pos(), sort_tag_by_count(), sort_tag_by_leave(), sort_tag_by_path(), sort_views(), interpol::spline_base< T >::spline_base(), interpol::spline_base< T >::spline_base(), spline_cubic_set_internal(), swap(), thinplate_color_pos(), ULIM(), variance_analyse(), and Yrg_to_LMS().

◆ A_transposed

const dt_colormatrix_t A_transposed
static
Initial value:
= {
{ 0.5f, 3.524000f, 0.199076f, 0.0f },
{ 0.5f, -4.066708f, 1.096799f, 0.0f },
{ 0.0f, 0.542708f, -1.295875f, 0.0f },
}

◆ AI

const dt_colormatrix_t AI
Initial value:
= {
{ 1.0f, 0.1386050432715393f, 0.0580473161561189f, 0.0f },
{ 1.0f, -0.1386050432715393f, -0.0580473161561189f, 0.0f },
{ 1.0f, -0.0960192420263190f, -0.8118918960560390f, 0.0f },
}

Referenced by JzAzBz_2_XYZ(), and process().

◆ AI_transposed

const dt_colormatrix_t AI_transposed
static
Initial value:
= {
{ 1.0f, 1.0f, 1.0f, 0.0f },
{ 0.1386050432715393f, -0.1386050432715393f, -0.0960192420263190f, 0.0f },
{ 0.0580473161561189f, -0.0580473161561189f, -0.8118918960560390f, 0.0f },
}

Referenced by process().

◆ b

const float b = 1.f - r - g

Referenced by _aspect_ratio_cmp(), _aspect_ratio_cmp(), _blend_add(), _blend_add(), _blend_add(), _blend_add(), _blend_average(), _blend_average(), _blend_average(), _blend_average(), _blend_chromaticity(), _blend_chromaticity(), _blend_chromaticity(), _blend_color(), _blend_color(), _blend_coloradjust(), _blend_coloradjust(), _blend_darken(), _blend_darken(), _blend_darken(), _blend_difference(), _blend_difference(), _blend_difference(), _blend_difference(), _blend_difference2(), _blend_divide(), _blend_divide_inverse(), _blend_geometric_mean(), _blend_hardlight(), _blend_hardlight(), _blend_hardlight(), _blend_harmonic_mean(), _blend_HSV_color(), _blend_HSV_value(), _blend_hue(), _blend_hue(), _blend_Lab_a(), _blend_Lab_b(), _blend_Lab_color(), _blend_Lab_lightness(), _blend_lighten(), _blend_lighten(), _blend_lighten(), _blend_lightness(), _blend_lightness(), _blend_linearlight(), _blend_linearlight(), _blend_linearlight(), _blend_luminance(), _blend_multiply(), _blend_multiply(), _blend_multiply(), _blend_multiply(), _blend_normal(), _blend_normal_bounded(), _blend_normal_bounded(), _blend_normal_bounded(), _blend_normal_unbounded(), _blend_normal_unbounded(), _blend_normal_unbounded(), _blend_overlay(), _blend_overlay(), _blend_overlay(), _blend_pinlight(), _blend_pinlight(), _blend_pinlight(), _blend_RGB_B(), _blend_RGB_B(), _blend_RGB_G(), _blend_RGB_G(), _blend_RGB_R(), _blend_RGB_R(), _blend_screen(), _blend_screen(), _blend_screen(), _blend_softlight(), _blend_softlight(), _blend_softlight(), _blend_subtract(), _blend_subtract(), _blend_subtract(), _blend_subtract(), _blend_subtract_inverse(), _blend_vividlight(), _blend_vividlight(), _blend_vividlight(), _brush_border_get_XY(), _brush_get_XY(), _brush_points_recurs(), _colormanage_ui_color(), _compass_star(), _copy_mask(), _copy_mask(), _copy_mask(), _create_tooltip_text(), _db_snap_sort(), _display_channel(), _display_channel(), _display_channel(), _display_rgb_equal(), _distort_paths(), _do_get_structure_auto(), _do_get_structure_lines(), _do_get_structure_quad(), _ellipse_get_mask(), _ellipse_get_mask_roi(), _ellipse_get_points_border(), _ellipse_points_to_transform(), _fill_mask(), _film_filename_cmp(), _find_image_in_images(), _g_list_find_module_by_name(), _gcd(), _get_control(), _get_tb_added_metadata_string_values(), _get_tb_added_tag_string_values(), _get_tb_removed_metadata_string_values(), _get_tb_removed_tag_string_values(), _group_get_mask(), _hm_history_items_match(), _hm_history_masks_match(), _hm_label_cmp(), _hm_report_build_moved_set(), _hm_topo_resolve_incompatible_constraints(), _images_list_cmp(), _init_image_pin(), _init_place_pin(), _is_not_exportable_tag(), _lcm(), _lerpf(), _lerpf(), _lib_metadata_sort_index(), _lib_metadata_sort_order(), _lib_snapshots_add_button_clicked_callback(), _list_find_by_position(), _max(), _min(), _picker_project_opponent_to_display_rgb(), _points_to_transform(), _polygon_border_get_XY(), _polygon_get_XY(), _retouch_blur(), _sort_by_iso(), _sort_by_path(), _sort_model_by_relevance_func(), _sort_model_func(), _sort_model_func(), _sort_position_names_func(), _sort_profiles(), _sort_segment(), _sort_timezones(), _sort_track(), _sort_tree_count_func(), _sort_tree_path_func(), _sort_tree_tag_func(), _swap(), _thumb_compare_rowid_desc(), _thumbtable_double_equal(), _thumbtable_float_equal(), _update_RGB_colors(), _update_RGB_slider_stop(), _xy2matrix(), angle_diff(), angle_diff_signed(), array_str_cmp(), backtransform(), backtransform_v2(), backtransform_Y0U0V0(), blur_line(), build_tonecurve(), button_pressed(), cbrta_halleyf(), color_filter(), commit_params(), commit_params(), compare_llhh(), compare_rows_presets(), d3_np_fs(), detail_enhance(), double_equal(), dt_bauhaus_slider_set_stop(), dt_bauhaus_value_changed_default_callback(), dt_bilateral_blur(), dt_bilateral_free(), dt_bilateral_grid_size(), dt_bilateral_init(), dt_bilateral_memory_use(), dt_bilateral_singlebuffer_size(), dt_bilateral_slice(), dt_bilateral_slice_to_output(), dt_bilateral_splat(), dt_colorspaces_cygm_apply_coeffs_to_rgb(), dt_develop_blend_free_cl_global(), dt_develop_blend_init_cl_global(), dt_develop_blendif_lab_blend(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_raw_blend(), dt_develop_blendif_rgb_hsl_blend(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_blend(), dt_develop_blendif_rgb_jzczhz_make_mask(), dt_draw_cairo_to_gdk_pixbuf(), dt_drawlayer_io_load_flat_rgba(), dt_gpx_geodesic_intermediate_point(), dt_imageio_dng_make_tag(), dt_imageio_dng_write_tiff_header(), dt_imageio_sort_modules_format(), dt_imageio_sort_modules_storage(), dt_iop_colorreconstruct_bilateral_blur(), dt_iop_colorreconstruct_bilateral_free(), dt_iop_colorreconstruct_bilateral_freeze(), dt_iop_colorreconstruct_bilateral_init(), dt_iop_colorreconstruct_bilateral_slice(), dt_iop_colorreconstruct_bilateral_splat(), dt_iop_filmic_rgb_compute_spline(), dt_iop_tonecurve_draw(), dt_lib_sort_plugins(), dt_masks_project_on_line(), dt_noiseprofile_get_matching(), dt_printing_get_image_box(), dt_sort_iop_by_order(), dt_sort_iop_list_by_order(), dt_sort_iop_list_by_order_f(), dtgtk_cairo_paint_masks_drawn_and_parametric(), dtgtk_cairo_paint_masks_parametric(), dtgtk_cairo_paint_modulegroup_basics(), dtgtk_cairo_paint_star(), dtgtk_cairo_paint_unratestar(), dtgtk_cairo_paint_waveform_overlaid(), dtgtk_cairo_paint_waveform_scope(), easter(), eigf_blending(), eigf_blending_no_mask(), find_nearest_on_line_t(), fmaxabsf(), fminabsf(), gauss_solve(), interpol::smooth_cubic_spline< T >::gauss_solve(), gauss_solve_triangular(), get_skin_tones_range(), grid_rescale(), image_to_grid(), image_to_grid(), image_to_relgrid(), interpol::smooth_cubic_spline< T >::init(), init_presets(), intp(), intp(), intp(), JzAzBz_2_XYZ(), keystone_backtransform(), keystone_get_matrix(), keystone_transform(), kmeans(), Lab2UnitCube(), LCH_2_Lab(), Lch_to_color_name(), legacy_params(), LIM(), LIM(), ll_pad_input(), local_laplacian(), local_laplacian_internal(), log_gamma_lanczos(), interpol::smooth_cubic_spline< T >::LU_solve(), main(), max_i(), min_i(), mix(), mouse_moved(), interpol::spline_base< T >::operator()(), pixSort(), pointer_swap_f(), precondition(), precondition_v2(), precondition_Y0U0V0(), process(), process(), process(), process_v3(), PYTHAG(), rgb2hsl(), RGB2Lab(), set_points_from_grad(), SIGN(), smooth_path_linsys(), solve(), sort_folder_tag(), sort_languages(), sort_pos(), sort_tag_by_count(), sort_tag_by_leave(), sort_tag_by_path(), sort_views(), interpol::spline_base< T >::spline_base(), interpol::spline_base< T >::spline_base(), spline_cubic_set_internal(), swap(), sycc420_to_rgb(), sycc422_to_rgb(), sycc444_to_rgb(), sycc_to_rgb(), thinplate_color_pos(), thinplate_match(), triangular_ascent_fast(), triangular_ascent_safe(), triangular_descent_fast(), triangular_descent_safe(), ULIM(), variance_analyse(), write_image(), and Yrg_to_LMS().

◆ C

◆ c

const float c = hypotf(g, r)

Referenced by __attribute__(), _apply_tonecurves(), _apply_trc(), _area_button_press_callback(), _area_button_press_callback(), _area_button_release_callback(), _area_button_release_callback(), _area_draw_callback(), _area_draw_callback(), _area_enter_notify_callback(), _area_key_press_callback(), _area_leave_notify_callback(), _area_leave_notify_callback(), _area_motion_notify_callback(), _area_motion_notify_callback(), _area_scroll_callback(), _area_scrolled_callback(), _auto_levels(), _auto_set_exposure(), _auto_set_illuminant(), _bin_pixels_histogram_in_roi(), _bin_pixels_waveform_in_roi(), _blend_Lab_rescale(), _blend_Lab_scale(), _bottom_area_button_press_callback(), _bottom_area_draw_callback(), _brush_border_get_XY(), _brush_get_XY(), _brush_points_recurs(), _build_xtrans_bilinear_lookup(), _cache_entry_clmem_flush_device(), _cache_entry_has_device_payload(), _cache_try_rekey_reuse_locked(), _channel_tabs_switch_callback(), _clamp_float_to_uint8(), _cleanup_metadata_value(), _compute_laplacian_normalization(), _compute_lut(), _convert_GUI_colors(), _copy_output(), _create_vectorscope_image(), _dfs_visit(), _diffuse_error(), _display_channel(), _display_channel(), _display_channel(), _draw_background(), _draw_color_picker(), _event_aspect_presets_changed(), _expand_source(), _export_final_buffer_to_uint16(), _extract_patches(), _find_exif_maker(), _find_exif_model(), _free_cache_entry(), _get_auto_exp_histogram(), _get_base_value(), _get_container_row_heigth(), _get_iso8601_int(), _heal_add(), _heal_laplace_iteration(), _heal_sub(), _hm_topo_resolve_incompatible_constraints(), _interpolate_and_mask(), _interpolate_and_mask_xtrans(), _maketaps_bicubic(), _maketaps_lanczos(), _mask_waveform(), _masks_blur_13x13_coeff(), _masks_blur_5x5_coeff(), _move_point_internal(), _move_point_internal(), _move_point_internal(), _paint_parade(), _picker_max_chroma_for_m_hue(), _polygon_border_get_XY(), _polygon_get_XY(), _process(), _process_vectorscope(), _profile_key_is_sane(), _read_ppm(), _remosaic_and_replace(), _remosaic_and_replace_xtrans(), _reset_display_selection(), _retouch_fill(), _rgblevels_move_handle(), _scope_pixel_to_display_rgb(), _scrolled(), _scrolled(), _sprinkle_octave_weights(), _text_path_legacy_build(), _text_path_legacy_if_exists(), _trace_buffer_content(), _transform_matrix_rgb(), _update_RGB_colors(), _update_RGB_slider_stop(), _watermark_get_svgdoc(), _write_pixel(), alloc_curve_to(), amaze_demosaic_RT(), apply_auto_black(), apply_auto_Dmax(), apply_auto_exposure(), apply_auto_offset(), apply_auto_WB_high(), apply_auto_WB_low(), apply_autocolor(), apply_autogrey(), apply_correction(), apply_curve(), apply_gain_neutralize(), apply_gamma_neutralize(), apply_lift_neutralize(), area_button_press(), area_button_release(), area_draw(), area_enter_notify(), area_leave_notify(), area_motion_notify(), area_scrolled(), aspect_presets_changed(), auto_adjust_contrast_boost(), auto_adjust_exposure_boost(), auto_detect_WB(), backtransform(), backtransform_v2(), backtransform_Y0U0V0(), blur_vertical_1wide_Kahan(), build_matrix(), button_clicked(), button_clicked(), button_pressed(), button_released(), cairo_surface_create_from_xyz_data(), checker_set_color(), clamped_scaling(), clipnan_pixel(), color_picker_apply(), color_picker_helper_bayer_parallel(), color_picker_helper_bayer_seq(), color_picker_helper_xtrans_parallel(), color_picker_helper_xtrans_seq(), color_smoothing(), colorpick_callback(), colorpick_color_set(), colorpick_color_set(), colorpicker_callback(), combo_changed(), commit_params(), commit_params(), compute_error(), compute_features(), compute_patches_delta_E(), copy_pixels(), correct_pixel_pyramid(), correct_pixel_tetrahedral(), correct_pixel_trilinear(), curve_scalar(), decompose_2D_Bspline(), define_patches(), demosaic_ppg(), denoiseprofile_button_press(), denoiseprofile_button_release(), denoiseprofile_draw(), denoiseprofile_draw_variance(), denoiseprofile_leave_notify(), denoiseprofile_motion_notify(), denoiseprofile_scrolled(), denoiseprofile_tab_switch(), Dmin_picker_callback(), dn_weight(), downscale_vector(), dsvd(), dt_bauhaus_popup_key_press(), dt_collection_hint_message(), dt_collection_serialize(), dt_colorspaces_cygm_apply_coeffs_to_rgb(), dt_colorspaces_cygm_to_rgb(), dt_colorspaces_rgb_to_cygm(), dt_conf_init(), dt_control_crawler_run(), dt_control_merge_hdr_job_run(), dt_dev_pixelpipe_cache_rekey(), dt_develop_blendif_lab_blend(), dt_draw_curve_add_point(), dt_draw_curve_calc_value(), dt_draw_curve_calc_values(), dt_draw_curve_calc_values_V2(), dt_draw_curve_calc_values_V2_nonperiodic(), dt_draw_curve_calc_values_V2_periodic(), dt_draw_curve_destroy(), dt_draw_curve_new(), dt_draw_curve_set_point(), dt_draw_curve_smaple_values(), dt_exif_xmp_read(), dt_fast_expf_4wide(), dt_focuspeaking(), dt_gui_load_theme(), dt_gui_widget_update_list_height(), dt_image_film_roll(), dt_image_get_audio_path_from_path(), dt_image_is_hdr(), dt_image_is_ldr(), dt_image_local_copy_paths_from_fullpath(), dt_image_path_append_version_no_db(), dt_imageio_is_hdr(), dt_imageio_is_raster(), dt_imageio_is_raw(), dt_imageio_open_pfm(), dt_imageio_open_rgbe(), dt_init(), dt_iop_basecurve_button_press(), dt_iop_basecurve_draw(), dt_iop_basecurve_key_press(), dt_iop_basecurve_motion_notify(), dt_iop_basecurve_sanity_check(), dt_iop_clip_and_zoom_demosaic_half_size_f(), dt_iop_clip_and_zoom_mosaic_half_size(), dt_iop_clip_and_zoom_mosaic_half_size_f(), dt_iop_clip_and_zoom_mosaic_third_size_xtrans(), dt_iop_clip_and_zoom_mosaic_third_size_xtrans_f(), dt_iop_colorzones_get_params(), dt_iop_default_init(), dt_iop_filmic_rgb_compute_spline(), dt_iop_levels_area_draw(), dt_iop_levels_autoadjust_callback(), dt_iop_levels_button_press(), dt_iop_levels_button_release(), dt_iop_levels_leave_notify(), dt_iop_levels_motion_notify(), dt_iop_levels_move_handle(), dt_iop_levels_scroll(), dt_iop_tonecurve_button_press(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_key_press(), dt_iop_tonecurve_motion_notify(), dt_iop_tonecurve_sanity_check(), dt_masks_blur_9x9_coeff(), dt_masks_extend_border(), dt_pixel_cache_clmem_flush(), dt_pixel_cache_clmem_get(), dt_pixel_cache_clmem_put(), dt_pixel_cache_clmem_ref(), dt_pixel_cache_clmem_remove(), dt_pixel_cache_clmem_unref(), dt_pwstorage_kwallet_destroy(), dt_UCS_JCH_to_xyY(), dt_ui_container_add_widget(), dt_ui_container_destroy_children(), dt_ui_container_focus_widget(), dt_ui_container_foreach(), dt_ui_get_container(), dt_util_elevation_str(), dt_util_foo_to_utf8(), dt_util_latitude_str(), dt_util_longitude_str(), dt_util_str_to_glist(), dt_vector_sin(), dual_demosaic(), dwt_decompose_horiz(), dwt_decompose_vert(), easter(), eaw_dn_decompose(), eaw_synthesize(), encode_tonecurve(), entry_activated(), entry_focus_in_callback(), expand_2D_Bspline(), extract_color_checker(), f(), filmic_chroma_v1(), filmic_chroma_v2_v3(), filmic_split_v1(), filmic_split_v2_v3(), finalize_store(), find_coeffs(), find_gradients(), find_laplacians(), find_string(), frame_colorpick_color_set(), gamma_correct(), gauss_blur(), gauss_expand(), gauss_reduce(), gaussian_noise_simd(), get_channels_factors(), get_error(), get_manifolds(), gui_cleanup(), gui_cleanup(), gui_init(), gui_init(), gui_post_expose(), gui_reset(), gui_update(), guide_laplacians(), heat_PDE_diffusion(), heat_PDE_diffusion(), icuLikeCompare(), illuminant_xy_to_RGB(), init(), init(), init_presets(), init_reconstruct(), inpaint_mask(), inpaint_noise(), interpolate_bilinear(), intp(), intp(), intp(), invert_histogram(), isotrope_laplacian(), Kahan_sum(), kmeans(), kmeans(), legacy_params(), LIM(), LIM(), lin_interpolate(), ll_laplacian(), lmmse_demosaic(), load_add_16wide(), load_add_16wide_Kahan(), load_add_4wide(), load_add_4wide_Kahan(), load_add_Nwide_Kahan(), load_update_max_16wide(), load_update_min_16wide(), lowlight_button_press(), lowlight_button_release(), lowlight_draw(), lowlight_leave_notify(), lowlight_motion_notify(), lowlight_scrolled(), luma_chroma(), main(), make_noise(), menuitem_clear(), menuitem_mode(), menuitem_mode_change(), modify_roi_in(), modify_roi_in(), modify_roi_in(), modify_roi_out(), mutate(), nearest_color(), nlmeans_denoise(), normalize_manifolds(), paint_chroma_slider(), parse_arguments(), parse_cht(), parse_cube_line(), parse_double(), parse_string(), passthrough_monochrome(), picker_scale(), pixel_rgb_geomean(), pixel_rgb_mean(), pixel_rgb_norm_1(), pixel_rgb_norm_2(), pixel_rgb_norm_power(), pixel_rgb_norm_power_simd(), poisson_noise_simd(), precondition(), precondition_v2(), precondition_Y0U0V0(), pretty_print_collection(), process(), process(), process(), process(), process(), process(), process_cmatrix_bm(), process_cmatrix_proper(), process_fusion(), process_hsl_v1(), process_hsl_v2(), process_lch_bayer(), process_lch_xtrans(), process_lcms2_bm(), process_lcms2_proper(), process_random(), process_variance(), process_visualize(), process_wavelets(), process_xtrans(), rawdenoise_button_press(), rawdenoise_button_release(), rawdenoise_draw(), rawdenoise_leave_notify(), rawdenoise_motion_notify(), rawdenoise_scrolled(), rawdenoise_tab_switch(), rcd_demosaic(), rcd_ppg_border(), read_pfm(), reduce_2D_Bspline(), reduce_artifacts(), reload_defaults(), repack_double3x3_to_3xSSE(), reset_mix(), restore_ratios(), rotation_matrix_gradient(), rotation_matrix_isophote(), rt_adjust_levels(), rt_colorpick_color_set_callback(), rt_copy_image_masked(), rt_display_selected_fill_color(), scalar_product(), set_16wide(), set_pixels(), smooth_path_linsys(), sparse_scalar_product(), store(), store_16wide(), store_scaled_16wide(), store_scaled_4wide(), store_scaled_Nwide(), strinc(), strptime(), sub_16wide(), sub_16wide_Kahan(), sub_4wide(), sub_4wide_Kahan(), sub_Nwide_Kahan(), sum_rec(), tab_switch(), tab_switch(), testimg_print_by_chan(), testimg_print_by_pixel(), testimg_to_exp(), testimg_to_log(), tonecurve_apply(), tonecurve_create(), tonecurve_delete(), tonecurve_unapply(), topological_sort(), transpose_3x3_to_3xSSE(), transpose_3xSSE(), ULIM(), uniform_noise_simd(), update_max_16wide(), update_min_16wide(), upscale_vector(), variance_rec(), variance_stabilizing_xform(), vng_interpolate(), wavelet_denoise(), wavelet_denoise_xtrans(), wavelets_detail_level(), wavelets_reconstruct_ratios(), wavelets_reconstruct_RGB(), Wb_high_norm_callback(), WB_high_picker_callback(), WB_high_picker_update(), Wb_low_norm_callback(), WB_low_picker_callback(), WB_low_picker_update(), weight(), write_image(), write_image(), write_image(), xtrans_fdc_interpolate(), xtrans_markesteijn_interpolate(), xyY_to_dt_UCS_UV(), Ych_to_Yrg(), and Yrg_to_Ych().

◆ c1

const float c1 = 0.8359375f

Referenced by for().

◆ c2

const float c2 = 18.8515625f

Referenced by for().

◆ c3

const float c3 = 18.6875f

◆ d

const float d = -0.56f

Referenced by _add_sample(), _add_selected_metadata(), _add_tag_button_clicked(), _apply_datetime_callback(), _apply_offset_callback(), _apply_preferences(), _apply_rename_path(), _area_button_press_callback(), _area_button_press_callback(), _area_scrolled_callback(), _aspect_ratio_get(), _attach_button_clicked(), _attach_selected_tag(), _attached_key_pressed(), _backbuf_int_to_op(), _backbuf_op_to_int(), _base_dir_changed(), _bh_combobox_get_hovered_entry(), _bh_round_to_n_digits(), _bh_slider_get_min_step(), _bh_slider_get_scale(), _bin_pickers_vectorscope(), _bin_pixels_vectorscope_in_roi(), _bin_vectorscope(), _blend_color(), _blend_color(), _blend_coloradjust(), _blend_coloradjust(), _blend_hue(), _blend_hue(), _blendif_clean_output_channels(), _blendop_masks_combine_callback(), _brush_border_get_XY(), _brush_get_XY(), _choose_gpx_callback(), _cleanup(), _clear_entry_button_callback(), _clear_mtime_label(), _clear_text_entry(), _clear_variables_cache(), _click_on_metadata_list(), _click_on_view(), _click_on_view_attached(), _click_on_view_dictionary(), _collection_updated_callback(), _color_mode_changed(), _colorcorrect_row(), _colorin_format_cst(), _colorlabel_clicked(), _colorout_format_cst(), _combobox_data(), _combobox_next_sensitive(), _combobox_set(), _completion_apply_selected(), _completion_fill(), _completion_find_prefix(), _completion_focus_out_idle(), _completion_hide(), _completion_update(), _compute_lut(), _conf_add(), _copy_toggled_callback(), _count_images_per_track(), _datetime_changed_callback(), _datetime_entry_changed(), _datetime_key_pressed(), _datetime_scroll_over(), _delete_tag_button_clicked(), _destroy_surface(), _detach_button_clicked(), _detach_selected_tag(), _dictionary_key_pressed(), _dimensions_type_changed(), _display_buttons(), _display_callback(), _display_datetime(), _display_default(), _display_offset(), _dnd_clear_root(), _dnd_expand_timeout(), _dnd_scroll_timeout(), _do_select_all(), _do_select_all_clicked(), _do_select_new(), _do_select_new_clicked(), _do_select_none(), _do_select_none_clicked(), _draw_callback(), _draw_ellipse(), _draw_rectangle(), _dt_style_cleanup_multi_instance(), _edit_key_press(), _ellipse_events_mouse_moved(), _ellipse_point_close_to_path(), _enforce_dab_center_spacing(), _enter_key_pressed(), _event_aspect_presets_changed(), _event_dnd_begin(), _event_dnd_end(), _event_dnd_motion(), _event_dnd_received(), _exif_text_set_and_free(), _expand_text_for_preview(), _export_button_clicked(), _file_chooser_response(), _filelist_changed_callback(), _filename_changed(), _fill_text_view(), _float_to_fract(), _float_to_fract(), _focus_search_action(), _force_selection_changed(), _format_changed(), _formula_edited(), _gamut_quickbutton_clicked(), _generate_curve_lut(), _get_allocation_size(), _get_combobox_max_width(), _get_combobox_popup_height(), _get_current_configuration(), _get_edit_text(), _get_final_size_with_iso_12646(), _get_image_datetime(), _get_metadata_per_index(), _got_focus(), _gui_hist_get_active_items(), _gui_hist_item_toggled(), _gui_hist_set_items(), _gui_styles_is_copy_module_order_set(), _gui_styles_is_update_module_order_set(), _gui_styles_select_all_items(), _gui_styles_update_view(), _guides_draw_callback(), _guides_gui_callback(), _height_changed(), _hide_all_rules(), _hide_mouse(), _history_select_row_for_end(), _history_store_add_original(), _history_store_prepend_item(), _hit_paths(), _image_distance_transform(), _image_info_changed(), _init(), _init_treeview(), _initial_load_idle(), _is_backbuf_ready(), _is_idle(), _iso_12646_quickbutton_clicked(), _jobcode_changed(), _key_press_on_list(), _key_pressed(), _launch_text_query(), _lib_collect_gui_update(), _lib_collect_mode(), _lib_collect_update_params(), _lib_duplicate_delete(), _lib_duplicate_init_callback(), _lib_duplicate_preview_updated_callback(), _lib_duplicate_thumb_release_callback(), _lib_export_styles_changed_callback(), _lib_filter_images_order_change(), _lib_filter_set_tag_order(), _lib_histogram_preview_updated_callback(), _lib_history_change_callback(), _lib_history_change_text(), _lib_history_view_button_press_callback(), _lib_history_view_query_tooltip(), _lib_history_view_selection_changed(), _lib_lighttable_columns_slider_changed(), _lib_lighttable_set_columns(), _lib_metadata_init_queue(), _lib_metadata_refill_grid(), _lib_metadata_setup_grid(), _lib_module_toolbox_add(), _lib_modulegroups_signal_set(), _lib_modulegroups_toggle(), _lib_modulegroups_update_iop_visibility(), _lib_navigation_button_press_callback(), _lib_navigation_button_release_callback(), _lib_navigation_draw_callback(), _lib_navigation_set_position(), _lib_selection_changed_callback(), _lib_snapshots_add_button_clicked_callback(), _lib_snapshots_toggled_callback(), _load_for_image(), _locations_tree_update(), _lost_focus(), _menuitem_preferences(), _metadata_set_list(), _metadata_update_markup(), _metadata_update_value(), _metadata_view_update_values(), _modulegroups_module_visible_in_current(), _mount_changed(), _mouse_scroll(), _name_editing_done(), _name_start_editing(), _needs_recompute(), _new_button_clicked(), _new_button_clicked(), _new_datetime(), _new_printer_callback(), _on_storage_list_changed(), _others_location(), _others_location_draw(), _overexposed_quickbutton_clicked(), _paper_size(), _picker_button_toggled(), _pixelpipe_pick_from_image(), _pixelpipe_pick_samples(), _polygon_border_get_XY(), _polygon_get_XY(), _pop_menu_attached(), _pop_menu_attached_attach_to_all(), _pop_menu_attached_detach(), _pop_menu_delete_location(), _pop_menu_dictionary(), _pop_menu_dictionary_attach_tag(), _pop_menu_dictionary_change_path(), _pop_menu_dictionary_copy_tag(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_delete_tag(), _pop_menu_dictionary_detach_tag(), _pop_menu_dictionary_edit_tag(), _pop_menu_dictionary_goto_collection_back(), _pop_menu_dictionary_goto_tag_collection(), _pop_menu_dictionary_set_as_tag(), _pop_menu_edit_location(), _populate_popup_multi(), _preview_gpx_file(), _preview_map(), _preview_text_window_width_px(), _print_dpi_changed(), _print_height_changed(), _print_width_changed(), _process(), _process_common_setup(), _process_file_list(), _process_vectorscope(), _project_dir_changed(), _raise_signal_tag_changed(), _rating_clicked(), _ratio_get_aspect(), _rawoverexposed_quickbutton_clicked(), _read_datetime_entry(), _redraw_scopes(), _redraw_surface(), _refresh_display(), _refresh_image_datetime(), _refresh_preview_idle(), _refresh_rules_visibility(), _remove_tag_from_list(), _render_preview(), _render_preview_from_edit(), _reset_cache(), _reset_input_transforms(), _reset_opacity_slider(), _reset_processing_state(), _reset_text_filter(), _resize_callback(), _resolve_input_profile(), _retouch_fill(), _save_and_render(), _save_last_tag_used(), _save_now(), _save_timeout_cb(), _scale_mdlclick(), _scope_pixel_to_display_rgb(), _scope_pixel_to_xyz(), _select_normalization_profile(), _selection_changed(), _selection_changed(), _selection_changed_callback(), _set_dimensions(), _set_edit_text(), _set_help_string(), _set_image_paths(), _set_input_profile_metadata(), _set_keyword(), _set_location_collection(), _set_matching_tag_visibility(), _set_matching_tag_visibility(), _set_opacity_slider(), _set_paper_size(), _set_params(), _set_test_path(), _set_tooltip(), _setup_completion(), _setup_selected_images_list(), _shape_button_clicked(), _show_all_button_clicked(), _show_location(), _show_milliseconds(), _show_popover_menu(), _size_in_px_update(), _slider_add_step(), _slider_zoom_range(), _softproof_quickbutton_clicked(), _sort_attached_list(), _sort_dictionary_list(), _stage_callback(), _statistic_changed(), _step_state(), _storage_changed(), _style_changed(), _styles_changed_callback(), _styles_row_activated_callback(), _tag_name_changed(), _tag_name_changed(), _tags_toggled(), _text_entry_changed_wait(), _text_sidecar_save_path(), _textbuffer_changed(), _textbuffer_changed(), _textnotes_load_finish_idle(), _textview_focus(), _textview_focus_out(), _timezone_key_pressed(), _timezone_save(), _toggle_checklist_at_line(), _toggle_dttags_button_callback(), _toggle_lock_button_callback(), _toggle_mode(), _track_add_point(), _tree_tagname_show(), _trigger_recompute(), _update(), _update(), _update(), _update_altered_filters(), _update_atdetach_buttons(), _update_collect_modes(), _update_colors_filter(), _update_dimensions(), _update_everything(), _update_for_current_image(), _update_formats_combobox(), _update_layout(), _update_layout(), _update_mtime_label(), _update_output_cfa_descriptor(), _update_rating_filter(), _update_sample_label(), _update_softproof_gamut_checking(), _validate_dimensions(), _view_map_button_press_callback(), _view_map_delete_other_location(), _view_map_draw_location(), _view_map_draw_main_location(), _view_map_draw_other_locations(), _view_map_geotag_changed(), _view_map_location_changed(), _widget_draw(), _widget_finalize(), _width_changed(), _write_image(), _write_metadata(), _xy2matrix(), apply_clicked(), apply_toneequalizer(), area_button_press(), area_button_press(), aspect_presets_changed(), auto_advance(), backtransform(), BL(), bpp(), button_clicked(), button_clicked(), button_pressed(), button_pressed(), button_released(), cleanup(), cleanup_pipe(), cleanup_pipe(), collection_updated(), color_picker_apply(), colorscheme_callback(), combo_changed(), commit_params(), commit_params(), commit_params(), commit_params(), commit_params_late(), compute_curve_lut(), compute_density(), compute_luminance_mask(), compute_lut(), compute_wb_factors(), create_clicked(), create_global_distortion_map(), delete_clicked(), denoiseprofile_button_press(), dimension(), display_borders_callback(), distort_backtransform(), distort_backtransform(), distort_backtransform(), distort_mask(), distort_transform(), distort_transform(), distort_transform(), do_crop(), doubleToRawLongBits(), dt_bauhaus_combobox_add_full(), dt_bauhaus_combobox_button_press(), dt_bauhaus_combobox_clear(), dt_bauhaus_combobox_entry_set_sensitive(), dt_bauhaus_combobox_from_widget(), dt_bauhaus_combobox_get(), dt_bauhaus_combobox_get_data(), dt_bauhaus_combobox_get_editable(), dt_bauhaus_combobox_get_entry(), dt_bauhaus_combobox_get_text(), dt_bauhaus_combobox_insert_full(), dt_bauhaus_combobox_length(), dt_bauhaus_combobox_remove_at(), dt_bauhaus_combobox_set_default(), dt_bauhaus_combobox_set_editable(), dt_bauhaus_combobox_set_entries_ellipsis(), dt_bauhaus_combobox_set_from_text(), dt_bauhaus_combobox_set_from_value(), dt_bauhaus_combobox_set_selected_text_align(), dt_bauhaus_combobox_set_text(), dt_bauhaus_draw_baseline(), dt_bauhaus_draw_indicator(), dt_bauhaus_popup_button_press(), dt_bauhaus_popup_draw(), dt_bauhaus_popup_motion_notify(), dt_bauhaus_show_popup(), dt_bauhaus_slider_button_press(), dt_bauhaus_slider_button_release(), dt_bauhaus_slider_clear_stops(), dt_bauhaus_slider_from_params(), dt_bauhaus_slider_from_widget(), dt_bauhaus_slider_get(), dt_bauhaus_slider_get_digits(), dt_bauhaus_slider_get_hard_max(), dt_bauhaus_slider_get_hard_min(), dt_bauhaus_slider_get_soft_max(), dt_bauhaus_slider_get_soft_min(), dt_bauhaus_slider_get_step(), dt_bauhaus_slider_get_text(), dt_bauhaus_slider_get_val(), dt_bauhaus_slider_motion_notify(), dt_bauhaus_slider_reset(), dt_bauhaus_slider_set(), dt_bauhaus_slider_set_default(), dt_bauhaus_slider_set_digits(), dt_bauhaus_slider_set_factor(), dt_bauhaus_slider_set_feedback(), dt_bauhaus_slider_set_format(), dt_bauhaus_slider_set_hard_max(), dt_bauhaus_slider_set_hard_min(), dt_bauhaus_slider_set_normalized(), dt_bauhaus_slider_set_offset(), dt_bauhaus_slider_set_soft_max(), dt_bauhaus_slider_set_soft_min(), dt_bauhaus_slider_set_step(), dt_bauhaus_slider_set_stop(), dt_bauhaus_slider_set_val(), dt_bauhaus_value_changed_default_callback(), dt_bauhaus_widget_accept(), dt_bauhaus_widget_reject(), dt_conf_all_string_entries(), dt_control_gpx_apply_job_run(), dt_control_merge_hdr_job_run(), dt_control_merge_hdr_process(), dt_dev_pixelpipe_transform_for_blend(), dt_develop_blend_process(), dt_develop_blendif_lab_blend(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_raw_blend(), dt_develop_blendif_raw_make_mask(), dt_develop_blendif_rgb_hsl_blend(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_blend(), dt_develop_blendif_rgb_jzczhz_make_mask(), dt_draw_star(), dt_gpx_geodesic_distance(), dt_gpx_get_location(), dt_gui_hist_dialog_new(), dt_image_distance_transform(), dt_imageio_open_rawspeed(), dt_images_import(), dt_import_init(), dt_iop_basecurve_button_press(), dt_iop_colorcorrection_button_press(), dt_iop_levels_compute_levels_automatic(), dt_iop_tonecurve_button_press(), dt_iop_tonecurve_draw(), dt_lib_export_metadata_configuration_dialog(), dtgtk_cairo_paint_modulegroup_favorites(), duplicate_callback(), easter(), edit_clicked(), enter(), entry_activated(), entry_activated(), entry_focus_in_callback(), export_clicked(), expose(), filmrolls_imported(), filmrolls_removed(), filmrolls_updated(), finalize_store(), finalize_store(), finalize_store_wrapper(), find_closest_corner(), free_param_wrapper_destroy(), free_param_wrapper_job(), free_params(), free_params(), geotag_changed(), get_active_rule(), get_autoscale(), get_collect(), get_error(), get_modifier(), get_number_of_rules(), get_params(), get_params(), get_params(), get_params_wrapper(), get_scales(), give_control_to_form(), gui_cleanup(), gui_cleanup(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_post_expose(), gui_reset(), gui_reset(), gui_reset(), gui_update(), has_defaults(), ilogbp1(), import_clicked(), init(), init(), init_pipe(), init_pipe(), initialize_store_wrapper(), JzAzBz_2_XYZ(), key_swap_callback(), keystone_backtransform(), keystone_get_matrix(), keystone_transform(), leave(), legacy_params(), levels(), linearize_16bit(), linearize_8bit(), list_select(), list_view(), lmmse_demosaic(), lower_callback(), lowlight_button_press(), main(), menuitem_clear(), menuitem_mode(), menuitem_mode_change(), metadata_changed(), mode_callback(), modify_roi_in(), modify_roi_in(), modify_roi_in(), modify_roi_out(), modify_roi_out(), modify_roi_out(), mouse_moved(), mouse_moved(), mouse_moved(), nlmeans_backtransform(), nlmeans_norm(), nlmeans_precondition(), nlmeans_scattering(), parse_csv(), popup_button_callback(), precondition(), process(), process(), process(), process(), process(), process(), process_cmatrix(), process_cmatrix_bm(), process_cmatrix_fastpath(), process_cmatrix_fastpath_clipping(), process_cmatrix_fastpath_simple(), process_cmatrix_proper(), process_common_cleanup(), process_common_setup(), process_cpu(), process_display(), process_fastpath_apply_tonecurves(), process_fusion(), process_image(), process_job_create(), process_job_run(), process_lcms2(), process_lcms2_bm(), process_lcms2_proper(), process_lut(), process_nlmeans_cpu(), process_v1(), process_v3(), process_variance(), process_wavelets(), process_wavelets(), push_lua_data(), ransac(), rawdenoise_button_press(), rawoverexposed_colorscheme_callback(), rawoverexposed_mode_callback(), rawoverexposed_threshold_callback(), reload_defaults(), reload_defaults(), requeue_job(), row_activated_with_event(), rt_copy_image_masked(), rt_copy_mask_to_alpha(), set_format_by_name(), set_params(), set_params(), set_params(), set_params(), set_storage_by_name(), shift_left(), shift_right(), smooth_path_linsys(), smooth_paths_linsys(), softproof_profile_callback(), store(), store(), store_wrapper(), tag_changed(), tiling_callback(), toneeq_process(), transform(), transform(), tree_expand(), tree_view(), update(), update_filepath_combobox(), update_preview_cb(), upper_callback(), variance_analyse(), variance_stabilizing_xform(), view_enter(), view_leave(), view_onButtonPressed(), view_onPopupMenu(), wavelet_denoise(), wavelet_denoise_xtrans(), write_image(), write_image(), write_image(), write_image(), write_image(), xdiv2f(), xdivf(), xlog(), xmul2f(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().

◆ d0

const float d0 = 1.6295499532821566e-11f

◆ d50

const dt_aligned_pixel_t d50 = { 0.9642f, 1.0f, 0.8249f }
static

uses D50 white point.

Referenced by Lab_to_XYZ(), and XYZ_to_Lab().

◆ dec

const float dec = top - fc

◆ delta

◆ denom

const float denom = (0.68990272f * lms[0] + 0.34832189f * lms[1])

◆ DT_ALIGNED_PIXEL

const float D50 [2] DT_ALIGNED_PIXEL = { 0.20915914598542354f, 0.488075320769787f }

◆ else

else
Initial value:
{
RGB[0] = top
const float top
Definition colorspaces_inline_conversions.h:672
static dt_aligned_pixel_t RGB
Definition colorspaces_inline_conversions.h:509

Referenced by _ellipse_events_button_pressed().

◆ f

return l1 *f l2 * f = { fx, fy, fz }

Referenced by __attribute__(), _blend_hardlight(), _blend_linearlight(), _blend_multiply(), _blend_overlay(), _blend_screen(), _blend_softlight(), _blend_vividlight(), _build_xtrans_bilinear_lookup(), _circle_get_mask(), _circle_get_mask_roi(), _colorspaces_get_base_name(), _colorspaces_is_base_name(), _compute_upsampling_kernel(), _dt_focus_update(), _fill_mask(), _get_total_memory(), _image_distance_transform(), _interpolate_and_mask_xtrans(), _lib_masks_list_recurs(), _print_nan_debug(), _process(), _quantize(), _read_pbm(), _read_pgm(), _read_ppm(), _retouch_fill(), _simplex(), _simplex_2d_noise(), _tonecurve_apply(), _track_add_point(), apply_legacy_curve(), area_draw(), cbrt_5f(), clamp(), demosaic_ppg(), denoiseprofile_draw(), doubleToRawLongBits(), draw_f_boxes(), dsvd(), dt_bauhaus_combobox_from_params(), dt_bauhaus_slider_from_params(), dt_bauhaus_toggle_from_params(), dt_bauhaus_value_changed_default_callback(), dt_bauhaus_widget_set_quad_paint(), dt_conf_init(), dt_conf_print(), dt_conf_save(), dt_gpx_geodesic_intermediate_point(), dt_gpx_get_location(), dt_gradient_lookup(), dt_image_distance_transform(), dt_image_film_roll(), dt_image_film_roll_directory(), dt_imageio_dng_convert_rational(), dt_imageio_dng_write_tiff_header(), dt_imageio_jpeg_write_with_icc_profile(), dt_imageio_open_pfm(), dt_imageio_open_pnm(), dt_imageio_open_rawspeed(), dt_imageio_open_rgbe(), dt_imageio_open_webp(), dt_imageio_write_dng(), dt_iop_colorzones_get_params(), dt_iop_denoiseprofile_get_params(), dt_iop_lowlight_get_params(), dt_iop_monochrome_draw(), dt_iop_rawdenoise_get_params(), dt_log2f(), dt_mipmap_cache_allocate_dynamic(), dt_mipmap_cache_deallocate_dynamic(), dt_points_get_for(), dt_print_mem_usage(), easter(), f_inv_sqrtf(), fast_mexp2f(), fastlog2(), finalize_store(), get_params(), gh(), gui_init(), image_is_normalized(), Lab_to_XYZ(), legacy_params(), legacy_params(), lerp_lookup_unbounded(), lin_interpolate(), longBitsToDouble(), lookup(), lookup(), lowlight_draw(), main(), main(), modify_roi_out(), nearest_color(), parse_cht(), parse_csv(), process(), process_clusters(), process_floyd_steinberg(), rawdenoise_draw(), rcd_ppg_border(), read_curveset(), read_histogram(), read_pfm(), read_pfm(), read_ppm16(), read_ppm8(), read_ppm_header(), rgbe2float(), rt_copy_image_masked(), rt_copy_mask_to_alpha(), simplex(), vec3lnorm(), vec3norm(), vec3prodn(), write_curveset(), write_image(), write_image(), write_image(), write_image(), write_image(), write_pfm(), xdiv2f(), xdivf(), xmul2f(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().

◆ factors

◆ fc

const float fc = f * C

Referenced by _simplex(), gui_update(), and simplex().

◆ filmlightRGB_D65_to_LMS_D65

const dt_colormatrix_t filmlightRGB_D65_to_LMS_D65
static
Initial value:
= { { 0.95f, 0.38f, 0.00f, 0.f },
{ 0.05f, 0.62f, 0.03f, 0.f },
{ 0.00f, 0.00f, 0.97f, 0.f } }

Referenced by gradingRGB_to_LMS().

◆ fx

◆ fz

const float fz = fy - Lab[2] / 200.0f

Referenced by RGB2Lab().

◆ g

const float g = 0.66f

Referenced by __attribute__(), _add_shape(), _add_shape_callback(), _apply_display_brush_color(), _area_button_press_callback(), _area_draw_callback(), _area_key_press_callback(), _area_motion_notify_callback(), _area_scrolled_callback(), _aspect_apply(), _auto_levels_callback(), _auto_levels_callback(), _auto_set_exposure(), _auto_set_illuminant(), _backend_worker_on_idle(), _backend_worker_process_stroke_end(), _background_layer_job_done_idle(), _brush_profile_button_press(), _brush_profile_draw(), _build_raw_input_event(), _check_buttons_activated(), _check_tuner_picker_labels(), _clear_current_layer(), _clear_shadow_crop_box(), _color_picker_button_release(), _color_picker_draw(), _color_picker_motion(), _color_picker_set_from_position(), _color_swatch_button_press(), _color_swatch_draw(), _colorchecker_rebuild_patch_list(), _colorchecker_update_sliders(), _combo_box_set_active_text(), _commit_box(), _configure_slider_blocks(), _create_background_layer_from_input(), _create_layer_clicked(), _create_new_layer(), _delete_current_layer(), _develop_preview_pipe_finished_callback(), _develop_ui_pipe_finished_callback(), _develop_ui_pipe_finished_callback(), _develop_ui_pipe_finished_callback(), _develop_ui_pipe_finished_callback(), _develop_ui_pipe_finished_callback(), _develop_ui_pipe_started_callback(), _display_mask_callback(), _do_clean_structure(), _do_get_structure_auto(), _do_get_structure_lines(), _do_get_structure_quad(), _draw(), _draw_paths(), _draw_retrieve_lines_from_params(), _draw_save_lines_to_params(), _edit_by_area_callback(), _edit_masks(), _edit_preset_final_callback(), _edit_preset_response(), _ensure_cursor_stamp_surface(), _ensure_widget_cache(), _enter_edit_mode(), _enter_edit_mode(), _event_aspect_presets_changed(), _event_commit_clicked(), _event_commit_clicked(), _event_draw(), _event_fit_both_button_clicked(), _event_fit_h_button_clicked(), _event_fit_v_button_clicked(), _event_preview_updated_callback(), _event_process_after_preview_callback(), _event_structure_auto_clicked(), _event_structure_lines_clicked(), _event_structure_quad_clicked(), _exposure_set_black(), _exposure_set_white(), _extra_options_button_changed(), _extract_patches(), _fill_current_layer(), _fill_runtime_inputs(), _finalize_store(), _flush_process_patch_to_base_locked(), _get_ashift_params(), _get_selected_area(), _get_selected_area(), _get_structure(), _gui_get_grab(), _gui_hist_copy_response(), _gui_styles_edit_style_response(), _gui_styles_new_style_response(), _gui_update_structure_states(), _init_drawing(), _init_image_pin(), _init_place_pin(), _interpolator_callback(), _invalidate_process_patch(), _iop_clipping_set_max_clip(), _iop_zonesystem_redraw_preview_callback(), _is_another_module_cat_on_pipe(), _layer_cache_matches(), _layer_selected(), _load_color_history(), _make_controls_sensitive(), _move_point_internal(), _name_editing_done(), _offer_missing_layer_recreation(), _origin_color_draw(), _paint_hue(), _params_to_gui(), _picker_project_opponent_to_display_rgb(), _populate_layer_list(), _presets_show_edit_dialog(), _preview_bg_toggled(), _preview_pipe_finished_callback(), _process_backend_dab(), _process_backend_input(), _process_common_setup(), _publish_backend_progress(), _rasterize_pending_dab_batch(), _refresh_layer_widgets(), _remember_display_color(), _remove_outliers(), _rename_current_layer_from_gui(), _reset_form_creation(), _reset_stroke_session(), _retain_base_patch_loaded_ref(), _retain_base_patch_stroke_ref(), _retouch_blur(), _rgbcurve_show_hide_controls(), _rgblevels_show_hide_controls(), _save_layer_clicked(), _select_region_toggled_callback(), _select_region_toggled_callback(), _set_max_clip(), _show_hide_colorspace(), _signal_profile_user_changed(), _spot_settings_changed_callback(), _spot_settings_changed_callback(), _start_new_shape(), _store_color_history(), _switch_cursors(), _sync_brush_profile_preview_widget(), _sync_color_picker_from_conf(), _sync_mode_sensitive_widgets(), _sync_params_from_gui(), _sync_preview_bg_buttons(), _sync_private_buffer_from_preview_cache(), _tab_switch_callback(), _target_color_draw(), _text_color_font_set_sensitive(), _turn_select_region_off(), _turn_select_region_off(), _update_gui_runtime_manager(), _update_RGB_colors(), _update_RGB_slider_stop(), _view_map_add_location(), _visualize_callback(), _visualize_callback(), _widget_changed(), _xy2matrix(), alignment_callback(), alloc_curve_to(), alloc_line_to(), alloc_move_to(), apply_auto_black(), apply_auto_black(), apply_auto_black(), apply_auto_black(), apply_auto_Dmax(), apply_auto_Dmin(), apply_auto_dynamic_range(), apply_auto_exposure(), apply_auto_grey(), apply_auto_grey(), apply_auto_grey(), apply_auto_offset(), apply_auto_WB_high(), apply_auto_WB_low(), apply_auto_white_point_source(), apply_auto_white_point_source(), apply_autocolor(), apply_autogrey(), apply_autoluma(), apply_autotune(), apply_autotune(), apply_autotune(), apply_box_aspect(), apply_curve(), apply_gain_auto(), apply_gain_neutralize(), apply_gamma_auto(), apply_gamma_neutralize(), apply_lift_auto(), apply_lift_neutralize(), area_button_press(), area_button_press(), area_button_release(), area_draw(), area_enter_notify(), area_enter_notify(), area_leave_notify(), area_leave_notify(), area_motion_notify(), area_motion_notify(), ask_user_confirmation(), aspect_changed(), aspect_presets_changed(), auto_adjust_contrast_boost(), auto_adjust_exposure_boost(), autoscale_pressed(), black_point_source_callback(), blue_callback(), btn_make_radio_callback(), btn_toggled(), build_tonecurve(), button_clicked(), button_pressed(), button_pressed(), button_pressed(), button_released(), button_released(), button_released(), camera_autosearch_clicked(), camera_menu_fill(), camera_menusearch_clicked(), camera_set(), change_image(), change_image(), check_gain_maps(), checker_button_press(), checker_changed_callback(), checker_draw(), checker_motion_notify(), cluster_preview_draw(), color_finetuning_slider(), color_picker_apply(), color_rgb_sliders(), color_temptint_sliders(), colorpick_callback(), colorpicker_callback(), commit_box(), commit_params(), commit_params(), commit_params(), commit_params_late(), commit_profile_callback(), compute_lut_correction(), controls_callback(), corrections_done(), cropmode_callback(), curve_scalar(), detect_drag(), Dmin_picker_callback(), Dmin_picker_update(), do_crop(), do_fit(), dot(), draw(), draw_paths(), dsvd(), dt_bauhaus_slider_set_stop(), dt_develop_blend_process(), dt_draw_cairo_to_gdk_pixbuf(), dt_drawlayer_begin_gui_stroke_capture(), dt_drawlayer_build_process_patch_from_base(), dt_drawlayer_commit_dabs(), dt_drawlayer_end_gui_stroke_capture(), dt_drawlayer_ensure_layer_cache(), dt_drawlayer_flush_layer_cache(), dt_drawlayer_flush_process_patch_to_base(), dt_drawlayer_io_load_flat_rgba(), dt_drawlayer_prime_live_process_patch_before_stroke(), dt_drawlayer_release_all_base_patch_extra_refs(), dt_drawlayer_runtime_manager_update(), dt_drawlayer_show_runtime_feedback(), dt_drawlayer_sync_widget_cache(), dt_drawlayer_wait_for_rasterization_modal(), dt_drawlayer_worker_publish_backend_stroke_damage(), dt_drawlayer_worker_replay_finished_stroke_to_base_patch(), dt_gaussian_blur(), dt_gaussian_blur_4c(), dt_gaussian_free(), dt_gaussian_init(), dt_gui_presets_show_edit_dialog(), dt_gui_presets_show_iop_edit_dialog(), dt_iop_colorcorrection_button_press(), dt_iop_colorcorrection_draw(), dt_iop_colorcorrection_key_press(), dt_iop_colorcorrection_motion_notify(), dt_iop_colorcorrection_scrolled(), dt_iop_estimate_exp(), dt_iop_filmic_rgb_compute_spline(), dt_iop_monochrome_button_press(), dt_iop_monochrome_button_release(), dt_iop_monochrome_draw(), dt_iop_monochrome_leave_notify(), dt_iop_monochrome_motion_notify(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_zonesystem_bar_button_press(), dt_iop_zonesystem_bar_button_release(), dt_iop_zonesystem_bar_draw(), dt_iop_zonesystem_bar_leave_notify(), dt_iop_zonesystem_bar_motion_notify(), dt_iop_zonesystem_preview_draw(), dt_map_location_get_data(), dt_map_location_included(), dt_map_location_set_data(), dtgtk_cairo_paint_masks_drawn_and_parametric(), dtgtk_cairo_paint_masks_parametric(), dtgtk_cairo_paint_modulegroup_basics(), dtgtk_cairo_paint_star(), dtgtk_cairo_paint_unratestar(), dtgtk_cairo_paint_waveform_overlaid(), dtgtk_cairo_paint_waveform_scope(), easter(), edit_preset_response(), eigf_variance_analysis(), eigf_variance_analysis_no_mask(), end_drag(), extra_callback(), extract_color_checker(), filepath_callback(), filmic_gui_draw_icon(), filmic_gui_sync_toe_shoulder(), fitting_option_changed(), generate_preset_combo(), get_grab(), get_manifolds(), get_points(), green_callback(), grey_point_source_callback(), gui_cache_init(), gui_changed(), gui_cleanup(), gui_cleanup(), gui_focus(), gui_focus(), gui_init(), gui_init(), gui_init(), gui_init_aspect(), gui_init_positions(), gui_post_expose(), gui_post_expose(), gui_post_expose(), gui_reset(), gui_reset(), gui_reset(), gui_sliders_update(), gui_update(), gui_update(), gui_update(), gui_update(), gui_update_from_coeffs(), hvflip_callback(), illum_xy_callback(), init_bounding_box(), init_nodes_x(), init_nodes_y(), interpolator_callback(), interpolator_callback(), invalidate_luminance_cache(), is_dragging(), JzAzBz_2_XYZ(), keystone_backtransform(), keystone_get_matrix(), keystone_transform(), keystone_type_changed(), keystone_type_populate(), latitude_stops_callback(), lens_autosearch_clicked(), lens_menu_fill(), lens_menu_select(), lens_menusearch_clicked(), lens_set(), ll_angle(), load_watermarks(), logbase_callback(), logbase_callback(), lut3d_read_gmz(), mask_callback(), masks_selection_changed(), mode_callback(), modflags_changed(), mouse_leave(), mouse_leave(), mouse_moved(), mouse_moved(), mouse_moved(), mul2xyz(), nmsfit(), optimize_changed_callback(), origin_color_draw(), output_callback(), paint_hue(), paint_temperature_background(), patch_callback(), position_h_changed(), position_v_changed(), post_history_commit(), prepare_matrices(), preset_tune_callback(), process(), process(), process(), process(), process(), process_clusters(), process_common_cleanup(), process_common_setup(), process_display(), process_drago(), process_internal(), process_variance(), process_wavelets(), profile_callback(), profile_changed(), red_callback(), reduce_artifacts(), refresh_watermarks(), reload_defaults(), reload_defaults(), rgb2hsl(), rt_add_shape(), rt_add_shape_callback(), rt_auto_levels_callback(), rt_copypaste_scale_callback(), rt_curr_scale_update(), rt_develop_ui_pipe_finished_callback(), rt_display_selected_fill_color(), rt_display_selected_shapes_lbl(), rt_display_wavelet_scale_callback(), rt_edit_masks_callback(), rt_merge_from_scale_update(), rt_num_scales_update(), rt_reset_form_creation(), rt_select_algorithm_callback(), rt_shape_selection_changed(), rt_show_forms_for_current_scale(), rt_show_hide_controls(), rt_showmask_callback(), rt_suppress_callback(), rt_update_wd_bar_labels(), rt_wdbar_button_press(), rt_wdbar_button_release(), rt_wdbar_draw(), rt_wdbar_leave_notify(), rt_wdbar_motion_notify(), rt_wdbar_scrolled(), run_profile_callback(), run_validation_callback(), safety_changed_callback(), sanitize_latitude(), scrolled(), scrolled(), scrolled(), security_threshold_callback(), set_new_params_interactive(), set_params(), set_params(), set_params(), set_visible_widgets(), setup_color_variables(), show_guiding_controls(), show_luminance_mask_callback(), show_mask_callback(), size_allocate_callback(), smoothing_callback(), start_drag(), start_profiling_callback(), sycc420_to_rgb(), sycc422_to_rgb(), sycc444_to_rgb(), sycc_to_rgb(), sync_pipe(), tab_switch_callback(), target_a_callback(), target_b_callback(), target_C_callback(), target_callback(), target_color_draw(), target_L_callback(), temp_tint_callback(), toe_shoulder_callback(), toggle_stock_controls(), toneeq_process(), update_approx_cct(), update_bounding_box(), update_colors(), update_curve_lut(), update_exposure_sliders(), update_filepath_combobox(), update_histogram(), update_illuminant_color(), update_illuminants(), update_profile_list(), update_warp_count(), update_xy_color(), validate_color_checker(), vng_interpolate(), watermark_callback(), Wb_high_norm_callback(), WB_high_picker_callback(), WB_high_picker_update(), Wb_low_norm_callback(), WB_low_picker_callback(), WB_low_picker_update(), white_point_source_callback(), write_image(), xtrans_fdc_interpolate(), xtrans_markesteijn_interpolate(), xyz2mul(), Ych_to_Yrg(), Yrg_to_LMS(), and Yrg_to_Ych().

◆ H

H = 0.0f

Referenced by if().

◆ h

const float h = atan2f(g, r)

Referenced by _apply_quadratic_dab_smoothing(), _circle_get_mask(), _circle_get_mask_roi(), _darkroom_pickers_draw(), _draw_ellipse(), _draw_image(), _draw_rectangle(), _dt_styles_build_mod_list_from_history(), _ellipse_get_mask(), _ellipse_get_mask_roi(), _get_user_mod_list(), _gradient_get_mask(), _gradient_get_mask_roi(), _group_get_mask(), _guides_draw_callback(), _guides_draw_diagonal_method(), _guides_draw_golden_mean(), _guides_draw_grid(), _guides_draw_harmonious_triangles(), _guides_draw_metering(), _guides_draw_perspective(), _guides_draw_rules_of_thirds(), _half_to_float(), _half_to_float(), _hash_string(), _hm_renumber_history(), _init_image_pin(), _init_place_pin(), _lib_navigation_button_press_callback(), _lib_navigation_draw_callback(), _menu_icon_draw(), _paper_size(), _process_vectorscope(), _rectangle(), _smudge_hash_signed(), _thumb_draw_image(), _thumb_draw_image(), _ui_toast_redraw_callback(), _update_slider(), _view_map_images_count(), amaze_demosaic_RT(), apply_curve(), apply_homography(), apply_homography_scaling(), catmull_rom_val(), colorpick_callback(), dsvd(), dt_control_export_job_run(), dt_dev_get_zoom_scale(), dt_dev_write_history_item(), dt_drawlayer_io_load_flat_rgba(), dt_gui_widget_update_list_height(), dt_guides_draw_diagonal_method(), dt_guides_draw_grid(), dt_guides_draw_metering(), dt_guides_draw_perspective(), dt_history_duplicate(), dt_imageio_open_webp(), dt_interpolation_compute_pixel4c(), dt_interpolation_compute_sample(), dtgtk_cairo_paint_color(), dtgtk_cairo_paint_eye(), dtgtk_cairo_paint_masks_difference(), dtgtk_cairo_paint_masks_exclusion(), dtgtk_cairo_paint_masks_intersection(), dtgtk_cairo_paint_masks_union(), dtgtk_cairo_paint_plus(), easter(), full_screen_callback(), gaussian_sampler(), get_homography(), get_modifier(), HashTablePermutohedral< KD, VD >::grow(), gui_init(), gui_post_expose(), histogram_helper_cs_LCh(), hsl2rgb(), interpol::monotone_hermite_spline_variant< T >::init(), JzAzBz_to_JzCzhz(), keystone_backtransform(), keystone_get_matrix(), keystone_transform(), Lch_to_color_name(), local_laplacian_internal(), HashTablePermutohedral< KD, VD >::lookupOffset(), main(), model_fitness(), modify_roi_in(), interpol::spline_base< T >::operator()(), pad_by_replication(), paint_chroma_slider(), parse_cht(), pid_is_alive(), process(), process_fusion(), process_hsl_v1(), process_v3(), rgb2hsl(), set_HSL_sliders(), set_storage_by_name(), spline_cubic_val(), thinplate_color_pos(), tiling_callback(), write_image(), write_image(), xtrans_fdc_interpolate(), xtrans_markesteijn_interpolate(), Ych_to_Yrg(), and Yrg_to_Ych().

◆ half_values

const float half_values = { 1.49217352929f, 1.52488637914f }

◆ HCB

HCB[0]
Initial value:
{
HCB[2] = JCH[0] * (powf(JCH[1], 1.33654221029386f) + 1.f)
static const float dt_aligned_pixel_t JCH
Definition colorspaces_inline_conversions.h:1595
static dt_aligned_pixel_t HCB
Definition colorspaces_inline_conversions.h:1717

Referenced by dt_UCS_HCB_to_JCH(), and dt_UCS_JCH_to_HCB().

◆ HCV

HCV[2]
Initial value:
{
const float min = fminf(RGB[0], fminf(RGB[1], RGB[2]))
static const float const float const float min
Definition colorspaces_inline_conversions.h:667

◆ HPW

HPW[0]
Initial value:
{
HPW[2] = sqrtf(HSB[1] * HSB[1] + HSB[2] * HSB[2])
static dt_aligned_pixel_t HPW
Definition colorspaces_inline_conversions.h:1755
static dt_aligned_pixel_t HSB
Definition colorspaces_inline_conversions.h:1682

◆ HSB

static dt_aligned_pixel_t HSB
Initial value:
{
HSB[2] = JCH[0] * (powf(JCH[1], 1.33654221029386f) + 1.f)

Referenced by dt_UCS_HSB_to_JCH(), and dt_UCS_JCH_to_HSB().

◆ HSL

HSL[2]
Initial value:
{
const float min = fminf(RGB[0], fminf(RGB[1], RGB[2]))

Referenced by _blendif_hsl(), _display_channel(), and HSL_2_RGB().

◆ HSV

HSV[2]
Initial value:
{
const float min = fminf(RGB[0], fminf(RGB[1], RGB[2]))

Referenced by HSV_2_RGB(), and RGB_2_HSV().

◆ i

const float i = floorf(h)

Referenced by __attribute__(), __attribute__(), _add_node(), _add_node(), _add_node(), _add_node(), _alignment_callback(), _apply_pen_pressure(), _area_button_press_callback(), _area_draw_callback(), _auto_set_illuminant(), _bin_pixels_histogram_in_roi(), _bin_pixels_vectorscope_in_roi(), _bin_pixels_waveform_in_roi(), _blend_add(), _blend_add(), _blend_add(), _blend_average(), _blend_average(), _blend_average(), _blend_chromaticity(), _blend_chromaticity(), _blend_chromaticity(), _blend_color(), _blend_color(), _blend_coloradjust(), _blend_coloradjust(), _blend_darken(), _blend_darken(), _blend_difference(), _blend_difference(), _blend_difference(), _blend_difference2(), _blend_divide(), _blend_divide_inverse(), _blend_geometric_mean(), _blend_hardlight(), _blend_hardlight(), _blend_harmonic_mean(), _blend_HSV_color(), _blend_HSV_value(), _blend_hue(), _blend_hue(), _blend_Lab_a(), _blend_Lab_b(), _blend_Lab_color(), _blend_Lab_lightness(), _blend_Lab_rescale(), _blend_Lab_scale(), _blend_lighten(), _blend_lighten(), _blend_lightness(), _blend_lightness(), _blend_linearlight(), _blend_linearlight(), _blend_luminance(), _blend_multiply(), _blend_multiply(), _blend_multiply(), _blend_normal(), _blend_normal_bounded(), _blend_normal_bounded(), _blend_normal_unbounded(), _blend_normal_unbounded(), _blend_overlay(), _blend_overlay(), _blend_pinlight(), _blend_pinlight(), _blend_RGB_B(), _blend_RGB_B(), _blend_RGB_G(), _blend_RGB_G(), _blend_RGB_R(), _blend_RGB_R(), _blend_screen(), _blend_screen(), _blend_softlight(), _blend_softlight(), _blend_subtract(), _blend_subtract(), _blend_subtract(), _blend_subtract_inverse(), _blend_vividlight(), _blend_vividlight(), _blendif_hsl(), _blendif_jzczhz(), _bottom_area_draw_callback(), _bounding_box(), _bounding_box(), _brush_draw_shape(), _brush_events_post_expose(), _brush_get_border_handle_resampled(), _brush_get_distance(), _brush_get_gravity_center(), _brush_get_pts_border(), _brush_line_length(), _brush_line_point_at_length(), _brush_points_recurs_border_gaps(), _brush_points_recurs_border_small_gaps(), _brush_points_stamp(), _build_raw_segment_cubic_arclen_lut(), _check_usercrop(), _circle_draw_shape(), _circle_get_mask(), _circle_get_mask_roi(), _circle_get_points_source(), _CLAMP_XYZ(), _CLAMP_XYZ(), _clear_lut_curves(), _clip(), _closest_point_on_line(), _color_picker_direct_hsl(), _color_picker_direct_lch_or_jzczhz(), _color_picker_hsl(), _color_picker_jzczhz(), _color_picker_lch(), _color_picker_rgb_or_lab(), _colorcorrect_pixbuf(), _colorlabel_clicked(), _colorspaces_create_transfer(), _combo_box_set_active_text(), _compute_correction(), _compute_downsampling_kernel(), _compute_laplacian_normalization(), _compute_lut(), _configure_slider_blocks(), _copy_points(), _count_images_per_track(), _create_vectorscope_image(), _dab_batch_supports_outer_loop(), _datetime_scroll_over(), _develop_blend_combine_masks(), _develop_blend_init_raster_mask(), _display_channel(), _display_channel(), _display_channel(), _display_datetime(), _display_next_image(), _display_offset(), _distort_xtransform(), _do_get_structure_quad(), _drag_and_drop_received(), _draw_background(), _draw_brush_hud(), _draw_image(), _draw_near_point(), _draw_paths(), _draw_retrieve_lines_from_params(), _draw_save_lines_to_params(), _dt_focus_cdf22_wtf(), _dt_focus_update(), _dt_masks_find_best_attachment_point(), _ellipse_draw_node(), _ellipse_get_mask(), _ellipse_get_mask_roi(), _ellipse_get_points_source(), _ellipse_point_close_to_path(), _ellipse_points_to_transform(), _event_aspect_presets_changed(), _event_dnd_get(), _event_dnd_received(), _event_star_enter(), _event_star_leave(), _exif_decode_exif_data(), _exif_decode_xmp_data(), _exif_import_tags(), _extract_patches(), _file_filters(), _fill_box_values(), _fill_mask(), _fill_text_view(), _film_import1(), _filter_get_items(), _find_border_separator(), _find_rowid_from_imgid(), _find_sidecar_jpg(), _for_each_accel_create_treeview_row(), _from_uint8(), _get_auto_exp(), _get_auto_exp_histogram(), _get_base_value(), _get_combobox_max_width(), _get_iso8601_int(), _get_label(), _get_map_extent(), _get_sum_and_average(), _get_xmp_tags(), _gradient_arc(), _gradient_draw_shape(), _gradient_get_area(), _gradient_get_distance(), _gradient_get_mask(), _gradient_get_mask_roi(), _gradient_get_points(), _group_get_mask(), _group_get_mask_roi(), _gui_init_datetime(), _gui_preferences_enum_set(), _guides_add_guide(), _guides_get_value(), _heal_laplace_iteration(), _hide_all_rules(), _hm_report_build_desired_visible_order(), _hm_report_build_moved_set(), _hm_report_drag_data_received(), _hm_show_toposort_cycle_popup(), _ignore_image(), _image_import_internal(), _image_info_changed(), _image_matrix_has_data(), _image_set_datetimes(), _image_set_images_locations(), _imgid_to_rowid(), _init_treeview(), _interpolate_and_mask(), _interpolate_and_mask_xtrans(), _interpolation_resample_1c_plain(), _iop_validate_params(), _is_folder_collection(), _is_metadata_ui(), _is_point_in_polygon(), _is_tag_collection(), _Lab_rescale(), _Lab_scale(), _lib_collect_update_params(), _lib_geotagging_get_timezones(), _lib_history_change_text(), _lib_masks_selection_change_r(), _lib_metadata_init_queue(), _lib_metadata_refill_grid(), _list_find_custom(), _load_color_history(), _locations_tree_update(), _maketaps_bicubic(), _maketaps_bilinear(), _maketaps_lanczos(), _mask_waveform(), _masks_blur_13x13_coeff(), _masks_blur_5x5_coeff(), _menuitem_preferences(), _metadata_set_list(), _metadata_update_markup(), _metadata_update_timestamp(), _metadata_update_tooltip(), _metadata_update_value(), _migrate_schema(), _mm_log2_ps(), _mm_vectorGetByIndex(), _new_button_clicked(), _notebook_motion_notify_callback(), _notebook_size_callback(), _paint_hue(), _pdf_stream_encoder_ASCIIHex(), _piwigo_refresh_albums(), _points_to_transform(), _points_to_transform(), _polygon_falloff(), _polygon_falloff_roi(), _polygon_find_self_intersection(), _polygon_get_distance(), _polygon_get_gravity_center(), _polygon_get_mask(), _polygon_get_mask_roi(), _polygon_get_position_in_segment(), _polygon_get_pts_border(), _polygon_get_sizes(), _pop_undo(), _populate_collect_combo(), _populate_layer_list(), _populate_popup_multi(), _presets_show_edit_dialog(), _preview_gpx_file(), _print_trace(), _PX_COPY(), _raster_combo_populate(), _rating_clicked(), _read_chunky_16(), _read_chunky_16_Lab(), _read_chunky_8(), _read_chunky_8_Lab(), _read_chunky_f(), _read_chunky_h(), _refresh_rules_visibility(), _remosaic_and_replace(), _remosaic_and_replace_xtrans(), _remove_xmp_keys(), _resynch_params(), _sample_tablet_state_from_devices(), _sample_tooltip_callback(), _scale_changed(), _select_next_user_attached_tag(), _select_previous_user_attached_tag(), _signal_raise(), _simplex(), _simplex_noise(), _simplex_noise_init(), _slider_move(), _splash_build_author_list(), _splash_create_logo(), _splash_load_authors(), _splash_load_slides(), _splash_update_message(), _store_color_history(), _styles_build_label(), _thumb_resize_overlays(), _thumb_update_icons(), _thumb_update_rating_class(), _thumbtable_clone_lut(), _thumbtable_dnd_import(), _to_uint8(), _toggle_lock_button_callback(), _track_add_point(), _tree_difference(), _tree_exclusion(), _tree_intersection(), _tree_inverse(), _tree_union(), _update(), _update_colors_filter(), _update_layout(), _update_output_cfa_descriptor(), _update_rating_filter(), _update_RGB_colors(), _upgrade_library_schema_step(), _valid_glob_match(), _view_map_changed_callback_delayed(), _view_map_dnd_get_callback(), _view_map_get_imgs_at_pos(), _write_metadata(), _xy2matrix(), HashTablePermutohedral< KD, VD >::Value::add(), HashTablePermutohedral< KD, VD >::Value::add(), add_mask_entries_to_db(), add_patches_to_array(), HashTablePermutohedral< KD, VD >::Value::addTo(), alignment_callback(), amaze_demosaic_RT(), ambient_light(), append_display(), append_file(), apply_curve(), apply_legacy_curve(), apply_toneequalizer(), area_draw(), area_motion_notify(), area_motion_notify(), aspect_presets_changed(), auto_detect_WB(), blend_color_picker_apply(), PermutohedralLattice< D, VD >::blur(), blur_2D_Bspline(), blur_2D_Bspline(), blur_line(), blur_line(), blur_line_z(), box_max_1d(), box_max_vert_16wide(), box_min_1d(), box_min_vert_16wide(), build_channel_basecurve(), build_interpolation_matrix(), build_lookup_table(), build_tonecurve(), button_pressed(), cairo_draw_hatches(), calculate_clut_3dl(), calculate_clut_cube(), calculate_clut_haldclut(), camera_menu_fill(), capture_histogram(), capture_histogram(), catmull_rom_set(), catmull_rom_val(), CCT_reverse_lookup(), char2qstring(), check_gain_maps(), check_version(), checker_button_press(), checker_changed_callback(), checker_draw(), choleski_decompose_fast(), choleski_decompose_safe(), cinema_setup_encoder(), HashTablePermutohedral< KD, VD >::Value::clear(), cluster_preview_draw(), collection_updated(), color_picker_helper_bayer_parallel(), color_picker_helper_bayer_seq(), color_picker_helper_xtrans_parallel(), color_picker_helper_xtrans_seq(), color_smoothing(), color_temptint_sliders(), commit_params(), commit_params(), commit_params(), commit_params(), compute_channel_noise(), compute_channels_factors(), compute_channels_gains(), compute_correction_lut(), compute_error(), compute_log_histogram_and_stats(), compute_lut(), compute_norm(), compute_wb_factors(), copy_pixels(), correct_pixel_trilinear(), create_gauss_kernel(), create_global_distortion_map(), create_lens_kernel(), create_motion_kernel(), CurveDataSample(), CurveDataSampleV2(), CurveDataSampleV2Periodic(), d3_np_fs(), dark_channel(), decompose_2D_Bspline(), decompress_plain(), default_process(), demosaic_ppg(), denoiseprofile_draw(), diff_of_pixels_diff(), display_luminance_mask(), distort_backtransform(), distort_backtransform(), distort_backtransform(), distort_mask(), distort_transform(), distort_transform(), distort_transform(), dot_product(), doubleToRawLongBits(), draw_boundingbox(), draw_box(), draw_f_boxes(), dsvd(), dt_accels_window(), dt_bauhaus_combobox_set_from_text(), dt_bauhaus_combobox_set_from_value(), dt_bauhaus_value_changed_default_callback(), dt_bilateral_slice(), dt_bilateral_slice_to_output(), dt_bilateral_splat(), dt_cache_arena_alloc(), dt_cache_arena_free(), dt_cache_arena_stats(), dt_cleanup(), dt_collection_get_extended_where(), dt_collection_name(), dt_collection_update_query(), dt_colormatrix_mul(), dt_colorspaces_conversion_matrices_rgb(), dt_colorspaces_conversion_matrices_xyz(), dt_colorspaces_cygm_apply_coeffs_to_rgb(), dt_colorspaces_cygm_to_rgb(), dt_colorspaces_deltaE_1976(), dt_colorspaces_pseudoinverse(), dt_colorspaces_rgb_to_cygm(), dt_control_jobs_cleanup(), dt_control_merge_hdr_process(), dt_control_schedule_job(), dt_control_signal_raise(), dt_datetime_add_subsec_to_exif(), dt_dev_coordinates_image_abs_to_image_norm(), dt_dev_coordinates_image_norm_to_image_abs(), dt_dev_coordinates_image_norm_to_preview_abs(), dt_dev_coordinates_image_norm_to_widget(), dt_dev_coordinates_preview_abs_to_image_norm(), dt_dev_coordinates_raw_abs_to_raw_norm(), dt_dev_coordinates_raw_norm_to_raw_abs(), dt_dev_coordinates_widget_to_image_norm(), dt_dev_darkroom_pipeline(), dt_dev_pop_history_items_ext(), dt_dev_write_history_ext(), dt_develop_blend_legacy_params(), dt_develop_blendif_init_masking_profile(), dt_develop_blendif_process_parameters(), dt_dng_opcode_process_opcode_list_2(), dt_draw_curve_calc_value(), dt_drawlayer_brush_rasterize_dab_rgbaf(), dt_drawlayer_compute_view_patch(), dt_drawlayer_io_free_layer_names(), dt_drawlayer_io_list_layer_names(), dt_drawlayer_layer_bounds_to_widget_bounds(), dt_drawlayer_layer_points_to_widget_coords(), dt_drawlayer_paint_raster_path(), dt_drawlayer_widget_points_to_layer_coords(), dt_drawlayer_widgets_draw_brush_profiles(), dt_drawlayer_widgets_draw_swatch(), dt_drawlayer_widgets_get_color_history(), dt_drawlayer_widgets_pick_brush_profile(), dt_drawlayer_widgets_push_color_history(), dt_drawlayer_widgets_set_color_history(), dt_drawlayer_worker_replay_finished_stroke_to_base_patch(), dt_exif_read_blob(), dt_exif_write_blob(), dt_exif_xmp_attach_export(), dt_exif_xmp_decode(), dt_exif_xmp_encode_internal(), dt_fast_mexp2f(), dt_focus_create_clusters(), dt_focus_draw_clusters(), dt_focuspeaking(), dt_gaussian_blur(), dt_gradient_lookup(), dt_gui_gtk_init(), dt_gui_load_theme(), dt_gui_preferences_enum(), dt_gui_throttle_init(), dt_gui_throttle_record_runtime(), dt_guides_draw_metering(), dt_guides_draw_perspective(), dt_guides_update_popover_values(), dt_has_same_path_basename(), dt_hash(), dt_histogram_helper_cs_RAW_uint16(), dt_http_server_create(), dt_image_distance_transform(), dt_image_find_xmps(), dt_image_init(), dt_imageio_dng_write_tiff_header(), dt_imageio_flip_buffers(), dt_imageio_flip_buffers_ui8_to_float(), dt_imageio_get_type_from_extension(), dt_imageio_is_hdr(), dt_imageio_is_raster(), dt_imageio_is_raw(), dt_imageio_jpeg_compress(), dt_imageio_jpeg_skip_input_data(), dt_imageio_jpeg_write_with_icc_profile(), dt_imageio_open_exr(), dt_imageio_open_j2k(), dt_imageio_open_pfm(), dt_imageio_open_png(), dt_imageio_open_rawspeed(), dt_imageio_open_rawspeed_sraw(), dt_imageio_open_rgbe(), dt_imageio_open_webp(), dt_imageio_resizing_factor_get_and_parsing(), dt_init(), dt_interpolation_compute_pixel4c(), dt_interpolation_compute_sample(), dt_interpolation_new(), dt_iop_clip_and_zoom_8(), dt_iop_clip_and_zoom_demosaic_half_size_f(), dt_iop_clip_and_zoom_demosaic_passthrough_monochrome_f(), dt_iop_clip_and_zoom_demosaic_third_size_xtrans_f(), dt_iop_clip_and_zoom_mosaic_half_size_f(), dt_iop_colorcorrection_draw(), dt_iop_colorreconstruct_bilateral_slice(), dt_iop_colorreconstruct_bilateral_splat(), dt_iop_default_init(), dt_iop_equalizer_iwtf(), dt_iop_equalizer_wtf(), dt_iop_flip_and_zoom_8(), dt_iop_gui_set_expander(), dt_iop_levels_compute_levels_automatic(), dt_iop_monochrome_draw(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_zonesystem_bar_draw(), dt_ioppr_cleanup_profile_info(), dt_ioppr_get_iop_order_rules(), dt_ioppr_init_profile_info(), dt_l10n_init(), dt_legacy_presets_create(), dt_lib_export_metadata_get_conf(), dt_lib_export_metadata_set_conf(), dt_lib_presets_duplicate(), dt_lightroom_import(), dt_lua_debug_stack_internal(), dt_lua_event_keyed_trigger(), dt_lua_event_multiinstance_destroy(), dt_lua_event_multiinstance_register(), dt_lua_event_multiinstance_trigger(), dt_lua_event_trigger(), dt_lua_init_image(), dt_lua_widget_trigger_callback(), dt_map_location_get_polygons(), dt_masks_blur_9x9(), dt_masks_blur_9x9_coeff(), dt_masks_center_of_gravity_from_points(), dt_masks_extend_border(), dt_masks_point_in_form_exact(), dt_metadata_clear(), dt_metadata_get_key_by_subkey(), dt_metadata_get_keyid(), dt_metadata_get_keyid_by_display_order(), dt_metadata_get_keyid_by_name(), dt_metadata_get_name_by_display_order(), dt_metadata_get_nb_user_metadata(), dt_metadata_get_type_by_display_order(), dt_metadata_init(), dt_noiseprofile_get_matching(), dt_noiseprofile_verify(), dt_nvidia_gpu_supports_sm_20(), dt_opencl_check_driver_blacklist(), dt_pathlist_import_create(), dt_pdf_add_page(), dt_pdf_finish(), dt_pdf_parse_length(), dt_pdf_parse_paper_size(), dt_pwstorage_kwallet_get(), dt_remove_exif_keys(), dt_remove_known_keys(), dt_remove_xmp_keys(), dt_selection_ids_to_string(), dt_set_signal_handlers(), dt_supported_image(), dt_tag_export(), dt_thumbnail_create_widget(), dt_thumbtable_select_all(), dt_thumbtable_select_range(), dt_ui_cleanup_titlebar(), dt_ui_init_global_menu(), dt_util_glist_to_str(), dt_util_remove_whitespace(), dtgtk_cairo_paint_display_wavelet_scale(), dtgtk_cairo_paint_masks_raster(), dtgtk_cairo_paint_preferences(), dtgtk_cairo_paint_shortcut(), easter(), eaw_decompose(), eaw_dn_decompose(), edge_enhance_1d(), encrypt_tea(), evaluate_grain_lut(), f_inv_sqrtf(), fast_eigf_surface_blur(), fast_mexp2f(), fast_surface_blur(), fastlog2(), filepath_set_unix_separator(), find_closest_corner(), find_coeffs(), find_nearest_on_curve_t(), find_string(), find_temperature_from_raw_coeffs(), fit_curve(), floor_log2(), for(), free_image_char(), free_image_double(), gauss_blur(), gauss_expand(), gauss_expand(), gauss_make_triangular(), gauss_reduce(), gauss_reduce(), gauss_solve_triangular(), gaussian_kernel(), gaussian_sampler(), generate_preset_combo(), get_arc_length(), get_boundingbox(), get_color_pixel(), get_corner(), get_corner(), get_corner(), get_corners(), get_file_format(), get_homography(), get_Lab_from_box(), get_language_names(), get_luminance_from_buffer(), get_params(), get_points(), get_query_string(), get_samples(), get_scales(), get_skin_tones_range(), get_theta(), getdelim(), green_equilibration_favg(), green_equilibration_lavg(), grid_rescale(), HashTablePermutohedral< KD, VD >::grow(), guess_key_group(), gui_changed(), gui_cleanup(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init_aspect(), gui_init_positions(), gui_post_expose(), gui_reset(), gui_update(), gui_update(), guide_laplacians(), guided_filter(), guided_filter_tiling(), heat_PDE_diffusion(), heat_PDE_diffusion(), hexify(), histogram_helper_cs_Lab(), histogram_helper_cs_Lab_LCh(), histogram_helper_cs_LCh(), histogram_helper_cs_RAW(), histogram_helper_cs_RAW_helper_process_pixel_float(), histogram_helper_cs_RAW_helper_process_pixel_uint16(), histogram_helper_cs_rgb(), histogram_helper_cs_rgb_compensated(), HSV_2_RGB(), icuLikeFunc(), ignore_missing_wb(), image_lab2rgb(), image_rgb2lab(), image_to_grid(), image_to_grid(), image_to_relgrid(), interpol::Catmull_Rom_spline< T >::init(), interpol::monotone_hermite_spline< T >::init(), interpol::monotone_hermite_spline_variant< T >::init(), interpol::smooth_cubic_spline< T >::init(), init(), init_column_sums(), init_nodes_x(), init_nodes_y(), init_tab_general(), InitializeRlimits(), inpaint_mask(), inpaint_noise(), interpolate_bilinear(), interpolate_color(), interpolate_color_xtrans(), interpolate_cubic_bezier(), invert_histogram(), invert_histogram(), invert_histogram(), HashTablePermutohedral< KD, VD >::Key::Key(), keystone_backtransform(), keystone_transform(), kmeans(), kmeans(), kth_smallest(), legacy_params(), legacy_params(), lens_menu_fill(), lens_set(), lin_interpolate(), LinEqSolve(), LineSegmentDetection(), list_view(), ll_angle(), ll_expand_gaussian(), ll_laplacian(), ll_pad_input(), lmmse_demosaic(), load_from_lua(), local_laplacian_internal(), longBitsToDouble(), lookup(), lookup(), interpol::smooth_cubic_spline< T >::LU_factor(), interpol::smooth_cubic_spline< T >::LU_solve(), lua_destroy_event(), lua_register_event(), lut3d_decompress_clut(), lut3d_read_gmz(), main(), main(), make_noise(), map_boundingbox_to_view(), masks_point_denormalize(), mat3mul(), mat3mulv(), mat3SSEmul(), mat4mulv(), matrice_pseudoinverse(), menuitem_clear(), PermutohedralLattice< D, VD >::merge_splat_threads(), metadata_changed(), HashTablePermutohedral< KD, VD >::Value::mix(), modify_roi_in(), monotone_hermite_set(), mul2xyz(), new_image_char_ini(), new_image_int_ini(), nfa(), nlmeans_denoise(), nlmeans_precondition(), normalize(), interpol::smooth_cubic_spline< T >::matrix::operator()(), interpol::smooth_cubic_spline< T >::matrix::operator()(), HashTablePermutohedral< KD, VD >::Value::operator+=(), HashTablePermutohedral< KD, VD >::Key::operator==(), optimize_changed_callback(), paint_chroma_slider(), paint_hue(), paint_temperature_background(), parse_cht(), parse_csv(), parse_cube_line(), parse_it8(), partition(), passthrough_monochrome(), PermutohedralLattice< D, VD >::PermutohedralLattice(), pixel_correction(), pixel_difference(), PNGwriteRawProfile(), point_at_arc_length(), populate_masks_context_menu(), pre_median_b(), preload_image_cache(), preset_tune_callback(), pretty_print_collection(), print_patches(), process(), process(), process(), process(), process(), process(), process(), process(), process_bayer(), process_button_clicked_callback(), process_cmatrix_bm(), process_data(), process_floyd_steinberg(), process_fusion(), process_hsl_v1(), process_hsl_v2(), process_internal(), process_laplacian_bayer(), process_laplacian_xtrans(), process_lch_bayer(), process_lch_xtrans(), process_random(), process_rgb(), process_variance(), process_visualize(), process_wavelets(), process_wavelets(), process_xtrans(), profile_callback(), quickperm(), rawdenoise_draw(), rcd_ppg_border(), read_image(), read_masks(), read_pfm(), read_plain(), read_pref(), rect_nfa(), reduce_region_radius(), refine(), region2rect(), region_grow(), register_lib(), reload_defaults(), remove_root_from_path(), RGBE_ReadHeader(), RGBE_ReadPixels_RLE(), ri_end(), ri_inc(), ri_ini(), rt_adjust_levels(), rt_develop_ui_pipe_finished_callback(), rt_get_index_from_formid(), rt_gslider_changed(), rt_masks_point_denormalize(), rt_paste_forms_from_scale(), rt_process_stats(), rt_resynch_params(), rt_scale_has_shapes(), rt_show_forms_for_current_scale(), rt_wdbar_draw(), secret_to_attributes(), set_new_params_interactive(), set_params(), set_params(), set_pixels(), HashTablePermutohedral< KD, VD >::Key::setHash(), shuffle(), simplex(), PermutohedralLattice< D, VD >::slice(), smooth_path_linsys(), solve(), sort_views(), spectrum_to_XYZ(), PermutohedralLattice< D, VD >::splat(), interpol::spline_base< T >::spline_base(), interpol::spline_base< T >::spline_base(), spline_cubic_set_internal(), spline_cubic_val(), split_path(), sqlite3IcuInit(), strptime(), sum_rec(), sycc420_to_rgb(), sycc422_to_rgb(), sycc444_to_rgb(), tag_changed(), theme_callback(), thinplate_match(), transition_map(), transpose_dot_matrix(), transpose_dot_matrix(), transpose_dot_vector(), transpose_dot_vector(), tree_view(), triangular_ascent_fast(), triangular_ascent_safe(), triangular_descent_fast(), triangular_descent_safe(), uint8_to_float(), update_xy_color(), HashTablePermutohedral< KD, VD >::Value::Value(), variance_rec(), vng_interpolate(), wavelet_denoise(), win_image_find_duplicates(), wmain(), write_image(), write_image(), write_image(), write_image(), write_image(), write_pfm(), write_pref(), xtrans_fdc_interpolate(), xtrans_markesteijn_interpolate(), and xyz2mul().

◆ i_idx

const size_t i_idx = (size_t)i

◆ inc

const float inc = fc + min

Referenced by _combobox_next_sensitive(), and if().

◆ IzAzBz

IzAzBz[2] = { 0.0f, 0.0f, 0.0f, 0.0f }

Referenced by JzAzBz_2_XYZ().

◆ JCH

static dt_aligned_pixel_t JCH
Initial value:
{
float UV_star_prime[2]
static float UV_star_prime[2]
Definition colorspaces_inline_conversions.h:1565

Referenced by dt_UCS_HCB_to_JCH(), dt_UCS_HSB_to_JCH(), dt_UCS_JCH_to_HCB(), dt_UCS_JCH_to_HSB(), dt_UCS_JCH_to_xyY(), and xyY_to_dt_UCS_JCH().

◆ JzAzBz

static dt_aligned_pixel_t JzAzBz
Initial value:
{
const float b = 1.15f
const float b
Definition colorspaces_inline_conversions.h:1326

Referenced by _blendif_jzczhz(), _channel_display_false_color(), _rgb_to_JzCzhz(), JzAzBz_2_XYZ(), JzAzBz_to_JzCzhz(), and rgb_to_JzCzhz().

◆ JzCzhz

JzCzhz[2]
Initial value:
{
float var_H = atan2f(JzAzBz[2], JzAzBz[1]) / (2.0f * DT_M_PI_F)
static dt_aligned_pixel_t JzAzBz
Definition colorspaces_inline_conversions.h:923
else var_H
Definition colorspaces_inline_conversions.h:841
#define DT_M_PI_F
Definition math.h:52

Referenced by _blendif_jzczhz(), _channel_display_false_color(), _display_channel(), _rgb_to_JzCzhz(), JzAzBz_to_JzCzhz(), and rgb_to_JzCzhz().

◆ L

const float L = (max + min) / 2.0f

Referenced by _act_on_cb(), _arc(), _arc_negative(), _colormanage_ui_color(), _current_view_cb(), _draw_line(), _export_apply_lua_actions(), _film_import1(), _guides_draw_callback(), _guides_gui_callback(), _hovered_cb(), _image_import_internal(), _job_canceled(), _lib_geotagging_get_timezones(), _line_to(), _lua_create_job(), _lua_job_progress(), _lua_job_valid(), _move_to(), _new_sub_path(), _panel_get_size_cb(), _panel_hide_cb(), _panel_show_cb(), _panel_visible_cb(), _rectangle(), _restore(), _rotate(), _save(), _scale(), _selection_cb(), _tonecurve_apply(), _translate(), active_member(), alien_job_dispatch(), async_lib_call(), autotype_index(), autotype_newindex(), autotype_next(), autotype_pairs(), autotype_tostring(), blur_horizontal_1ch(), blur_horizontal_4ch(), blur_horizontal_4ch_Kahan(), blur_horizontal_Nch_Kahan(), blur_line(), blur_vertical_16wide(), blur_vertical_16wide_Kahan(), blur_vertical_1wide(), blur_vertical_1wide_Kahan(), blur_vertical_4wide(), blur_vertical_4wide_Kahan(), box_init(), check_version(), checkreadimage(), checkwriteimage(), child_added(), child_removed(), choleski_decompose_fast(), choleski_decompose_safe(), cleanup_widget_sub(), collection_len(), collection_numindex(), color_picker_apply(), colorlabel_member(), combobox_init(), combobox_len(), combobox_numindex(), commit_params(), compute_error(), container_init(), container_len(), container_member(), container_numindex(), container_reset(), create_backtrace(), database_get_image(), database_len(), database_numindex(), description_member(), destroy_pref(), destroy_storage(), digits_member(), dispatch_cb(), drop_cache(), drop_thread(), dt_bilateral_slice(), dt_bilateral_slice_to_output(), dt_bilateral_splat(), dt_call_after_load(), dt_colorspaces_set_display_profile(), dt_init(), dt_lua_async_call_internal(), dt_lua_check_print_error(), dt_lua_copy_image(), dt_lua_debug_stack_internal(), dt_lua_debug_table_internal(), dt_lua_delete_image(), dt_lua_duplicate_image(), dt_lua_event_add(), dt_lua_event_keyed_destroy(), dt_lua_event_keyed_register(), dt_lua_event_keyed_trigger(), dt_lua_event_multiinstance_destroy(), dt_lua_event_multiinstance_register(), dt_lua_event_multiinstance_trigger(), dt_lua_event_trigger(), dt_lua_event_trigger_wrapper(), dt_lua_goto_subtable(), dt_lua_gtk_wrap_internal(), dt_lua_image_push(), dt_lua_init(), dt_lua_init_cairo(), dt_lua_init_call(), dt_lua_init_configuration(), dt_lua_init_database(), dt_lua_init_early(), dt_lua_init_early_events(), dt_lua_init_early_format(), dt_lua_init_early_lib(), dt_lua_init_early_modules(), dt_lua_init_early_storage(), dt_lua_init_early_types(), dt_lua_init_early_view(), dt_lua_init_events(), dt_lua_init_film(), dt_lua_init_gettext(), dt_lua_init_gpointer_type_type(), dt_lua_init_gui(), dt_lua_init_guides(), dt_lua_init_image(), dt_lua_init_init(), dt_lua_init_int_type_type(), dt_lua_init_lualib(), dt_lua_init_luastorages(), dt_lua_init_password(), dt_lua_init_preferences(), dt_lua_init_print(), dt_lua_init_singleton(), dt_lua_init_styles(), dt_lua_init_tags(), dt_lua_init_type_type(), dt_lua_init_view(), dt_lua_init_widget(), dt_lua_init_widget_box(), dt_lua_init_widget_button(), dt_lua_init_widget_check_button(), dt_lua_init_widget_combobox(), dt_lua_init_widget_container(), dt_lua_init_widget_entry(), dt_lua_init_widget_file_chooser_button(), dt_lua_init_widget_label(), dt_lua_init_widget_section_label(), dt_lua_init_widget_separator(), dt_lua_init_widget_slider(), dt_lua_init_widget_stack(), dt_lua_init_widget_text_view(), dt_lua_init_widget_type_type(), dt_lua_init_wrapped_singleton(), dt_lua_isa_type(), dt_lua_lib_register(), dt_lua_module_entry_get_type(), dt_lua_module_entry_new(), dt_lua_module_entry_new_singleton(), dt_lua_module_entry_push(), dt_lua_module_get_preset_type(), dt_lua_module_new(), dt_lua_module_push(), dt_lua_move_image(), dt_lua_push_darktable_lib(), dt_lua_push_glist_type(), dt_lua_register_current_preset(), dt_lua_register_format_type(), dt_lua_register_module_presets_type(), dt_lua_register_storage_type(), dt_lua_register_view(), dt_lua_style_apply(), dt_lua_style_create_from_image(), dt_lua_style_export(), dt_lua_style_import(), dt_lua_tag_attach(), dt_lua_tag_detach(), dt_lua_tag_get_attached(), dt_lua_tag_get_tagged_images(), dt_lua_to_glist_type(), dt_lua_treated_pcall(), dt_lua_type_gpointer_alias_type(), dt_lua_type_gpointer_drop(), dt_lua_type_member_common(), dt_lua_type_member_luaautoc(), dt_lua_type_register_const_type(), dt_lua_type_register_number_const_type(), dt_lua_type_register_number_type(), dt_lua_type_register_parent_type(), dt_lua_type_register_struct_type(), dt_lua_type_register_type(), dt_lua_type_setmetafield_type(), dt_lua_typeisa_type(), dt_lua_widget_bind(), dt_lua_widget_get_callback(), dt_lua_widget_register_gtk_callback_type(), dt_lua_widget_set_callback(), dt_lua_widget_tostring_member(), dt_lua_widget_trigger_callback(), dt_lua_widget_unbind(), dtwin_get_locale(), duplicate_index_member(), easter(), editable_member(), editable_member(), editable_member(), ellipsize_member(), ellipsize_member(), ending_cb(), entry_init(), envelope(), execute_cb(), exif_datetime_taken_member(), expandable_member(), expanded_member(), extension_member(), film_delete(), film_getnum(), film_len(), film_member(), film_tostring(), films_index(), films_len(), films_new(), finalize_store_wrapper(), full_pushfunc(), full_tofunc(), generate_cache(), get_format_params(), get_group(), get_keys(), get_password(), get_skin_tones_range(), get_storage_params(), get_thread(), get_widget_params(), gpointer_pushfunc(), gpointer_tofunc(), gpointer_wrapper(), group_leader_member(), group_with(), gtk_signal_member(), gtk_wrap(), h_size_fixed_member(), halign_member(), hard_max_member(), hard_min_member(), has_txt_member(), height_member(), histogram_helper_cs_LCh(), history_delete(), HSL_2_RGB(), id_member(), id_member(), id_member(), id_member(), if(), ilogit(), image_luaautoc_member(), image_to_grid(), image_to_grid(), image_to_relgrid(), image_tostring(), import_images(), init(), init(), init_metatable(), init_widget_sub(), initialize_store_wrapper(), int_pushfunc(), int_tofunc(), is_altered_member(), is_directory_member(), is_hdr_member(), is_ldr_member(), is_password_member(), is_raw_member(), kmeans(), kmeans(), Lab2UnitCube(), Lab_2_LCH(), label_member(), label_member(), label_member(), label_member(), label_member(), LCH_2_Lab(), Lch_to_color_name(), lib_tostring(), line_detect(), load_from_lua(), local_copy_member(), lua_bindtextdomain(), lua_destroy_event(), lua_dgettext(), lua_dngettext(), lua_gettext(), lua_ngettext(), lua_print(), lua_print_error(), lua_print_hinter(), lua_print_log(), lua_print_toast(), lua_register_event(), luaopen_darktable(), make_group_leader(), max_height_member(), max_width_member(), metadata_member(), mime_member(), model_fitness(), name_member(), name_member(), name_member(), name_member(), name_member(), name_member(), new_format(), new_storage(), new_widget(), on_screen_member(), orientation_member(), orientation_member(), path_member(), path_member(), placeholder_member(), plugin_name_member(), plugin_name_member(), position_member(), process(), process_lch_bayer(), process_lch_xtrans(), process_v3(), push_char_array(), push_lua_data(), push_progress_double(), push_protected_double(), rating_member(), read_cb(), read_pref(), recommended_height_member(), recommended_width_member(), register_guide(), register_lib(), register_pref(), register_pref_sub(), register_storage(), reset_member(), reset_widget_lua(), response_callback_lua(), RGB2Lab(), RGB_2_HSL(), run_async_thread_main(), run_early_script(), save_password(), save_thread(), section_label_init(), section_label_member(), selectable_member(), selected_member(), sensitive_member(), sidecar_member(), sleep_cb(), slider_init(), soft_max_member(), soft_min_member(), solve_hermitian(), stacked_job_dispatch(), step_member(), store_wrapper(), string_job_dispatch(), style_delete(), style_duplicate(), style_gc(), style_getnumber(), style_item_gc(), style_item_table_to_id_list(), style_item_tostring(), style_length(), style_table_index(), style_table_len(), style_tostring(), supports_format(), tag_delete(), tag_index(), tag_length(), tag_lib_create(), tag_lib_find(), tag_lib_index(), tag_lib_length(), tag_name(), tag_tostring(), text_member(), text_member(), text_view_init(), thinplate_color_pos(), title_member(), to_char1024(), to_char128(), to_char20(), to_char256(), to_char32(), to_char512(), to_char52(), to_char64(), to_char_array(), to_charfilename_length(), to_charpath_length(), to_progress_double(), tonecurve_apply(), tonecurve_unapply(), tooltip_member(), tostring_member(), tostring_member(), tostring_member(), tostring_member(), tostring_member(), tostring_member(), tostring_member(), tostring_member(), tostring_member(), triangular_ascent_fast(), triangular_ascent_safe(), triangular_descent_fast(), triangular_descent_safe(), unknown_pushfunc(), update_widget_lua(), v_size_fixed_member(), value_member(), value_member(), value_member(), value_member(), version_member(), view_tostring(), views_member(), visible_member(), visible_member(), widget_call(), widget_gc(), width_member(), wrapped_index(), wrapped_newindex(), wrapped_pairs(), wrapped_tostring(), write_image(), and write_pref().

◆ L_star

◆ L_white

static const float L_white
Initial value:
{
dt_aligned_pixel_t xyY_a = { xyY[0], xyY[1], xyY[2], 0.f }
static dt_aligned_pixel_t xyY
Definition colorspaces_inline_conversions.h:266

Referenced by dt_UCS_JCH_to_xyY(), process(), and xyY_to_dt_UCS_JCH().

◆ Lab

◆ Lch

static dt_aligned_pixel_t Lch
Initial value:
{
Lch[0] = Luv[0]
static dt_aligned_pixel_t Luv
Definition colorspaces_inline_conversions.h:329
static dt_aligned_pixel_t Lch
Definition colorspaces_inline_conversions.h:352

Referenced by _auto_set_exposure(), _auto_set_illuminant(), _develop_ui_pipe_finished_callback(), _paint_hue(), _process_vectorscope(), _target_color_draw(), commit_profile_callback(), get_skin_tones_range(), gui_changed(), illum_xy_callback(), reload_defaults(), target_color_draw(), and update_xy_color().

◆ LCH

LCH[2]
Initial value:
{
float var_H = atan2f(Lab[2], Lab[1])
static dt_aligned_pixel_t Lab
Definition colorspaces_inline_conversions.h:228

Referenced by _blendif_lch(), _display_channel(), and LCH_2_Lab().

◆ linearRGB

dt_aligned_pixel_t linearRGB
Initial value:
{
dt_apply_transposed_color_matrix(XYZ, xyz_to_srgb_matrix_transposed, sRGB)
static dt_aligned_pixel_t XYZ
Definition colorspaces_inline_conversions.h:252
static const dt_colormatrix_t xyz_to_srgb_transposed
Definition colorspaces_inline_conversions.h:612
static dt_aligned_pixel_t linearRGB
Definition colorspaces_inline_conversions.h:618

◆ LMS

◆ lms

dt_aligned_pixel_t lms = { 0.f }

Referenced by LMS_to_Yrg(), and Yrg_to_LMS().

◆ LMS_2006_D65_to_XYZ_D65

const dt_colormatrix_t LMS_2006_D65_to_XYZ_D65
static
Initial value:
= { { 1.80794659f, -1.29971660f, 0.34785879f, 0.f },
{ 0.61783960f, 0.39595453f, -0.04104687f, 0.f },
{ -0.12546960f, 0.20478038f, 1.74274183f, 0.f } }

Referenced by filmic_v4_prepare_matrices(), and LMS_to_XYZ().

◆ LMS_D65_to_filmlightRGB_D65

const dt_colormatrix_t LMS_D65_to_filmlightRGB_D65
static
Initial value:
= { { 1.0877193f, -0.66666667f, 0.02061856f, 0.f },
{ -0.0877193f, 1.66666667f, -0.05154639f, 0.f },
{ 0.f, 0.f, 1.03092784f, 0.f } }

Referenced by LMS_to_gradingRGB().

◆ Luv

static dt_aligned_pixel_t Luv
Initial value:
{
dt_aligned_pixel_t uvY
static dt_aligned_pixel_t uvY
Definition colorspaces_inline_conversions.h:303

Referenced by _bin_pixels_vectorscope_in_roi(), _create_vectorscope_image(), and _process_vectorscope().

◆ m

const float m = L - C

◆ M

const float M
static
Initial value:
= {
{ 0.41478972f, 0.579999f, 0.0146480f, 0.0f },
{ -0.2015100f, 1.120649f, 0.0531008f, 0.0f },
{ -0.0166008f, 0.264800f, 0.6684799f, 0.0f },
}

Referenced by _xy2matrix(), clamp(), clampnan(), create_lens_kernel(), create_motion_kernel(), demosaic_ppg(), dot_product(), dt_control_merge_hdr_process(), dt_develop_blendif_init_masking_profile(), dt_UCS_JCH_to_xyY(), for(), gaussian_sampler(), rcd_ppg_border(), spd_daylight(), and XYZ_to_JzAzBz().

◆ M2

const float M2 = UV_star_prime[0] * UV_star_prime[0] + UV_star_prime[1] * UV_star_prime[1]

◆ matrix

◆ max

const float max = fmaxf(RGB[0], fmaxf(RGB[1], RGB[2]))

Referenced by _auto_levels(), _blend_add(), _blend_average(), _blend_chromaticity(), _blend_color(), _blend_coloradjust(), _blend_darken(), _blend_difference(), _blend_difference2(), _blend_hardlight(), _blend_hue(), _blend_lighten(), _blend_lightness(), _blend_linearlight(), _blend_multiply(), _blend_normal_bounded(), _blend_overlay(), _blend_pinlight(), _blend_screen(), _blend_softlight(), _blend_subtract(), _blend_vividlight(), _CLAMP(), _clamp_marker(), _CLAMP_XYZ(), _clip(), _color_picker_direct_hsl(), _color_picker_direct_lch_or_jzczhz(), _color_picker_hsl(), _color_picker_jzczhz(), _color_picker_lch(), _color_picker_rgb_or_lab(), _dt_RGB_2_Hue(), _is_within_pxl_threshold(), _is_within_pxl_threshold(), _masks_gui_add_interaction_slider(), _prepare_tap_boundaries(), _print_nan_debug(), _read_pgm(), _read_ppm(), _sample_picker_buffer(), _sanitize_confgen(), _tonecurve_apply(), color_picker_apply(), compute_features(), dt_bauhaus_slider_from_params(), dt_bauhaus_slider_from_widget(), dt_bauhaus_slider_get_step(), dt_bauhaus_slider_new_with_range(), dt_bauhaus_slider_new_with_range_and_feedback(), dt_conf_get_and_sanitize_float(), dt_conf_get_and_sanitize_int(), dt_conf_get_and_sanitize_int64(), dt_conf_get_float(), dt_conf_get_int(), dt_conf_get_int64(), dt_conf_get_sanitize_float(), dt_develop_blendif_lab_blend(), dt_draw_curve_calc_values(), dt_draw_curve_calc_values_V2(), dt_draw_curve_calc_values_V2_nonperiodic(), dt_draw_curve_calc_values_V2_periodic(), dt_draw_curve_smaple_values(), dt_gaussian_init(), dt_gui_preferences_int(), dt_gui_presets_update_av(), dt_gui_presets_update_fl(), dt_gui_presets_update_iso(), dt_gui_presets_update_tv(), dt_rgb_norm(), dtgtk_gradient_slider_multivalue_set_picker_meanminmax(), dtgtk_gradient_slider_set_picker_meanminmax(), eigf_variance_analysis(), eigf_variance_analysis_no_mask(), generate_cache(), get_error(), get_manifolds(), guided_filter(), guided_filter_tiling(), if(), ilogit(), limf(), logit(), main(), mouse_moved(), mutate(), process(), process(), reduce_artifacts(), register_pref_sub(), sycc420_to_rgb(), sycc422_to_rgb(), sycc444_to_rgb(), tree_insert_presets(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().

◆ MI

const dt_colormatrix_t MI
Initial value:
= {
{ 1.9242264357876067f, -1.0047923125953657f, 0.0376514040306180f, 0.0f },
{ 0.3503167620949991f, 0.7264811939316552f, -0.0653844229480850f, 0.0f },
{ -0.0909828109828475f, -0.3127282905230739f, 1.5227665613052603f, 0.0f },
}

Referenced by JzAzBz_2_XYZ().

◆ MI_transposed

const dt_colormatrix_t MI_transposed
static
Initial value:
= {
{ 1.9242264357876067f, 0.3503167620949991f, -0.0909828109828475f, 0.0f },
{ -1.0047923125953657f, 0.7264811939316552f, -0.3127282905230739f, 0.0f },
{ 0.0376514040306180f, -0.0653844229480850f, 1.5227665613052603f, 0.0f },
}

◆ min

const float const float const float min
Initial value:
{
const float h = H * 6.0f
const float h
Definition colorspaces_inline_conversions.h:1366
static const float H
Definition colorspaces_inline_conversions.h:666

Referenced by _area_button_press_callback(), _area_button_press_callback(), _area_motion_notify_callback(), _area_motion_notify_callback(), _auto_levels(), _blend_add(), _blend_average(), _blend_chromaticity(), _blend_color(), _blend_coloradjust(), _blend_darken(), _blend_difference(), _blend_difference2(), _blend_hardlight(), _blend_hue(), _blend_lighten(), _blend_lightness(), _blend_linearlight(), _blend_multiply(), _blend_normal_bounded(), _blend_overlay(), _blend_pinlight(), _blend_screen(), _blend_softlight(), _blend_subtract(), _blend_vividlight(), _CLAMP(), _clamp_marker(), _CLAMP_XYZ(), _clip(), _color_picker_direct_hsl(), _color_picker_direct_lch_or_jzczhz(), _color_picker_hsl(), _color_picker_jzczhz(), _color_picker_lch(), _color_picker_rgb_or_lab(), _is_within_pxl_threshold(), _is_within_pxl_threshold(), _masks_gui_add_interaction_slider(), _print_nan_debug(), _sample_picker_buffer(), _sanitize_confgen(), _simplex(), _tonecurve_apply(), color_picker_apply(), compute_features(), dt_bauhaus_slider_from_params(), dt_bauhaus_slider_from_widget(), dt_bauhaus_slider_get_step(), dt_bauhaus_slider_new_with_range(), dt_bauhaus_slider_new_with_range_and_feedback(), dt_conf_get_and_sanitize_float(), dt_conf_get_and_sanitize_int(), dt_conf_get_and_sanitize_int64(), dt_conf_get_float(), dt_conf_get_int(), dt_conf_get_int64(), dt_conf_get_sanitize_float(), dt_develop_blendif_lab_blend(), dt_draw_curve_calc_values(), dt_draw_curve_calc_values_V2(), dt_draw_curve_calc_values_V2_nonperiodic(), dt_draw_curve_calc_values_V2_periodic(), dt_draw_curve_smaple_values(), dt_gaussian_init(), dt_gui_preferences_int(), dt_gui_presets_update_av(), dt_gui_presets_update_fl(), dt_gui_presets_update_iso(), dt_gui_presets_update_tv(), dt_iop_basecurve_button_press(), dt_iop_basecurve_motion_notify(), dt_iop_tonecurve_button_press(), dt_iop_tonecurve_motion_notify(), dt_util_gps_rationale_to_number(), dtgtk_gradient_slider_multivalue_set_picker_meanminmax(), dtgtk_gradient_slider_set_picker_meanminmax(), eigf_variance_analysis(), eigf_variance_analysis_no_mask(), generate_cache(), get_error(), get_manifolds(), guided_filter(), guided_filter_tiling(), if(), if(), ilogit(), limf(), logit(), mutate(), process(), reduce_artifacts(), register_pref_sub(), simplex(), tree_insert_presets(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().

◆ n

const float n = 0.159301758f

Referenced by _align_close(), _align_down(), _align_up(), _apply_quadratic_dab_smoothing(), _aspect_ratio_get(), _blendif_scale_print_ab(), _blendif_scale_print_default(), _blendif_scale_print_hue(), _blendop_masks_add_shape(), _blendop_masks_show_and_edit(), _brush_cyclic_cursor(), _brush_events_post_expose(), _brush_get_pts_border(), _circle_get_mask_roi(), _compute_correction(), _compute_downsampling_kernel(), _count_images_per_track(), _dfs_visit(), _ellipse_get_mask_roi(), _event_aspect_presets_changed(), _filter_non_printable(), _find_parent_hashtable(), _float_to_fract(), _float_to_fract(), _get_bounded_inside(), _get_lines_hash(), _get_multi_priority(), _get_near(), _get_or_create_node(), _gradient_get_mask(), _gradient_get_mask_roi(), _handle_xpath(), _hm_build_input_nodes_from_ids(), _hm_build_input_nodes_from_ids_filtered(), _hm_build_isolated_nodes_from_modules(), _hm_cycle_node_label(), _hm_free_input_node(), _hm_node_has_predecessor(), _hm_remove_predecessor(), _hm_show_toposort_cycle_popup(), _hm_topo_apply_solution(), _image_distance_transform(), _notebook_motion_notify_callback(), _notebook_size_callback(), _points_to_transform(), _polygon_crop_to_roi(), _polygon_get_mask_roi(), _ratio_get_aspect(), _remove_outliers(), _simplex(), _toposort_extract_cycle_from_stack(), _update_lines_count(), _update_recentcollections(), _upgrade_library_schema_step(), _virtual_shortcut_callback(), aspect_presets_changed(), blackbody_xy_to_tinted_xy(), box_max_vert_16wide(), box_min_vert_16wide(), button_pressed(), button_released(), catmull_rom_set(), catmull_rom_val(), choleski_decompose_fast(), choleski_decompose_safe(), color_picker_helper_4ch_converted_parallel(), color_picker_helper_4ch_parallel(), color_picker_helper_bayer_parallel(), color_picker_helper_xtrans_parallel(), convert_to_spline_v3(), create_lens_kernel(), CurveDataSample(), CurveDataSampleV2(), d3_np_fs(), do_crop(), dsvd(), dt_collection_deserialize(), dt_develop_blend_legacy_params(), dt_digraph_node_new(), dt_drawlayer_io_free_layer_names(), dt_focus_create_clusters(), dt_focus_draw_clusters(), dt_histogram_worker(), dt_iop_gui_update_blending(), dt_iop_levels_compute_levels_automatic(), dt_ioppr_update_for_entries(), dt_ioppr_update_for_modules(), dt_ioppr_update_for_style_items(), dt_masks_dynbuf_add_zeros(), dt_masks_dynbuf_reserve_n(), dt_masks_iop_update(), dt_masks_reset_form_gui(), dt_masks_reset_show_masks_icons(), dt_pixelpipe_cache_alloc_perthread_float_impl(), dt_pixelpipe_cache_alloc_perthread_impl(), dt_pixelpipe_cache_calloc_perthread_impl(), dt_show_times_f(), dt_utf8_strlcpy(), dt_util_is_dir_empty(), fact(), finalize_store(), find_nearest_on_curve_t(), for(), gauss_make_triangular(), gauss_solve(), gauss_solve_triangular(), gaussian_sampler(), get_cluster(), get_cluster(), get_cluster_mapping(), get_cluster_mapping(), get_clusters(), get_clusters(), get_points(), get_tint_from_tinted_xy(), getdelim(), getline(), gui_init(), gui_init(), gui_post_expose(), gui_post_expose(), gui_update(), interpolate_cubic_bezier(), interpolate_set(), interpolate_val(), interpolate_val_V2(), interpolate_val_V2_periodic(), kmeans(), kmeans(), kth_smallest(), legacy_params(), legacy_params(), legacy_params(), legacy_params(), line_detect(), ll_angle(), log_gamma_lanczos(), interpol::smooth_cubic_spline< T >::LU_factor(), interpol::smooth_cubic_spline< T >::LU_solve(), lua_dngettext(), lua_ngettext(), model_fitness(), monotone_hermite_set(), mouse_moved(), mouse_moved(), nfa(), node_next(), node_prev(), pair_min(), path_delete(), path_length(), planckian_normal(), pretty_print_collection(), process(), process(), process_xtrans(), pseudo_solve(), pseudo_solve_gaussian(), ransac(), read_history_v2(), read_masks_v3(), rect_improve(), refine(), ri_ini(), scrolled(), simplex(), smooth_path_linsys(), smooth_paths_linsys(), solve_hermitian(), spline_cubic_set(), spline_cubic_set_internal(), spline_cubic_val(), thinplate_match(), topological_sort(), transpose_dot_matrix(), transpose_dot_matrix(), transpose_dot_vector(), transpose_dot_vector(), triangular_ascent_fast(), triangular_ascent_safe(), triangular_descent_fast(), triangular_descent_safe(), update_colors(), watermark_callback(), window_max(), window_min(), xdivf(), and xy_to_CCT().

◆ n_inv

const float n_inv = 1.0f / 0.159301758f

Referenced by JzAzBz_2_XYZ().

◆ offsets

const dt_aligned_pixel_t offsets = { 0.153836578598858f, -0.165478376301988f, 0.291320554395942f, 0.f }

◆ out

return out
Initial value:
{
const dt_aligned_pixel_simd_t vin = dt_load_simd_aligned(in)
return dt_load_simd_aligned(JCH)

Referenced by _blend_add(), _blend_add(), _blend_add(), _blend_add(), _blend_average(), _blend_average(), _blend_average(), _blend_average(), _blend_chromaticity(), _blend_chromaticity(), _blend_chromaticity(), _blend_color(), _blend_color(), _blend_coloradjust(), _blend_coloradjust(), _blend_darken(), _blend_darken(), _blend_darken(), _blend_difference(), _blend_difference(), _blend_difference(), _blend_difference(), _blend_difference2(), _blend_divide(), _blend_divide_inverse(), _blend_geometric_mean(), _blend_hardlight(), _blend_hardlight(), _blend_hardlight(), _blend_harmonic_mean(), _blend_HSV_color(), _blend_HSV_value(), _blend_hue(), _blend_hue(), _blend_Lab_a(), _blend_Lab_b(), _blend_Lab_color(), _blend_Lab_lightness(), _blend_lighten(), _blend_lighten(), _blend_lighten(), _blend_lightness(), _blend_lightness(), _blend_linearlight(), _blend_linearlight(), _blend_linearlight(), _blend_luminance(), _blend_multiply(), _blend_multiply(), _blend_multiply(), _blend_multiply(), _blend_normal(), _blend_normal_bounded(), _blend_normal_bounded(), _blend_normal_bounded(), _blend_normal_unbounded(), _blend_normal_unbounded(), _blend_normal_unbounded(), _blend_overlay(), _blend_overlay(), _blend_overlay(), _blend_pinlight(), _blend_pinlight(), _blend_pinlight(), _blend_RGB_B(), _blend_RGB_B(), _blend_RGB_G(), _blend_RGB_G(), _blend_RGB_R(), _blend_RGB_R(), _blend_screen(), _blend_screen(), _blend_screen(), _blend_softlight(), _blend_softlight(), _blend_softlight(), _blend_subtract(), _blend_subtract(), _blend_subtract(), _blend_subtract(), _blend_subtract_inverse(), _blend_vividlight(), _blend_vividlight(), _blend_vividlight(), _blendif_cook(), _blendif_scale(), _bspline_horizontal(), _bspline_horizontal_decimated(), _channel_display_false_color(), _channel_display_monochrome(), _compute_range(), _copy_file(), _copy_output(), _display_channel_value(), _get_brush_colors(), _half_to_float(), _hm_append_cycle_label(), _hm_module_label_short(), _hm_module_row_label(), _hm_pretty_id_from_id_ht(), _init_f(), _interpolation_resample_1c_plain(), _interpolation_resample_plain(), _mask_display(), _prepare_resampling_plan(), _process(), _read_chunky_16(), _read_chunky_16_Lab(), _read_chunky_8(), _read_chunky_8_Lab(), _read_chunky_f(), _read_chunky_h(), _read_scanline_rgba(), _splash_capitalize_name(), _transform_lab_to_rgb_matrix(), _transform_matrix_rgb(), _transform_rgb_to_lab_matrix(), _working_rgb_to_display_rgb(), _write_pixel(), add_7tuple(), amaze_demosaic_RT(), apply_blue_mapping(), apply_correction(), apply_curve(), apply_curve(), apply_global_distortion_map(), apply_legacy_curve(), apply_toneequalizer(), array2string(), blur_2D_Bspline(), blur_2D_Bspline(), CDL(), char2qstring(), clamped_scaling(), clipnan_pixel(), color_smoothing(), compute_channels_factors(), compute_channels_gains(), copy_image_with_border(), copy_pixels(), correct_pixel_pyramid(), correct_pixel_tetrahedral(), correct_pixel_trilinear(), decompress_plain(), demosaic_ppg(), detail_enhance(), display_luminance_mask(), display_mask(), distort_mask(), distort_mask(), dt_apply_printer_profile(), dt_bilateral_slice(), dt_bilateral_slice_to_output(), dt_colorspaces_cygm_apply_coeffs_to_rgb(), dt_colorspaces_cygm_to_rgb(), dt_colorspaces_pseudoinverse(), dt_colorspaces_rgb_to_cygm(), dt_colorspaces_transform_rgba8_to_bgra8(), dt_colorspaces_transform_rgba_float_image(), dt_colorspaces_transform_rgba_float_row(), dt_drawlayer_io_list_layer_names(), dt_drawlayer_io_load_flat_rgba(), dt_exif_xmp_read(), dt_gaussian_blur(), dt_gaussian_blur_4c(), dt_image_distance_transform(), dt_imageio_avif_read_profile(), dt_imageio_flip_buffers(), dt_imageio_flip_buffers_ui8_to_float(), dt_imageio_heif_read_profile(), dt_imageio_j2k_read_profile(), dt_imageio_jpeg_compress(), dt_imageio_jpeg_decompress(), dt_imageio_jpeg_read(), dt_imageio_jpeg_read_profile(), dt_imageio_open_avif(), dt_imageio_open_heif(), dt_imageio_open_rawspeed_sraw(), dt_imageio_png_read_profile(), dt_imageio_tiff_read_profile(), dt_interpolation_compute_pixel4c(), dt_interpolation_resample(), dt_interpolation_resample_1c(), dt_interpolation_resample_roi(), dt_interpolation_resample_roi_1c(), dt_iop_alpha_copy(), dt_iop_clip_and_zoom(), dt_iop_clip_and_zoom_demosaic_half_size_f(), dt_iop_clip_and_zoom_demosaic_passthrough_monochrome_f(), dt_iop_clip_and_zoom_demosaic_third_size_xtrans_f(), dt_iop_clip_and_zoom_mosaic_half_size(), dt_iop_clip_and_zoom_mosaic_half_size_f(), dt_iop_clip_and_zoom_mosaic_third_size_xtrans(), dt_iop_clip_and_zoom_mosaic_third_size_xtrans_f(), dt_iop_clip_and_zoom_roi(), dt_iop_colorreconstruct_bilateral_slice(), dt_iop_copy_image_roi(), dt_iop_flip_and_zoom_8(), dt_iop_image_copy(), dt_iop_image_copy_by_size(), dt_masks_blur_9x9(), dt_masks_calc_detail_mask(), dt_noise_generator_simd(), dt_noiseprofile_interpolate(), dt_simd_memcpy(), dt_thumbtable_get_thumbnail_info(), dt_wb_preset_interpolate(), dwt_decompose_horiz(), dwt_decompose_layer(), dwt_decompose_vert(), dwt_denoise_horiz_1ch(), dwt_denoise_vert_1ch(), eaw_decompose(), eaw_dn_decompose(), eaw_synthesize(), edge_enhance(), edge_enhance_1d(), eigf_variance_analysis(), eigf_variance_analysis_no_mask(), expand_2D_Bspline(), extract_color_checker(), filmic_chroma_v1(), filmic_chroma_v2_v3(), filmic_chroma_v4(), filmic_split_v1(), filmic_split_v2_v3(), filmic_split_v4(), filmic_v5(), gamma_correct(), gaussian_noise_simd(), gaussian_sampler(), get_double(), get_float(), green_equilibration_favg(), green_equilibration_lavg(), guide_laplacians(), guided_filter(), heat_PDE_diffusion(), heat_PDE_diffusion(), hexify(), interpolate_bilinear(), interpolate_color(), interpolate_color_xtrans(), invert_matrix(), Lch_to_color_name(), lin_interpolate(), LineSegmentDetection(), ll_pad_input(), lmmse_demosaic(), load_add_16wide(), load_add_16wide_Kahan(), load_add_4wide(), load_add_4wide_Kahan(), load_add_Nwide_Kahan(), load_update_max_16wide(), load_update_min_16wide(), local_laplacian(), local_laplacian_internal(), lookup_gamut(), loop_switch(), main(), matrice_pseudoinverse(), matrix_product_float4(), nlmeans_denoise(), passthrough_color(), passthrough_monochrome(), picker_scale(), picker_scale(), pixelpipe_process_on_CPU(), poisson_noise_simd(), pre_median(), pre_median_b(), pretty_print_collection(), process(), process(), process(), process(), process(), process(), process(), process(), process_bayer(), process_clip(), process_cmatrix_bm(), process_cmatrix_fastpath_clipping(), process_cmatrix_fastpath_simple(), process_cmatrix_proper(), process_display(), process_drago(), process_fastpath_apply_tonecurves(), process_fastpath_matrix(), process_filmic(), process_floyd_steinberg(), process_fusion(), process_gray(), process_hsl_v1(), process_hsl_v2(), process_lch_bayer(), process_lch_xtrans(), process_lcms2_bm(), process_lcms2_proper(), process_lut(), process_random(), process_reinhard(), process_rgb(), process_v1(), process_v3(), process_variance(), process_visualize(), process_wavelets(), process_wavelets(), process_xtrans(), quantize(), rcd_demosaic(), rcd_ppg_border(), read_image(), read_image(), read_image(), read_plain(), rect_copy(), reduce_2D_Bspline(), reduce_artifacts(), reduce_chromatic_aberrations(), rgb2grey256(), rgb_matrix_to_xyz(), rt_copy_in_to_out(), set_16wide(), store_16wide(), store_scaled_16wide(), store_scaled_4wide(), store_scaled_Nwide(), sum_rec(), toneeq_process(), uniform_noise_simd(), variance_rec(), vng_interpolate(), wavelet_denoise(), wavelet_denoise_xtrans(), write_image(), write_image(), write_image(), write_image(), write_image(), write_pfm(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().

◆ p

const float p = 134.034375f

Referenced by cbrt_5f(), and for().

◆ p_inv

const float p_inv = 1.0f / 134.034375f

Referenced by JzAzBz_2_XYZ().

◆ r

const float r = Yrg[1]

Referenced by __attribute__(), _arc(), _arc_negative(), _area_resized_callback(), _area_resized_callback(), _compute_effective_height(), _ellipse_draw_node(), _ellipse_events_mouse_moved(), _get_map_extent(), _group_get_mask(), _hm_show_merge_report_popup(), _init_image_pin(), _init_place_pin(), _maketaps_lanczos(), _picker_project_opponent_to_display_rgb(), _points_to_transform(), _polygon_crop_to_roi(), _start_new_shape(), _update_RGB_colors(), _update_RGB_slider_stop(), _xy2matrix(), area_resized(), area_resized(), blur_vertical_16wide(), blur_vertical_16wide_Kahan(), blur_vertical_1wide(), blur_vertical_1wide_Kahan(), blur_vertical_4wide(), blur_vertical_4wide_Kahan(), build_tonecurve(), button_released(), clampnan(), commit_params(), create_global_distortion_map(), create_lens_kernel(), define_patches(), dt_bauhaus_draw_quad(), dt_bauhaus_slider_set_stop(), dt_cache_arena_alloc(), dt_cache_arena_stats(), dt_draw_cairo_to_gdk_pixbuf(), dt_drawlayer_io_load_flat_rgba(), dt_imageio_open_rawspeed(), dt_imageio_open_rawspeed_sraw(), dt_interpolation_compute_sample(), dt_masks_dynbuf_harvest(), dt_mipmap_cache_get_filename(), dt_pixelpipe_get_pipe_name(), dtgtk_cairo_paint_altered(), dtgtk_cairo_paint_label(), dtgtk_cairo_paint_label_flower(), dtgtk_cairo_paint_label_sel(), dtgtk_cairo_paint_masks_difference(), dtgtk_cairo_paint_masks_drawn_and_parametric(), dtgtk_cairo_paint_masks_exclusion(), dtgtk_cairo_paint_masks_intersection(), dtgtk_cairo_paint_masks_parametric(), dtgtk_cairo_paint_masks_union(), dtgtk_cairo_paint_modulegroup_basics(), dtgtk_cairo_paint_star(), dtgtk_cairo_paint_unaltered(), dtgtk_cairo_paint_unratestar(), dtgtk_cairo_paint_waveform_overlaid(), dtgtk_cairo_paint_waveform_scope(), get_collect(), gui_init(), init_column_sums(), interpolate_color_xtrans(), legacy_params(), mix_warps(), pair_min(), poisson_noise(), poisson_noise_simd(), poisson_noise_simd(), process(), ptr_array_find_sorted(), ptr_array_insert_sorted(), ransac(), read_curveset(), read_ppm_header(), rect_improve(), rgb2hsl(), ri_ini(), scrolled(), set_grad_from_points(), PermutohedralLattice< D, VD >::slice(), sycc420_to_rgb(), sycc422_to_rgb(), sycc444_to_rgb(), sycc_to_rgb(), thinplate_kernel(), thinplate_match(), write_image(), Ych_to_Yrg(), Yrg_to_LMS(), and Yrg_to_Ych().

◆ RGB

◆ rgb

const dt_aligned_pixel_t rgb
Initial value:
{
static const dt_colormatrix_t xyz_to_rgb_transpose = {
{ 1.3459433f, -0.5445989f, 0.0000000f, 0.0f },
{ -0.2556075f, 1.5081673f, 0.0000000f, 0.0f },
{ -0.0511118f, 0.0205351f, 1.2118128f, 0.0f }
}
float DT_ALIGNED_ARRAY dt_colormatrix_t[4][4]
Definition matrices.h:33

Referenced by _conf_display_color(), _import_get_thumbnail(), _rgb_luminance(), _rgb_luminance(), _rgb_to_JzCzhz(), _select_base_display_color(), _transform_lab_to_rgb_matrix(), _transform_matrix_rgb(), apply_autogrey(), backtransform_Y0U0V0(), checker_draw(), cluster_preview_draw(), color_picker_apply(), commit_params(), dt_camera_rgb_luminance(), dt_camera_rgb_luminance(), dt_dev_write_rawdetail_mask(), dt_drawlayer_widgets_draw_picker(), dt_imageio_open_avif(), dt_iop_colorcorrection_draw(), dt_iop_monochrome_draw(), dt_iop_RGB_to_YCbCr(), dt_iop_YCbCr_to_RGB(), dt_ioppr_compensate_middle_grey(), dt_ioppr_generate_profile_info(), dt_ioppr_get_rgb_matrix_luminance(), dt_ioppr_lab_to_rgb_matrix(), dt_ioppr_rgb_matrix_to_lab(), dt_ioppr_rgb_matrix_to_xyz(), dt_ioppr_uncompensate_middle_grey(), get_pixel_norm_simd(), get_rgb_matrix_luminance(), gui_update_from_coeffs(), hsl2rgb(), hue_conversion(), image_rgb2lab(), LMS_to_Yrg(), process(), process(), process(), process_data(), process_hsl_v1(), process_hsl_v2(), prophotorgb_to_Lab(), prophotorgb_to_XYZ(), rcd_demosaic(), rgb2hsl(), rgb_matrix_to_xyz(), rgb_to_JzCzhz(), set_RGB_sliders(), update_balance_slider_colors(), update_colorpicker_color(), update_saturation_slider_color(), update_saturation_slider_end_color(), update_saturation_slider_end_color(), update_saturation_slider_end_color(), write_image(), xtrans_fdc_interpolate(), xtrans_markesteijn_interpolate(), XYZ_to_prophotorgb(), and Yrg_to_LMS().

◆ row

const int row
Initial value:
{
return (dt_aligned_pixel_simd_t){ matrix[row][0], matrix[row][1], matrix[row][2], matrix[row][3] }
static const int row
Definition colorspaces_inline_conversions.h:175
static const dt_colormatrix_t matrix
Definition colorspaces_inline_conversions.h:182

Referenced by _attach_aligned_grid_item(), _attach_grid_separator(), _bspline_vertical_pass(), _build_xtrans_bilinear_lookup(), _circle_get_mask_roi(), _ellipse_get_mask_roi(), _gradient_get_mask(), _gradient_get_mask_roi(), _heal_add(), _heal_laplace_iteration(), _heal_sub(), _hm_report_drag_data_received(), _hm_report_update_arrows(), _inverse_mask(), _polygon_get_mask(), _polygon_get_mask_roi(), _read_chunky_16(), _read_chunky_16_Lab(), _read_chunky_8(), _read_chunky_8_Lab(), _read_chunky_f(), _read_chunky_h(), _read_scanline_rgba(), _render_brush_profile_cell(), _rowid_to_position(), _simplex(), _write_scanline_rgba(), amaze_demosaic_RT(), apply_global_distortion_map(), BL(), blur_2D_Bspline(), blur_2D_Bspline(), box_max_1ch(), box_min_1ch(), collect_runs(), copy_image_with_border(), create_global_distortion_map(), decompose_2D_Bspline(), dt_box_mean_4ch_Kahan(), dt_drawlayer_io_load_flat_rgba(), dt_drawlayer_io_load_layer(), dt_drawlayer_widgets_draw_swatch(), dt_drawlayer_widgets_pick_history_color(), dt_imageio_jpeg_compress(), dt_imageio_jpeg_write_with_icc_profile(), dt_imageio_large_thumbnail(), dt_masks_blur_9x9(), dt_masks_calc_rawdetail_mask(), dt_masks_extend_border(), dt_preset_encode(), dt_style_encode(), dt_thumbtable_select_range(), dwt_decompose_horiz(), dwt_decompose_vert(), dwt_denoise_horiz_1ch(), dwt_denoise_vert_1ch(), expand_2D_Bspline(), FC(), FC(), fcol(), FCxtrans(), FCxtrans(), filmic_prepare_simd_matrices(), guide_laplacians(), heat_PDE_diffusion(), heat_PDE_diffusion(), hexmap(), init_column_sums(), lin_interpolate(), lmmse_demosaic(), nlmeans_denoise(), passthrough_color(), pre_median_b(), process(), process(), process_bayer(), process_visualize(), process_xtrans(), rcd_demosaic(), reduce_2D_Bspline(), simplex(), vng_interpolate(), wavelet_denoise(), wavelet_denoise_xtrans(), write_image(), write_image(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().

◆ S

float S = 0.0f

Referenced by if().

◆ sRGB

static dt_aligned_pixel_t sRGB
Initial value:
{
static const dt_colormatrix_t xyz_to_srgb_matrix_transposed =
{ { 3.1338561f, -0.9787684f, 0.0719453f, 0.0f },
{ -1.6168667f, 1.9161415f, -0.2289914f, 0.0f },
{ -0.4906146f, 0.0334540f, 1.4052427f, 0.0f } }

Referenced by _XYZ_to_REC_709_normalized(), cairo_surface_create_from_xyz_data(), dt_exif_read_blob(), dt_imageio_export_with_flags(), sRGB_to_XYZ(), sRGB_to_XYZ(), XYZ_to_sRGB(), and XYZ_to_sRGB().

◆ sRGB_to_xyz_transposed

const dt_colormatrix_t sRGB_to_xyz_transposed
static
Initial value:
=
{ { 0.4360747f, 0.2225045f, 0.0139322f },
{ 0.3850649f, 0.7168786f, 0.0971045f },
{ 0.1430804f, 0.0606169f, 0.7141733f } }

◆ threshold

◆ top

◆ U_factors

const dt_aligned_pixel_t U_factors = { 0.167171472114775f, -0.150959086409163f, 0.940254742367256f, 0.f }

Referenced by dt_UCS_JCH_to_xyY().

◆ U_star_prime

const float U_star_prime = M * cosf(JCH[2])

Referenced by dt_UCS_JCH_to_xyY().

◆ UV

float UV[2] = { 0.f }

Referenced by dt_UCS_JCH_to_xyY().

◆ UV_star

const float UV_star = { 0.f }

◆ UV_star_prime

UV_star_prime[1]
Initial value:
{
const dt_aligned_pixel_t x_factors = { -0.783941002840055f, 0.745273540913283f, 0.318707282433486f, 0.f }

Referenced by commit_params(), xyY_to_dt_UCS_JCH(), and xyY_to_dt_UCS_UV().

◆ UVD

UVD[1] = { 0.f }

Referenced by xyY_to_dt_UCS_UV().

◆ uvY

uvY[1]
Initial value:
{
const float denominator = -2.f * xyY[0] + 12.f * xyY[1] + 3.f

Referenced by dt_uvY_to_xyY(), and dt_xyY_to_uvY().

◆ V

const float V = max

◆ V_factors

const dt_aligned_pixel_t V_factors = { 0.141299802443708f, -0.155185060382272f, 1.000000000000000f, 0.f }

Referenced by dt_UCS_JCH_to_xyY().

◆ V_star_prime

const float V_star_prime = M * sinf(JCH[2])

Referenced by dt_UCS_JCH_to_xyY().

◆ var_H

else var_H = 1.0f - fabsf(var_H) / (2.0f * DT_M_PI_F)

◆ xyD

dt_aligned_pixel_t xyD = { 0.f }

Referenced by dt_UCS_JCH_to_xyY().

◆ xyY

◆ XYZ

static dt_aligned_pixel_t XYZ

◆ XYZ_D50

static dt_aligned_pixel_t XYZ_D50
Initial value:
{
static const dt_colormatrix_t M = {
{ 0.4360747f, 0.2225045f, 0.0139322f, 0.0f },
{ 0.3850649f, 0.7168786f, 0.0971045f, 0.0f },
{ 0.1430804f, 0.0606169f, 0.7141733f, 0.0f }
}
static const dt_colormatrix_t M
Definition colorspaces_inline_conversions.h:933

Referenced by _bin_pixels_vectorscope_in_roi(), _process_vectorscope(), pipe_RGB_to_Ych(), and rgb_to_JzCzhz().

◆ XYZ_D65

static dt_aligned_pixel_t XYZ_D65
Initial value:
{
static const dt_colormatrix_t M_transposed = {
{ 0.9555766f, -0.0282895f, 0.0122982f, 0.0f },
{ -0.0230393f, 1.0099416f, -0.0204830f, 0.0f },
{ 0.0631636f, 0.0210077f, 1.3299098f, 0.0f },
}

Referenced by _blendif_jzczhz(), _channel_display_false_color(), _rgb_to_JzCzhz(), JzAzBz_2_XYZ(), pipe_RGB_to_Ych(), rgb_to_JzCzhz(), and XYZ_to_JzAzBz().

◆ XYZ_D65_to_LMS_2006_D65

const dt_colormatrix_t XYZ_D65_to_LMS_2006_D65
static
Initial value:
= { { 0.257085f, 0.859943f, -0.031061f, 0.f },
{ -0.394427f, 1.175800f, 0.106423f, 0.f },
{ 0.064856f, -0.076250f, 0.559067f, 0.f } }

Referenced by filmic_v4_prepare_matrices(), process(), and XYZ_to_LMS().

◆ xyz_to_srgb_transposed

const dt_colormatrix_t xyz_to_srgb_transposed
static
Initial value:
=
{ { 3.1338561f, -0.9787684f, 0.0719453f },
{ -1.6168667f, 1.9161415f, -0.2289914f },
{ -0.4906146f, 0.0334540f, 1.4052427f } }

◆ y_factors

const dt_aligned_pixel_t y_factors = { 0.277512987809202f, -0.205375866083878f, 2.16743692732158f, 0.f }

Referenced by xyY_to_dt_UCS_UV().

◆ Ych

static dt_aligned_pixel_t Ych
Initial value:
{
const float Y = Yrg[0]
static dt_aligned_pixel_t Yrg
Definition colorspaces_inline_conversions.h:1287

Referenced by color_picker_apply(), commit_params(), gamut_check_Yrg(), gui_init(), paint_chroma_slider(), pipe_RGB_to_Ych(), and Ych_to_Yrg().

◆ Yrg

static dt_aligned_pixel_t Yrg
Initial value:
{
const float Y = 0.68990272f * LMS[0] + 0.34832189f * LMS[1]
dt_aligned_pixel_t LMS
Definition colorspaces_inline_conversions.h:952

Referenced by __attribute__(), gamut_check_Yrg(), Yrg_to_LMS(), and Yrg_to_Ych().