![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"#include "common/colorspaces.h"#include "common/colorspaces_inline_conversions.h"#include "common/matrices.h"#include "common/file_location.h"#include "common/imagebuf.h"#include "common/iop_profile.h"#include "common/opencl.h"#include "control/conf.h"#include "control/control.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "gui/gtk.h"#include "iop/iop_api.h"#include <assert.h>#include <gdk/gdkkeysyms.h>#include <math.h>#include <stdlib.h>#include <string.h>
Include dependency graph for colorout.c:Data Structures | |
| struct | dt_iop_colorout_data_t |
| struct | dt_iop_colorout_global_data_t |
| struct | dt_iop_colorout_params_t |
| struct | dt_iop_colorout_gui_data_t |
Macros | |
| #define | DT_IOP_COLOR_ICC_LEN 512 |
| #define | LUT_SAMPLES 0x10000 |
| #define | DT_IOP_COLOR_ICC_LEN_V4 100 |
Typedefs | |
| typedef struct dt_iop_colorout_data_t | dt_iop_colorout_data_t |
| typedef struct dt_iop_colorout_global_data_t | dt_iop_colorout_global_data_t |
| typedef struct dt_iop_colorout_params_t | dt_iop_colorout_params_t |
| typedef struct dt_iop_colorout_gui_data_t | dt_iop_colorout_gui_data_t |
Variables | |
| dt_iop_colorout_gui_data_t | dummy |
| #define DT_IOP_COLOR_ICC_LEN 512 |
| #define DT_IOP_COLOR_ICC_LEN_V4 100 |
| #define LUT_SAMPLES 0x10000 |
| typedef struct dt_iop_colorout_data_t dt_iop_colorout_data_t |
| typedef struct dt_iop_colorout_global_data_t dt_iop_colorout_global_data_t |
| typedef struct dt_iop_colorout_gui_data_t dt_iop_colorout_gui_data_t |
| typedef struct dt_iop_colorout_params_t dt_iop_colorout_params_t |
|
static |
References size.
Referenced by commit_params().
| void cleanup_global | ( | dt_iop_module_so_t * | module | ) |
| void cleanup_pipe | ( | struct dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References dt_dev_pixelpipe_iop_t::data, and dt_iop_colorout_data_t::xform.
| void commit_params | ( | struct dt_iop_module_t * | self, |
| dt_iop_params_t * | p1, | ||
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References _make_clipping_profile(), dt_iop_colorout_data_t::cmatrix, darktable_t::color_profiles, darktable, dt_dev_pixelpipe_iop_t::data, dt_iop_module_t::dev, dt_colorspaces_t::display_filename, dt_colorspaces_t::display_intent, dt_colorspaces_t::display_type, DT_COLORSPACE_ADOBERGB, DT_COLORSPACE_DISPLAY, DT_COLORSPACE_LAB, DT_COLORSPACE_NONE, DT_COLORSPACE_SRGB, DT_COLORSPACE_XYZ, dt_colorspaces_cleanup_profile(), dt_colorspaces_get_embedded_profile(), dt_colorspaces_get_matrix_from_output_profile(), dt_colorspaces_get_name(), dt_colorspaces_get_profile(), dt_conf_get_bool(), dt_control_log(), DT_DEV_PIXELPIPE_EXPORT, DT_DEV_PIXELPIPE_FULL, DT_DEV_PIXELPIPE_THUMBNAIL, DT_INTENT_LAST, DT_INTENT_PERCEPTUAL, dt_iop_estimate_exp(), dt_iop_set_cache_bypass(), dt_ioppr_get_pipe_input_profile_info(), dt_ioppr_set_pipe_output_profile_info(), DT_PROFILE_DIRECTION_ANY, DT_PROFILE_DIRECTION_DISPLAY, DT_PROFILE_DIRECTION_OUT, DT_PROFILE_GAMUTCHECK, DT_PROFILE_NORMAL, dt_iop_order_iccprofile_info_t::filename, dt_dev_pixelpipe_t::icc_filename, dt_dev_pixelpipe_t::icc_intent, dt_dev_pixelpipe_t::icc_type, dt_image_t::id, dt_dev_pixelpipe_t::image, dt_iop_order_iccprofile_info_t::intent, Lab(), lerp_lut(), dt_iop_colorout_data_t::lut, LUT_SAMPLES, dt_colorspaces_t::mode, dt_iop_colorout_data_t::mode, dt_colorspaces_color_profile_t::name, output_format(), dt_dev_pixelpipe_iop_t::pipe, dt_dev_pixelpipe_iop_t::process_cl_ready, dt_colorspaces_color_profile_t::profile, dt_colorspaces_t::softproof_filename, dt_colorspaces_t::softproof_type, dt_iop_order_iccprofile_info_t::type, dt_dev_pixelpipe_t::type, dt_iop_colorout_data_t::type, TYPE_XYZA_FLT, dt_iop_colorout_data_t::unbounded_coeffs, dt_iop_colorout_data_t::xform, and dt_colorspaces_t::xprofile_lock.
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References IOP_CS_LAB.
| int default_group | ( | ) |
References IOP_GROUP_TECHNICAL.
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
| int flags | ( | ) |
References IOP_FLAGS_ALLOW_TILING, IOP_FLAGS_NO_HISTORY_STACK, and IOP_FLAGS_ONE_INSTANCE.
| void gui_init | ( | dt_iop_module_t * | self | ) |
References IOP_GUI_ALLOC, TRUE, and dt_iop_module_t::widget.
| void init | ( | dt_iop_module_t * | module | ) |
References dt_iop_default_init().
| void init_global | ( | dt_iop_module_so_t * | module | ) |
References dt_opencl_create_kernel(), and dt_iop_colorout_global_data_t::kernel_colorout.
| void init_pipe | ( | struct dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
| int input_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References IOP_CS_LAB.
| int legacy_params | ( | dt_iop_module_t * | self, |
| const void *const | old_params, | ||
| const int | old_version, | ||
| void * | new_params, | ||
| const int | new_version | ||
| ) |
|
static |
References CLAMPS, f(), and LUT_SAMPLES.
Referenced by commit_params(), and process_fastpath_apply_tonecurves().
| const char * name | ( | ) |
| int output_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
| void process | ( | struct dt_iop_module_t * | self, |
| dt_dev_pixelpipe_iop_t * | piece, | ||
| const void *const | ivoid, | ||
| void *const | ovoid, | ||
| const dt_iop_roi_t *const | roi_in, | ||
| const dt_iop_roi_t *const | roi_out | ||
| ) |
References dt_iop_colorout_data_t::cmatrix, dt_dev_pixelpipe_iop_t::colors, copy_pixel(), dt_dev_pixelpipe_iop_t::data, dt_apply_transposed_color_matrix(), DT_COLORSPACE_LAB, DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_iop_alpha_copy(), dt_iop_have_required_input_format(), dt_iop_image_copy_by_size(), dt_Lab_to_XYZ(), DT_PROFILE_GAMUTCHECK, dt_iop_roi_t::height, dt_iop_colorout_data_t::mode, dt_dev_pixelpipe_iop_t::pipe, process_fastpath_apply_tonecurves(), transpose_3xSSE(), dt_iop_colorout_data_t::type, dt_iop_roi_t::width, and dt_iop_colorout_data_t::xform.
|
static |
Referenced by dt_thumbtable_new(), and g_realpath().