![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <stdlib.h>#include <cairo.h>#include "common/opencl.h"#include "common/imagebuf.h"#include "common/iop_profile.h"#include "control/control.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/tiling.h"#include "iop/iop_api.h"
Include dependency graph for overexposed.c:Go to the source code of this file.
Data Structures | |
| struct | dt_iop_overexposed_global_data_t |
| struct | dt_iop_overexposed_t |
Typedefs | |
| typedef enum dt_iop_overexposed_colorscheme_t | dt_iop_overexposed_colorscheme_t |
| typedef struct dt_iop_overexposed_global_data_t | dt_iop_overexposed_global_data_t |
| typedef struct dt_iop_overexposed_t | dt_iop_overexposed_t |
Enumerations | |
| enum | dt_iop_overexposed_colorscheme_t { DT_IOP_OVEREXPOSED_BLACKWHITE = 0 , DT_IOP_OVEREXPOSED_REDBLUE = 1 , DT_IOP_OVEREXPOSED_PURPLEGREEN = 2 } |
Variables | |
| static const float DT_ALIGNED_ARRAY | dt_iop_overexposed_colors [][2][4] |
| typedef struct dt_iop_overexposed_global_data_t dt_iop_overexposed_global_data_t |
| typedef struct dt_iop_overexposed_t dt_iop_overexposed_t |
| Enumerator | |
|---|---|
| DT_IOP_OVEREXPOSED_BLACKWHITE | |
| DT_IOP_OVEREXPOSED_REDBLUE | |
| DT_IOP_OVEREXPOSED_PURPLEGREEN | |
Definition at line 68 of file overexposed.c.
| void cleanup_global | ( | dt_iop_module_so_t * | module | ) |
Definition at line 378 of file overexposed.c.
References dt_iop_module_so_t::data, dt_free, dt_opencl_free_kernel(), and dt_iop_overexposed_global_data_t::kernel_overexposed.
| void cleanup_pipe | ( | struct dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Definition at line 398 of file overexposed.c.
| 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 | ||
| ) |
Definition at line 385 of file overexposed.c.
References dt_iop_module_t::dev, DT_DEV_PIXELPIPE_FULL, dt_develop_t::enabled, dt_dev_pixelpipe_iop_t::enabled, dt_develop_t::gui_attached, dt_develop_t::overexposed, and dt_dev_pixelpipe_t::type.
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Definition at line 114 of file overexposed.c.
References IOP_CS_RGB.
| int default_group | ( | ) |
Definition at line 104 of file overexposed.c.
References IOP_GROUP_TECHNICAL.
| int flags | ( | ) |
Definition at line 109 of file overexposed.c.
References IOP_FLAGS_ALLOW_TILING, IOP_FLAGS_HIDDEN, IOP_FLAGS_NO_HISTORY_STACK, and IOP_FLAGS_ONE_INSTANCE.
| void init | ( | dt_iop_module_t * | module | ) |
Definition at line 402 of file overexposed.c.
References dt_iop_set_cache_bypass(), and TRUE.
| void init_global | ( | dt_iop_module_so_t * | module | ) |
Definition at line 368 of file overexposed.c.
References dt_opencl_create_kernel(), and dt_iop_overexposed_global_data_t::kernel_overexposed.
| void init_pipe | ( | struct dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Definition at line 392 of file overexposed.c.
References dt_dev_pixelpipe_iop_t::data, and dt_dev_pixelpipe_iop_t::data_size.
| int legacy_params | ( | dt_iop_module_t * | self, |
| const void *const | old_params, | ||
| const int | old_version, | ||
| void * | new_params, | ||
| const int | new_version | ||
| ) |
Definition at line 120 of file overexposed.c.
| const char * name | ( | ) |
Definition at line 99 of file overexposed.c.
| __DT_CLONE_TARGETS__ int process | ( | struct dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| const void *const | ivoid, | ||
| void *const | ovoid | ||
| ) |
Definition at line 129 of file overexposed.c.
References __OMP_PARALLEL_FOR__, ch, dt_develop_t::colorscheme, copy_pixel(), dt_iop_module_t::dev, DT_CLIPPING_PREVIEW_ANYRGB, DT_CLIPPING_PREVIEW_GAMUT, DT_CLIPPING_PREVIEW_LUMINANCE, DT_CLIPPING_PREVIEW_SATURATION, DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_iop_overexposed_colors, dt_ioppr_get_pipe_current_profile_info(), for_each_channel, dt_iop_roi_t::height, IS_NULL_PTR, k, dt_develop_t::lower, luminance, dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lutsize, dt_dev_pixelpipe_t::mask_display, dt_iop_order_iccprofile_info_t::matrix_in, dt_develop_t::mode, dt_iop_order_iccprofile_info_t::nonlinearlut, out, dt_develop_t::overexposed, ovoid, dt_dev_pixelpipe_iop_t::roi_out, dt_develop_t::upper, and dt_iop_roi_t::width.
| int process_cl | ( | struct dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| cl_mem | dev_in, | ||
| cl_mem | dev_out | ||
| ) |
Definition at line 301 of file overexposed.c.
References dt_develop_t::colorscheme, dt_iop_module_t::dev, dt_dev_pixelpipe_t::devid, DT_DEBUG_OPENCL, dt_iop_overexposed_colors, dt_ioppr_build_iccprofile_params_cl(), dt_ioppr_get_pipe_current_profile_info(), dt_opencl_enqueue_kernel_2d(), dt_opencl_set_kernel_arg(), dt_print(), error(), FALSE, dt_iop_module_t::global_data, height, dt_iop_roi_t::height, IS_NULL_PTR, dt_iop_overexposed_global_data_t::kernel_overexposed, dt_develop_t::lower, dt_develop_t::mode, dt_develop_t::overexposed, dt_dev_pixelpipe_iop_t::roi_out, ROUNDUPDHT, ROUNDUPDWD, TRUE, dt_develop_t::upper, width, and dt_iop_roi_t::width.
| void tiling_callback | ( | struct dt_iop_module_t * | self, |
| const struct dt_dev_pixelpipe_t * | pipe, | ||
| const struct dt_dev_pixelpipe_iop_t * | piece, | ||
| struct dt_develop_tiling_t * | tiling | ||
| ) |
Definition at line 355 of file overexposed.c.
|
static |
Definition at line 75 of file overexposed.c.
Referenced by process(), and process_cl().