![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/colorspaces_inline_conversions.h"#include "common/colorspaces.h"#include "common/matrices.h"#include "develop/imageop.h"#include <CL/cl.h>
Include dependency graph for iop_profile.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_iop_order_iccprofile_info_t |
| struct | dt_colorspaces_cl_global_t |
| struct | dt_colorspaces_iccprofile_info_cl_t |
Typedefs | |
| typedef struct dt_iop_order_iccprofile_info_t | dt_iop_order_iccprofile_info_t |
| typedef struct dt_colorspaces_cl_global_t | dt_colorspaces_cl_global_t |
| typedef struct dt_colorspaces_iccprofile_info_cl_t | dt_colorspaces_iccprofile_info_cl_t |
Variables | |
| const float | v |
| const float const int | lutsize |
| const int | t = (ft < lutsize - 2) ? ft : lutsize - 2 |
| const float | f = ft - t |
| const float | l1 = lut[t] |
| const float | l2 = lut[t + 1] |
| static const float | x |
| const float *const | lut |
| const float *const const float | coeff [3] |
| static dt_aligned_pixel_t | rgb_out |
| static dt_aligned_pixel_t float *const const float | unbounded_coeffs [3][3] |
| typedef struct dt_colorspaces_cl_global_t dt_colorspaces_cl_global_t |
| typedef struct dt_iop_order_iccprofile_info_t dt_iop_order_iccprofile_info_t |
| __OMP_DECLARE_SIMD__ | ( | aligned(lut:64) uniform(lut) | ) | const |
the following must have the matrix_in and matrix_out generated
| void dt_colorspaces_free_cl_global | ( | dt_colorspaces_cl_global_t * | g | ) |
Definition at line 1121 of file iop_profile.c.
References dt_free, dt_opencl_free_kernel(), g, and IS_NULL_PTR.
Referenced by dt_opencl_cleanup().
| dt_colorspaces_cl_global_t * dt_colorspaces_init_cl_global | ( | void | ) |
Definition at line 1109 of file iop_profile.c.
References dt_opencl_create_kernel(), g, and dt_colorspaces_cl_global_t::kernel_colorspaces_transform_lab_to_rgb_matrix.
Referenced by dt_opencl_init().
| dt_iop_order_iccprofile_info_t * dt_ioppr_add_profile_info_to_list | ( | struct dt_develop_t * | dev, |
| const dt_colorspaces_color_profile_type_t | profile_type, | ||
| const char * | profile_filename, | ||
| const int | intent | ||
| ) |
adds the profile info from (profile_type, profile_filename) to the dev profiles info list if not already exists returns the generated profile or the existing one
Definition at line 723 of file iop_profile.c.
References dt_develop_t::allprofile_info, dt_alloc_align(), dt_free_align, dt_ioppr_generate_profile_info(), dt_ioppr_get_profile_info_from_list(), dt_ioppr_init_profile_info(), and IS_NULL_PTR.
Referenced by _refresh_slider_gradients(), _update_gui_lut_cache(), _update_gui_lut_cache(), commit_params(), dt_ioppr_get_iop_work_profile_info(), dt_ioppr_set_pipe_input_profile_info(), dt_ioppr_set_pipe_output_profile_info(), dt_ioppr_set_pipe_work_profile_info(), process(), process(), process_cl(), and workicc_changed().
| cl_int dt_ioppr_build_iccprofile_params_cl | ( | const dt_iop_order_iccprofile_info_t *const | profile_info, |
| const int | devid, | ||
| dt_colorspaces_iccprofile_info_cl_t ** | _profile_info_cl, | ||
| cl_float ** | _profile_lut_cl, | ||
| cl_mem * | _dev_profile_info, | ||
| cl_mem * | _dev_profile_lut | ||
| ) |
build the required parameters for a kernel that uses a profile info
Definition at line 1169 of file iop_profile.c.
References cleanup(), dt_ioppr_get_profile_info_cl(), dt_ioppr_get_trc_cl(), dt_opencl_copy_host_to_device(), dt_opencl_copy_host_to_device_constant(), and IS_NULL_PTR.
Referenced by dt_develop_blend_process_cl(), and process_cl().
| void dt_ioppr_cleanup_profile_info | ( | dt_iop_order_iccprofile_info_t * | profile_info | ) |
must be called when done with profile_info
Definition at line 599 of file iop_profile.c.
References dt_free_align, i, dt_iop_order_iccprofile_info_t::lut_in, and dt_iop_order_iccprofile_info_t::lut_out.
Referenced by dt_dev_cleanup().
| void dt_ioppr_free_iccprofile_params_cl | ( | dt_colorspaces_iccprofile_info_cl_t ** | _profile_info_cl, |
| cl_float ** | _profile_lut_cl, | ||
| cl_mem * | _dev_profile_info, | ||
| cl_mem * | _dev_profile_lut | ||
| ) |
free parameters build with the previous function
Definition at line 1224 of file iop_profile.c.
References dt_free, and dt_opencl_release_mem_object().
Referenced by dt_develop_blend_process_cl(), and process_cl().
| void dt_ioppr_get_export_profile_type | ( | struct dt_develop_t * | dev, |
| dt_colorspaces_color_profile_type_t * | profile_type, | ||
| const char ** | profile_filename | ||
| ) |
returns the current setting of the export profile on colorout iop
Definition at line 952 of file iop_profile.c.
References darktable, DT_COLORSPACE_NONE, darktable_t::iop, dt_develop_t::iop, dt_iop_module_so_t::op, and dt_iop_module_t::params.
| dt_iop_order_iccprofile_info_t * dt_ioppr_get_histogram_profile_info | ( | struct dt_develop_t * | dev | ) |
returns a reference to the histogram profile info histogram profile must not be cleanup()
| void dt_ioppr_get_input_profile_type | ( | struct dt_develop_t * | dev, |
| dt_colorspaces_color_profile_type_t * | profile_type, | ||
| const char ** | profile_filename | ||
| ) |
returns the current setting of the input profile on colorin iop
| dt_iop_order_iccprofile_info_t * dt_ioppr_get_iop_input_profile_info | ( | struct dt_iop_module_t * | module, |
| GList * | iop_list | ||
| ) |
| dt_iop_order_iccprofile_info_t * dt_ioppr_get_iop_work_profile_info | ( | struct dt_iop_module_t * | module, |
| GList * | iop_list | ||
| ) |
returns a reference to the work profile info as set on colorin iop only if module is between colorin and colorout, otherwise returns NULL work profile must not be cleanup()
Definition at line 747 of file iop_profile.c.
References DT_COLORSPACE_NONE, DT_INTENT_PERCEPTUAL, dt_ioppr_add_profile_info_to_list(), dt_ioppr_get_work_profile_type(), FALSE, dt_iop_module_t::op, TRUE, and type.
Referenced by _area_draw_callback(), _brush_pipeline_color_from_display(), _draw_color_picker(), _get_current_work_profile_key(), _signal_profile_user_changed(), _update_gradient_slider_pickers(), _working_rgb_to_display_rgb(), autoset(), color_picker_apply(), dt_develop_blendif_init_masking_profile(), gui_changed(), process(), process(), process_cl(), process_fusion(), and process_lut().
| dt_iop_order_iccprofile_info_t * dt_ioppr_get_pipe_current_profile_info | ( | struct dt_iop_module_t * | module, |
| const struct dt_dev_pixelpipe_t * | pipe | ||
| ) |
Get the relevant RGB -> XYZ profile at the position of current module
Definition at line 884 of file iop_profile.c.
References dt_iop_module_t::dev, dt_ioppr_get_iop_order(), dt_ioppr_get_pipe_input_profile_info(), dt_ioppr_get_pipe_output_profile_info(), dt_ioppr_get_pipe_work_profile_info(), and dt_develop_t::iop_order_list.
Referenced by _auto_set_illuminant(), _pipe_rgb_to_dt_ucs_hsb(), _pipe_rgb_to_Ych(), _pipe_rgb_to_Ych(), _refresh_preview_cursor_sample(), _sample_picker_buffer(), _update_gradient_slider_pickers(), _work_rgb_to_display_rgb(), autoset(), color_picker_apply(), commit_params(), commit_params(), dt_develop_blendif_init_masking_profile(), pipe_RGB_to_Ych(), process(), process(), and process_cl().
| dt_iop_order_iccprofile_info_t * dt_ioppr_get_pipe_input_profile_info | ( | const struct dt_dev_pixelpipe_t * | pipe | ) |
Definition at line 874 of file iop_profile.c.
References dt_dev_pixelpipe_t::input_profile_info.
Referenced by _auto_set_exposure(), _ioporder_runtime_band_profile_info(), autoset(), commit_params(), dt_ioppr_get_pipe_current_profile_info(), and process().
| dt_iop_order_iccprofile_info_t * dt_ioppr_get_pipe_output_profile_info | ( | const struct dt_dev_pixelpipe_t * | pipe | ) |
Definition at line 879 of file iop_profile.c.
References dt_dev_pixelpipe_t::output_profile_info.
Referenced by _area_draw_callback(), _brush_pipeline_color_from_display(), _channelmixerrgb_update_primaries_colors(), _channelmixerrgb_update_simple_colors(), _draw_color_picker(), _draw_curve(), _ioporder_runtime_band_profile_info(), _refresh_slider_gradients(), _render_preview_surface(), _update_gui_lut_cache(), _update_gui_lut_cache(), _update_point_slider_colors(), _update_RGB_colors(), _work_rgb_to_display_rgb(), _working_rgb_to_display_rgb(), dt_ioppr_get_pipe_current_profile_info(), gui_post_expose(), process(), and process_cl().
| dt_iop_order_iccprofile_info_t * dt_ioppr_get_pipe_work_profile_info | ( | const struct dt_dev_pixelpipe_t * | pipe | ) |
returns the active work/input/output profile on the pipe
Definition at line 869 of file iop_profile.c.
References dt_dev_pixelpipe_t::work_profile_info.
Referenced by _channelmixerrgb_update_primaries_colors(), _channelmixerrgb_update_simple_colors(), _generate_curve_lut(), _ioporder_runtime_band_profile_info(), _refresh_module_histogram(), _refresh_preview_module_histogram_for_hash(), _render_preview_surface(), _retouch_blur(), _update_point_slider_colors(), _update_RGB_colors(), color_picker_apply(), commit_params(), dt_develop_blend_process_cl(), dt_develop_blendif_lab_blend(), dt_ioppr_get_pipe_current_profile_info(), pixelpipe_process_on_CPU(), pixelpipe_process_on_GPU(), process(), process(), process(), process_cl(), rt_adjust_levels(), and rt_process_stats().
| void dt_ioppr_get_profile_info_cl | ( | const dt_iop_order_iccprofile_info_t *const | profile_info, |
| dt_colorspaces_iccprofile_info_cl_t * | profile_info_cl | ||
| ) |
sets profile_info_cl using profile_info to be used as a parameter when calling opencl
Definition at line 1133 of file iop_profile.c.
References dt_colorspaces_iccprofile_info_cl_t::grey, dt_iop_order_iccprofile_info_t::grey, i, dt_colorspaces_iccprofile_info_cl_t::lutsize, dt_iop_order_iccprofile_info_t::lutsize, dt_colorspaces_iccprofile_info_cl_t::matrix_in, dt_iop_order_iccprofile_info_t::matrix_in, dt_colorspaces_iccprofile_info_cl_t::matrix_out, dt_iop_order_iccprofile_info_t::matrix_out, dt_colorspaces_iccprofile_info_cl_t::nonlinearlut, dt_iop_order_iccprofile_info_t::nonlinearlut, dt_colorspaces_iccprofile_info_cl_t::unbounded_coeffs_in, and dt_colorspaces_iccprofile_info_cl_t::unbounded_coeffs_out.
Referenced by dt_ioppr_build_iccprofile_params_cl(), dt_ioppr_transform_image_colorspace_cl(), and dt_ioppr_transform_image_colorspace_rgb_cl().
| dt_iop_order_iccprofile_info_t * dt_ioppr_get_profile_info_from_list | ( | struct dt_develop_t * | dev, |
| dt_colorspaces_color_profile_type_t | profile_type, | ||
| const char * | profile_filename | ||
| ) |
returns the profile info from dev profiles info list that matches (profile_type, profile_filename) NULL if not found
Definition at line 703 of file iop_profile.c.
References dt_develop_t::allprofile_info, dt_iop_order_iccprofile_info_t::filename, and dt_iop_order_iccprofile_info_t::type.
Referenced by dt_ioppr_add_profile_info_to_list().
| cl_float * dt_ioppr_get_trc_cl | ( | const dt_iop_order_iccprofile_info_t *const | profile_info | ) |
returns the profile_info trc to be used as a parameter when calling opencl
Definition at line 1153 of file iop_profile.c.
References dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lut_out, dt_iop_order_iccprofile_info_t::lutsize, and x.
Referenced by dt_ioppr_build_iccprofile_params_cl(), dt_ioppr_transform_image_colorspace_cl(), and dt_ioppr_transform_image_colorspace_rgb_cl().
| void dt_ioppr_get_work_profile_type | ( | struct dt_develop_t * | dev, |
| dt_colorspaces_color_profile_type_t * | profile_type, | ||
| const char ** | profile_filename | ||
| ) |
returns the current setting of the work profile on colorin iop
Definition at line 905 of file iop_profile.c.
References darktable, DT_COLORSPACE_NONE, darktable_t::iop, dt_develop_t::iop, dt_iop_module_so_t::op, and dt_iop_module_t::params.
Referenced by commit_params(), and dt_ioppr_get_iop_work_profile_info().
| void dt_ioppr_init_profile_info | ( | dt_iop_order_iccprofile_info_t * | profile_info, |
| const int | lutsize | ||
| ) |
must be called before using profile_info, default lutsize = 0
Definition at line 577 of file iop_profile.c.
References dt_alloc_align_float(), DT_COLORSPACE_NONE, DT_INTENT_PERCEPTUAL, DT_IOPPR_LUT_SAMPLES, dt_iop_order_iccprofile_info_t::filename, dt_iop_order_iccprofile_info_t::grey, i, dt_iop_order_iccprofile_info_t::intent, dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lut_out, dt_iop_order_iccprofile_info_t::lutsize, lutsize, dt_iop_order_iccprofile_info_t::nonlinearlut, and dt_iop_order_iccprofile_info_t::type.
Referenced by dt_ioppr_add_profile_info_to_list().
| dt_iop_order_iccprofile_info_t * dt_ioppr_set_pipe_input_profile_info | ( | struct dt_develop_t * | dev, |
| struct dt_dev_pixelpipe_t * | pipe, | ||
| const dt_colorspaces_color_profile_type_t | type, | ||
| const char * | filename, | ||
| const int | intent, | ||
| const dt_colormatrix_t | matrix_in | ||
| ) |
Definition at line 809 of file iop_profile.c.
References DT_COLORSPACE_ALTERNATE_MATRIX, DT_COLORSPACE_EMBEDDED_ICC, DT_COLORSPACE_LIN_REC2020, dt_ioppr_add_profile_info_to_list(), dt_dev_pixelpipe_t::input_profile_info, IS_NULL_PTR, mat3SSEinv(), dt_iop_order_iccprofile_info_t::matrix_in, dt_iop_order_iccprofile_info_t::matrix_in_transposed, dt_iop_order_iccprofile_info_t::matrix_out, dt_iop_order_iccprofile_info_t::matrix_out_transposed, transpose_3xSSE(), dt_iop_order_iccprofile_info_t::type, and type.
Referenced by commit_params().
| dt_iop_order_iccprofile_info_t * dt_ioppr_set_pipe_output_profile_info | ( | struct dt_develop_t * | dev, |
| struct dt_dev_pixelpipe_t * | pipe, | ||
| const dt_colorspaces_color_profile_type_t | type, | ||
| const char * | filename, | ||
| const int | intent | ||
| ) |
Definition at line 843 of file iop_profile.c.
References DT_COLORSPACE_DISPLAY, DT_COLORSPACE_SRGB, dt_ioppr_add_profile_info_to_list(), IS_NULL_PTR, dt_iop_order_iccprofile_info_t::matrix_in, dt_iop_order_iccprofile_info_t::matrix_out, dt_dev_pixelpipe_t::output_profile_info, and type.
Referenced by commit_params().
| dt_iop_order_iccprofile_info_t * dt_ioppr_set_pipe_work_profile_info | ( | struct dt_develop_t * | dev, |
| struct dt_dev_pixelpipe_t * | pipe, | ||
| const dt_colorspaces_color_profile_type_t | type, | ||
| const char * | filename, | ||
| const int | intent | ||
| ) |
set the work profile (type, filename) on the pipe, should be called on process*() if matrix cannot be generated it default to linear rec 2020 returns the actual profile that has been set
Definition at line 790 of file iop_profile.c.
References DT_COLORSPACE_LIN_REC2020, dt_ioppr_add_profile_info_to_list(), IS_NULL_PTR, dt_iop_order_iccprofile_info_t::matrix_in, dt_iop_order_iccprofile_info_t::matrix_out, type, and dt_dev_pixelpipe_t::work_profile_info.
Referenced by commit_params().
| void dt_ioppr_transform_image_colorspace | ( | struct dt_iop_module_t * | self, |
| const float *const | image_in, | ||
| float *const | image_out, | ||
| const int | width, | ||
| const int | height, | ||
| const int | cst_from, | ||
| const int | cst_to, | ||
| int * | converted_cst, | ||
| const dt_iop_order_iccprofile_info_t *const | profile_info | ||
| ) |
transforms image from cst_from to cst_to colorspace using profile_info
Definition at line 999 of file iop_profile.c.
References _transform_lcms2(), _transform_matrix(), dt_times_t::clock, darktable, DT_COLORSPACE_NONE, DT_DEBUG_PERF, dt_get_times(), dt_iop_colorspace_is_rgb(), height, IS_NULL_PTR, dt_iop_order_iccprofile_info_t::matrix_in, dt_iop_order_iccprofile_info_t::matrix_out, dt_iop_module_t::multi_name, dt_iop_module_t::op, dt_iop_order_iccprofile_info_t::type, darktable_t::unmuted, dt_times_t::user, and width.
Referenced by _draw_color_picker(), _refresh_preview_module_histogram_for_hash(), _retouch_blur(), dt_ioppr_transform_image_colorspace_cl(), pixelpipe_process_on_CPU(), and pixelpipe_process_on_GPU().
| int dt_ioppr_transform_image_colorspace_cl | ( | struct dt_iop_module_t * | self, |
| const int | devid, | ||
| cl_mem | dev_img_in, | ||
| cl_mem | dev_img_out, | ||
| const int | width, | ||
| const int | height, | ||
| const int | cst_from, | ||
| const int | cst_to, | ||
| int * | converted_cst, | ||
| const dt_iop_order_iccprofile_info_t *const | profile_info | ||
| ) |
same as the C version
Definition at line 1247 of file iop_profile.c.
References ch, cleanup(), dt_times_t::clock, dt_opencl_t::colorspaces, darktable, DT_COLORSPACE_NONE, DT_DEBUG_PERF, dt_free, dt_get_times(), dt_iop_colorspace_is_rgb(), dt_ioppr_get_profile_info_cl(), dt_ioppr_get_trc_cl(), dt_ioppr_transform_image_colorspace(), dt_opencl_copy_device_to_host(), dt_opencl_copy_host_to_device(), dt_opencl_copy_host_to_device_constant(), dt_opencl_enqueue_kernel_2d(), dt_opencl_release_mem_object(), dt_opencl_set_kernel_arg(), dt_opencl_write_host_to_device(), dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, FALSE, height, IOP_CS_LAB, IS_NULL_PTR, dt_colorspaces_cl_global_t::kernel_colorspaces_transform_lab_to_rgb_matrix, dt_colorspaces_cl_global_t::kernel_colorspaces_transform_rgb_matrix_to_lab, dt_iop_order_iccprofile_info_t::matrix_in, dt_iop_order_iccprofile_info_t::matrix_out, dt_iop_module_t::multi_name, dt_iop_module_t::op, darktable_t::opencl, ROUNDUPDHT, ROUNDUPDWD, TRUE, dt_iop_order_iccprofile_info_t::type, darktable_t::unmuted, dt_times_t::user, and width.
Referenced by pixelpipe_process_on_GPU().
| void dt_ioppr_transform_image_colorspace_rgb | ( | const float *const | image_in, |
| float *const | image_out, | ||
| const int | width, | ||
| const int | height, | ||
| const dt_iop_order_iccprofile_info_t *const | profile_info_from, | ||
| const dt_iop_order_iccprofile_info_t *const | profile_info_to, | ||
| const char * | message | ||
| ) |
| int dt_ioppr_transform_image_colorspace_rgb_cl | ( | const int | devid, |
| cl_mem | dev_img_in, | ||
| cl_mem | dev_img_out, | ||
| const int | width, | ||
| const int | height, | ||
| const dt_iop_order_iccprofile_info_t *const | profile_info_from, | ||
| const dt_iop_order_iccprofile_info_t *const | profile_info_to, | ||
| const char * | message | ||
| ) |
Definition at line 1395 of file iop_profile.c.
References ch, cleanup(), dt_times_t::clock, dt_opencl_t::colorspaces, darktable, dt_colormatrix_mul(), DT_COLORSPACE_NONE, DT_DEBUG_PERF, dt_free, dt_get_times(), dt_ioppr_get_profile_info_cl(), dt_ioppr_get_trc_cl(), dt_ioppr_transform_image_colorspace_rgb(), dt_opencl_alloc_device(), dt_opencl_copy_device_to_host(), dt_opencl_copy_host_to_device(), dt_opencl_copy_host_to_device_constant(), dt_opencl_enqueue_copy_image(), dt_opencl_enqueue_kernel_2d(), dt_opencl_release_mem_object(), dt_opencl_set_kernel_arg(), dt_opencl_write_host_to_device(), dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, FALSE, dt_iop_order_iccprofile_info_t::filename, height, IS_NULL_PTR, dt_colorspaces_cl_global_t::kernel_colorspaces_transform_rgb_matrix_to_rgb, matrix, dt_iop_order_iccprofile_info_t::matrix_in, dt_iop_order_iccprofile_info_t::matrix_out, darktable_t::opencl, pack_3xSSE_to_3x4(), ROUNDUPDHT, ROUNDUPDWD, TRUE, dt_iop_order_iccprofile_info_t::type, darktable_t::unmuted, dt_times_t::user, and width.
Referenced by process_cl().
| const float* const const float coeff[3] |
Definition at line 240 of file iop_profile.h.
Referenced by __attribute__(), _downsample_guided_laplacian_apply(), _downsample_guided_laplacian_fit(), _downsample_guided_laplacian_postfilter(), _downsample_guided_laplacian_postfilter_cl(), compute_curve_lut(), dt_imageio_dng_write_tiff_header(), dt_iop_estimate_exp(), dt_iop_eval_exp(), dt_iop_filmic_rgb_compute_spline(), init_presets(), process(), process_data(), solve(), and thinplate_match().
Definition at line 227 of file iop_profile.h.
Referenced by __attribute__(), _sample_raw_segment_cubic_arclen(), handle_motion(), lerp_lookup_unbounded(), local_laplacian_internal(), sort_papers(), and vec3prodn().
Definition at line 228 of file iop_profile.h.
Referenced by _circle_get_mask(), _circle_get_mask_roi(), _fill_mask(), _lib_duplicate_delete(), handle_motion(), lerp_lookup_unbounded(), sort_papers(), and vec3prodn().
| static dt_aligned_pixel_t float *const lut |
Definition at line 240 of file iop_profile.h.
Referenced by __attribute__(), __attribute__(), _apply_tonecurves(), _gradient_get_mask(), _gradient_get_mask_roi(), _init_unbounded_coeffs(), apply_trc_in(), apply_trc_out(), compute_correction_lut(), dt_colorrings_fill_lut_local_field(), dt_colorrings_fill_lut_sparse_local_field(), dt_gradient_lookup(), dt_rgb_norm(), dt_thumbtable_key_pressed_grid(), get_lut_contrast(), get_lut_gamma(), get_rgb_matrix_luminance(), lerp_lookup_unbounded(), lookup(), lookup_unbounded(), and rgb_matrix_to_xyz().
| const float *const const float const int lutsize |
Definition at line 221 of file iop_profile.h.
Referenced by _apply_tonecurves(), _gradient_get_mask(), _gradient_get_mask_roi(), _init_unbounded_coeffs(), dt_colorspaces_get_matrix_from_input_profile(), dt_colorspaces_get_matrix_from_output_profile(), dt_colorspaces_get_matrix_from_profile(), dt_ioppr_init_profile_info(), and lerp_lookup_unbounded().
| dt_aligned_pixel_t rgb_out |
Definition at line 251 of file iop_profile.h.
Referenced by _scope_pixel_to_display_rgb().
Definition at line 225 of file iop_profile.h.
Referenced by _add_node_to_segment(), _add_node_to_segment(), _ask_text(), _brush_border_get_XY(), _brush_get_mask(), _brush_get_mask_roi(), _brush_get_position_in_segment(), _brush_get_XY(), _brush_line_point_at_length(), _brush_point_line_distance2(), _build_raw_segment_cubic_arclen_lut(), _closest_point_on_segment(), _compute_downsampling_kernel(), _configure_tab(), _count_images_per_track(), _delete_tagids(), _detach_tagids(), _dist_seg(), _dt_CGATS_get_type_value(), _dt_colorchecker_get_standard_type(), _ellipse_draw_shape(), _exif_get_exiv2_tag_type(), _format_picker_brightness_position(), _free_result_item(), _free_result_item(), _gcd(), _generic_dt_control_fileop_images_job_run(), _group_get_mask(), _hit_paths(), _intersect_affine_ray_segment(), _lerpf(), _lerpf(), _match_text(), _paint_build_segment_window_sample(), _paint_cubic_hermitef(), _paint_process_one_raw_input(), _polygon_border_get_XY(), _polygon_get_mask(), _polygon_get_mask_roi(), _polygon_get_position_in_segment(), _polygon_get_XY(), _preview_button_press(), _preview_gpx_file(), _read_chunky_16(), _read_chunky_16_Lab(), _read_chunky_8(), _read_chunky_8_Lab(), _read_chunky_f(), _read_chunky_h(), _recursive_toggled(), _refresh_collection_tags(), _refresh_completion_store(), _render_preview(), _sample_raw_segment_cubic_param(), _show_tag_on_view(), _sprinkle_octave_weights(), _tag_add_tags_to_list(), _tag_get_attached_export(), _tag_remove_tags_from_list(), _tonecurve_apply(), apply_blue_mapping(), blackbody_xy_to_tinted_xy(), button_released(), casteljau(), CCT_to_xy_blackbody(), CCT_to_xy_daylight(), cmix(), color_smoothing_cl(), commit_params(), compute_density(), curve_scalar(), dt_colorrings_eval_local_field(), dt_colorrings_eval_sparse_local_field(), dt_colorrings_wendland_c2(), dt_control_datetime_job_run(), dt_control_delete_images_job_run(), dt_control_duplicate_images_job_run(), dt_control_export_job_run(), dt_control_flip_images_job_run(), dt_control_gpx_apply_job_run(), dt_control_image_enumerator_job_film_init(), dt_control_local_copy_images_job_run(), dt_control_merge_hdr_job_run(), dt_control_monochrome_images_job_run(), dt_control_refresh_exif_run(), dt_control_remove_images_job_run(), dt_control_save_xmps_job_run(), dt_drawlayer_brush_profile_eval(), dt_drawlayer_brush_transition_profile_eval(), dt_get_times(), dt_imageio_open_rawspeed(), dt_imageio_open_tiff(), dt_iop_clip_and_zoom_8(), dt_iop_flip_and_zoom_8(), dt_map_location_get_locations_by_path(), dt_map_location_get_locations_on_map(), dt_metadata_get_key_by_subkey(), dt_metadata_get_subkey(), dt_noiseprofile_interpolate(), dt_pdf_finish(), dt_tag_get_attached(), dt_tag_get_collection_tags(), dt_tag_get_hierarchical(), dt_tag_get_hierarchical_export(), dt_tag_get_list(), dt_tag_get_list_export(), dt_tag_get_suggestions(), dt_tag_get_tags_images(), dt_tag_get_with_usage(), dt_timer_start_with_name(), dt_timer_stop_with_name(), entry_changed(), f(), find_nearest_on_curve_t(), gauss_solve_triangular(), get_samples(), get_scales(), get_tint_from_tinted_xy(), HSV_2_RGB(), illum_xy_callback(), illuminant_CCT_to_RGB(), illuminant_to_xy(), interpolate_cubic_bezier(), interpolate_paths(), lerp_lookup_unbounded(), mix(), mix_warps(), mutate(), parse_cube_line(), planckian_normal(), point_at_arc_length(), pointer_swap_f(), polar_decomposition(), process(), process(), process(), process_cl(), process_vng_cl(), process_wavelets(), process_wavelets_cl(), sinf_fast(), spline_cubic_set(), spline_cubic_set_internal(), spline_cubic_val(), thinplate_match(), tiling_callback(), update_approx_cct(), vng_interpolate(), xlog(), xoshiro128plus(), and xoshiro128plus().
| dt_aligned_pixel_t float* const const float unbounded_coeffs[3][3] |
Definition at line 252 of file iop_profile.h.
Referenced by _apply_tonecurves(), _area_draw_callback(), _init_unbounded_coeffs(), apply_curve(), apply_legacy_curve(), dt_iop_basecurve_draw(), dt_iop_tonecurve_draw(), lerp_lookup_unbounded(), and process().
| const float v |
Definition at line 221 of file iop_profile.h.
Referenced by __attribute__(), __attribute__(), _clamp01(), _clamp01(), _cleanup_metadata_value(), _collect_sorted_tree_names(), _ellipse_points_to_transform(), _get_iso8601_int(), _get_lines_hash(), _gradient_get_mask(), _gradient_get_mask_roi(), _gradient_get_points(), _group_get_mask(), _image_distance_transform(), _image_update_group_tooltip(), _linear_channel_to_u8(), _lrop(), _mapping_profile_value(), _mm_vectorGetByIndex(), _name_value_new(), _picker_project_opponent_to_display_rgb(), _piwigo_album_changed(), _points_to_transform(), _polygon_get_mask(), _polygon_get_mask_roi(), _polygon_get_pts_border(), _populate_list(), _sanitize_confgen(), _simplex(), _toggle_expanded(), amaze_demosaic_RT(), blur_vertical_1wide(), blur_vertical_1wide_Kahan(), color_picker_helper_bayer_parallel(), color_picker_helper_bayer_seq(), color_picker_helper_xtrans_parallel(), color_picker_helper_xtrans_seq(), compute_features(), CurveDataSampleV2(), CurveDataSampleV2Periodic(), dsvd(), dt_cairo_sharpen_surface_rgb24(), dt_collection_name_value_free(), dt_colorrings_gray_basis_to_rgb(), dt_colorrings_rgb_to_gray_cyl(), dt_dev_pixelpipe_set_changed(), dt_drawlayer_brush_profile_clamp01(), dt_drawlayer_widgets_draw_picker(), dt_image_distance_transform(), dt_imageio_open_pfm(), dt_points_get_for(), dt_print_file(), dt_pwstorage_kwallet_get(), dt_set_xmp_dt_metadata(), dt_view_manager_button_pressed(), dt_view_manager_button_released(), dt_view_manager_configure(), dt_view_manager_key_pressed(), dt_view_manager_mouse_leave(), dt_view_manager_mouse_moved(), dt_view_manager_switch(), get_blocksizes(), get_double(), get_float(), homography(), HSV_2_RGB(), load_add_16wide(), load_add_16wide_Kahan(), load_add_Nwide_Kahan(), load_update_max_16wide(), load_update_min_16wide(), local_laplacian_internal(), mat3mulv(), mat4mulv(), model_fitness(), multiply_id_v(), multiply_il_v(), multiply_minus_v_d(), multiply_v_il(), normalize(), panels_get_panel_path(), polar_decomposition(), process(), process(), process_cl(), process_markesteijn_cl(), read_pfm(), set_grad_from_points(), set_points_from_grad(), simplex(), solve(), PermutohedralLattice< D, VD >::splat(), sub_16wide_Kahan(), sub_Nwide_Kahan(), thinplate_match(), vec3isnull(), vec3lnorm(), vec3norm(), views(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().
| const float x |
Definition at line 234 of file iop_profile.h.
Referenced by __attribute__(), __attribute__(), __attribute__(), __attribute__(), __attribute__(), __attribute__(), __attribute__(), __OMP_DECLARE_SIMD__(), __OMP_DECLARE_SIMD__(), __OMP_DECLARE_SIMD__(), __OMP_DECLARE_SIMD__(), __OMP_DECLARE_SIMD__(), __OMP_DECLARE_SIMD__(), __OMP_DECLARE_SIMD__(), __OMP_DECLARE_SIMD__(), __OMP_DECLARE_SIMD__(), _add_node(), _add_node(), _add_node(), _add_node(), _add_node(), _add_node_from_picker(), _apply_mix(), _apply_mono_grain_kernel(), _apply_smudge_stroke_mode(), _area_button_press_callback(), _area_button_press_callback(), _area_draw_callback(), _area_draw_callback(), _area_motion_notify_callback(), _area_motion_notify_callback(), _auto_levels(), _auto_set_illuminant(), _bh_get_active_region(), _bh_round_to_n_digits(), _bin_pickers_histogram(), _bin_pickers_vectorscope(), _bin_pickers_waveforms(), _blendop_masks_group_query_tooltip(), _brush_events_button_released(), _brush_events_post_expose(), _brush_falloff(), _brush_falloff_roi(), _brush_initial_source_pos(), _brush_line_point_at_length(), _brush_profile_cell_rect(), _brush_profile_geometry(), _build_cat16_rgb_matrix(), _build_clut(), _build_viewer_control_nodes(), _build_xtrans_bilinear_lookup(), _cellular_grain_2d(), _center_view_free_zoom(), _circle_get_distance(), _circle_get_mask_roi(), _circle_get_points(), _circle_get_points_border(), _circle_get_points_source(), _circle_initial_source_pos(), _CLAMP(), _color_picker_set_from_position(), _colorcorrect_row(), _colorspaces_create_transfer(), _create_crystal_kernel(), _cursor_curve_state(), _curve_to_mouse(), _curve_to_mouse(), _darkroom_pickers_draw(), _darkroom_set_default_cursor(), _develop_blend_process_mask_tone_curve(), _distort_xtransform(), _do_drop(), _downsample_bayer_half_size(), _downsample_xtrans_half_size(), _drag_and_drop_received(), _drag_and_drop_received(), _drag_motion_received(), _draw_brush_hud(), _draw_cube(), _draw_curve(), _draw_end_marker(), _draw_graph_background(), _draw_near_point(), _draw_plus_sign(), _draw_sym(), _dt_masks_events_set_current_pos(), _ellipse_draw_handles(), _ellipse_draw_shape(), _ellipse_get_distance(), _ellipse_get_points_border(), _ellipse_initial_source_pos(), _ellipse_point_close_to_path(), _ellipse_point_transform(), _ellipse_points_to_transform(), _event_dnd_motion(), _event_dnd_received(), _extract_luminance_kernel(), _extract_patches(), _extract_pointer_input(), _extract_rgb_kernels(), _fill_box_values(), _fill_mask(), _finalize_color_grain_kernel(), _get_active_marker_from_screen(), _get_active_marker_internal(), _get_auto_exp_histogram(), _get_control(), _get_position_from_screen(), _gradient_get_distance(), _gradient_get_mask(), _gradient_get_mask_roi(), _gradient_get_points(), _gradient_get_pts_border(), _gradient_is_canonical(), _graph_background_hsb(), _group_get_mask(), _guides_draw_diagonal_method(), _guides_draw_grid(), _guides_draw_harmonious_triangles(), _guides_draw_metering(), _guides_draw_perspective(), _guides_draw_rules_of_thirds(), _HLG_fct(), _hm_report_drag_data_received(), _init_unbounded_coeffs(), _init_widgets(), _interpolate_and_mask_xtrans(), _ioporder_draw_label(), _ioporder_draw_rounded_rect(), _ioporder_graph_draw(), _ioporder_rebuild_graph(), _is_in_frame(), _lens_fill_vignette_row(), _lib_history_view_query_tooltip(), _lib_navigation_set_position(), _lib_tagging_tag_show_accel(), _linear_channel_to_u8(), _lrop(), _mapping_profile_value(), _mask_indicator_tooltip(), _masks_gui_menu_item_forward_event(), _menu_icon_draw(), _mm_exp2_ps(), _mm_log2_ps(), _mm_pow_ps(), _mm_pow_ps1(), _mouse_to_curve(), _mouse_to_curve(), _move_point_internal(), _move_selected_node(), _nm_fitness(), _paint_hue(), _points_to_transform(), _points_to_transform(), _polygon_crop_to_roi(), _polygon_events_post_expose(), _polygon_falloff(), _polygon_falloff_roi(), _polygon_get_mask_roi(), _polygon_get_sizes(), _polygon_initial_source_pos(), _position_to_rowid(), _PQ_fct(), _prepare_analytic_pixel_context(), _prepare_blur_context(), _prepare_resampling_plan(), _process(), _process_vectorscope(), _project_point(), _read_pbm(), _read_pgm(), _read_ppm(), _rect_contains_with_margin(), _render_brush_profile_cell(), _render_preview_surface(), _resync_pipe_with_history(), _row_tooltip_setup(), _rowid_to_position(), _sample_picker_luminance_mask(), _sanity_check(), _sanity_check(), _set_vector(), _simplex_2d_noise(), _simulate_channel(), _simulate_color(), _smudge_hash_signed(), _snap_to_grid(), _splash_draw(), _sprinkle_noise_at_pixel_precomputed(), _temperature_to_xy(), _tonecurve_apply(), _toolbar_show_popup(), _translate_cursor(), _tree_query_tooltip(), _update_darkroom_roi(), _update_RGB_colors(), _view_drag_data_received(), _view_map_drag_motion_callback(), _view_map_get_entry_at_pos(), _view_map_get_imgs_at_pos(), _write_pixel(), _zoom_and_center(), add_to_global_distortion_map(), apply_global_distortion_map(), apply_homography(), apply_homography_scaling(), area_draw(), area_motion_notify(), backtransform(), backtransform(), backtransform(), backtransform(), backtransform_v2(), backtransform_Y0U0V0(), bicubic(), blackbody_xy_to_tinted_xy(), blur_horizontal_1ch(), blur_horizontal_2ch(), blur_horizontal_4ch(), blur_horizontal_4ch_Kahan(), blur_horizontal_Nch_Kahan(), blur_vertical_1ch(), box_max_1d(), box_min_1d(), build_lookup_table(), build_round_stamp(), button_pressed(), button_pressed(), button_pressed(), button_pressed(), button_pressed(), button_released(), button_released(), button_released(), button_released(), button_released(), cairo_surface_create_from_xyz_data(), catmull_rom_set(), catmull_rom_val(), cbf(), CCT_reverse_lookup(), CCT_to_xy_blackbody(), CCT_to_xy_daylight(), CDL(), ceil_fast(), clamp_range_f(), clamp_simd(), clampnan(), clipnan(), color_picker_apply(), commit_params(), commit_params(), commit_params(), compare_L_source(), compute_features(), compute_lut_correction(), create_gauss_kernel(), create_global_distortion_map(), create_lens_kernel(), create_motion_kernel(), crop_fitness(), curve_scalar(), CurveDataSample(), d3_np_fs(), demosaic_ppg(), distort_backtransform(), distort_mask(), distort_transform(), draw_box(), draw_circle(), draw_overlay(), draw_rectangle(), draw_slider_line(), draw_triangle(), dsvd(), dt_bauhaus_draw_quad(), dt_cairo_sharpen_surface_rgb24(), dt_calculator_solve(), dt_colorrings_curve_periodic_sample(), dt_colorrings_curve_x_to_hue(), dt_colorrings_eval_local_field(), dt_colorrings_eval_sparse_local_field(), dt_colorrings_fill_lut_local_field(), dt_colorrings_fill_lut_sparse_local_field(), dt_colorrings_wrap_pi(), dt_colorspaces_create_xyzmatrix_profile(), dt_colorspaces_transform_rgba8_to_bgra8(), dt_control_button_pressed(), dt_control_button_released(), dt_control_merge_hdr_process(), dt_control_mouse_moved(), dt_curve_to_mouse(), dt_dev_pixelpipe_has_preview_output(), dt_develop_blendif_init_masking_profile(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_raw_make_mask(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_make_mask(), dt_draw_cairo_to_gdk_pixbuf(), dt_draw_cross(), 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_set_point(), dt_draw_curve_smaple_values(), dt_draw_histogram_8_logxliny(), dt_draw_histogram_8_logxlogy(), dt_draw_loglog_grid(), dt_draw_node(), dt_draw_semilog_x_grid(), dt_draw_semilog_y_grid(), dt_draw_star(), dt_drawlayer_brush_rasterize(), dt_drawlayer_brush_rasterize_dab_argb8(), dt_drawlayer_brush_rasterize_dab_rgbaf(), dt_drawlayer_cache_populate_process_patch_from_base(), dt_drawlayer_io_load_flat_rgba(), dt_drawlayer_layer_to_widget_coords(), dt_drawlayer_paint_runtime_get_smudge_pickup(), dt_drawlayer_paint_runtime_set_smudge_pickup(), dt_drawlayer_widgets_draw_swatch(), dt_drawlayer_widgets_pick_brush_profile(), dt_drawlayer_widgets_pick_history_color(), dt_drawlayer_widgets_update_from_picker_position(), dt_fast_expf_4wide(), dt_fast_mexp2f(), dt_focus_draw_clusters(), dt_focuspeaking(), dt_get_printer_info(), dt_gpx_geodesic_intermediate_point(), dt_gui_draw_rounded_rectangle(), dt_gui_gtk_write_config(), dt_guides_draw_diagonal_method(), dt_guides_draw_grid(), dt_guides_draw_metering(), dt_image_distance_transform(), dt_imageio_has_mono_preview(), dt_imageio_open_avif(), dt_imageio_open_heif(), dt_interpolation_compute_pixel4c(), dt_interpolation_compute_sample(), dt_iop_basecurve_button_press(), dt_iop_basecurve_draw(), dt_iop_basecurve_motion_notify(), 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(), 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_colorreconstruct_bilateral_slice(), dt_iop_colorreconstruct_bilateral_splat(), dt_iop_estimate_cubic(), dt_iop_estimate_exp(), dt_iop_eval_cubic(), dt_iop_eval_exp(), dt_iop_filmic_rgb_compute_spline(), dt_iop_monochrome_draw(), dt_iop_tonecurve_button_press(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_motion_notify(), dt_ioppr_get_trc_cl(), dt_log_scale_axis(), dt_masks_events_button_pressed(), dt_masks_events_button_released(), dt_masks_events_mouse_moved(), dt_masks_events_mouse_scrolled(), dt_printing_get_image_box(), dt_printing_setup_box(), dt_thumbtable_dispatch_over(), dt_thumbtable_get_scroll_position(), dt_thumbtable_scroll_to_position(), dt_thumbtable_scroll_to_rowid(), dt_thumbtable_set_active_rowid(), dt_view_manager_button_pressed(), dt_view_manager_button_released(), dt_view_manager_mouse_moved(), dt_view_manager_scrolled(), dtgtk_cairo_paint_color(), dtgtk_cairo_paint_eye(), dtgtk_cairo_paint_plus(), eaw_decompose(), eaw_dn_decompose(), encode_tonecurve(), envelope(), eval_grey(), eval_grey(), exp_tonemapping_v2(), extract_color_checker(), f(), f_inv_sqrtf(), fast_exp10f(), fast_expf(), fast_mexp2f(), fastlog(), fastlog2(), fib_latt(), find_closest_corner(), find_nearest_on_curve_t(), find_nearest_on_line_t(), find_temperature_from_raw_coeffs(), fit_curve(), flip(), gamma2(), gaussian(), gaussian_sampler(), get_contrast(), get_gamma(), get_luminance_from_buffer(), get_lut_contrast(), get_lut_gamma(), get_pixel(), get_pixel_region(), get_point_scale(), get_points(), get_slider_line_offset(), get_theta(), get_tint_from_tinted_xy(), get_xyz_sample_from_image(), green_equilibration_favg(), green_equilibration_lavg(), gui_draw_sym(), gui_post_expose(), gui_post_expose(), handle_motion(), homography(), igamma2(), illuminant_CCT_to_RGB(), illuminant_color_draw(), illuminant_to_xy(), illuminant_xy_to_RGB(), illuminant_xy_to_XYZ(), image_lab_to_xyz(), image_to_grid(), 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_presets(), inter_hi(), inter_low(), interpolate_set(), interpolate_val(), interpolate_val_V2(), interpolate_val_V2_periodic(), isaligned(), kernel(), kth_smallest(), lab_f(), lab_f(), lab_f_inv(), lab_f_inv(), ldexpk(), legacy_params(), lerp_lookup_unbounded(), limf(), lin_interpolate(), linear_saturation(), linearize_16bit(), linearize_8bit(), ll_angle(), Log2(), Log2Thres(), log_gamma_lanczos(), log_gamma_windschitl(), log_tonemapping(), logit(), lookup(), lookup_gamut(), lookup_unbounded(), main(), map_mouse_to_0_1(), mat3mul(), mat3mulv(), mat3SSEmul(), mat4mulv(), mitchell(), modify_roi_in(), modify_roi_in(), modify_roi_out(), modify_roi_out(), monotone_hermite_set(), mouse_in_actionarea(), mouse_in_imagearea(), mouse_moved(), mouse_moved(), mouse_moved(), mouse_moved(), mouse_moved(), mouse_moved(), mutate(), nmsfit(), interpol::spline_base< T >::operator()(), paint_chroma_slider(), parse_cht(), planckian_normal(), polar_decomposition(), precision(), process(), process(), process(), process(), process(), process_cl(), process_filmic(), process_fusion(), process_vng_cl(), rcd_ppg_border(), reduce_region_radius(), refine(), region2rect(), region_grow(), rol32(), rol32(), rotate_x(), rotate_xy(), rotate_y(), round5(), roundToNextPowerOfTwo(), rt_compute_roi_in(), rt_masks_form_is_in_roi(), scrolled(), scrolled(), show_pango_text(), sign(), soft_clip(), solve_hermitian(), interpol::spline_base< T >::spline_base(), SQR(), SQR(), swap(), test_clamp_simd(), test_filmic_desaturate_v1(), testimg_gen_grey_max_dr(), testimg_gen_grey_max_dr_neg(), testimg_gen_grey_space(), testimg_gen_grey_with_rgb_clipping(), testimg_gen_rgb_space(), testimg_gen_single_color_space(), testimg_gen_three_color_space(), testimg_print_by_pixel(), testimg_print_chan(), thinplate_kernel(), to_lin(), to_lin(), to_log(), to_log(), transform(), transform(), triangular_ascent_fast(), triangular_ascent_safe(), update_approx_cct(), update_corner(), update_xy_color(), vng_interpolate(), WB_coeffs_to_illuminant_xy(), window_max(), window_min(), write_image(), write_image(), write_image(), write_image(), write_image(), write_image(), xdiv2f(), xdivf(), xlog(), xmul2f(), xtrans_fdc_interpolate(), xtrans_markesteijn_interpolate(), and xy_to_CCT().