![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"#include "common/image.h"#include "common/imagebuf.h"#include "common/mipmap_cache.h"#include "common/opencl.h"#include "control/control.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/pixelpipe.h"#include "develop/tiling.h"#include "iop/iop_api.h"#include <glib/gi18n.h>#include <gtk/gtktypes.h>#include <stdint.h>#include <stdlib.h>#include <string.h>
Include dependency graph for rawoverexposed.c:Data Structures | |
| struct | dt_iop_rawoverexposed_t |
| struct | dt_iop_rawoverexposed_data_t |
| struct | dt_iop_rawoverexposed_global_data_t |
Typedefs | |
| typedef struct dt_iop_rawoverexposed_t | dt_iop_rawoverexposed_t |
| typedef struct dt_iop_rawoverexposed_data_t | dt_iop_rawoverexposed_data_t |
| typedef struct dt_iop_rawoverexposed_global_data_t | dt_iop_rawoverexposed_global_data_t |
| typedef struct dt_iop_rawoverexposed_data_t dt_iop_rawoverexposed_data_t |
| typedef struct dt_iop_rawoverexposed_t dt_iop_rawoverexposed_t |
|
static |
| void cleanup_global | ( | dt_iop_module_so_t * | module | ) |
| void cleanup_pipe | ( | 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_free_align.
| void commit_params | ( | dt_iop_module_t * | self, |
| dt_iop_params_t * | p1, | ||
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References dt_iop_buffer_dsc_t::datatype, dt_iop_module_t::dev, dt_image_t::dsc, DT_DEV_PIXELPIPE_FULL, DT_IMAGE_4BAYER, dt_develop_t::enabled, dt_dev_pixelpipe_iop_t::enabled, dt_iop_buffer_dsc_t::filters, dt_image_t::flags, dt_develop_t::gui_attached, dt_develop_t::image_storage, dt_develop_t::rawoverexposed, dt_dev_pixelpipe_t::type, and TYPE_UINT16.
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References IOP_CS_RGB.
| int default_group | ( | ) |
References IOP_GROUP_TECHNICAL.
| int flags | ( | ) |
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 | ) |
References dt_iop_set_cache_bypass(), and TRUE.
| void init_global | ( | dt_iop_module_so_t * | module | ) |
| void init_pipe | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
References dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::data_size, and dt_calloc_align().
| const char * name | ( | ) |
| __DT_CLONE_TARGETS__ int process | ( | 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 | ||
| ) |
References __OMP_PARALLEL_FOR_SIMD__, dt_mipmap_buffer_t::buf, ch, dt_iop_buffer_dsc_t::channels, dt_develop_t::colorscheme, d, darktable, dt_dev_pixelpipe_iop_t::data, dt_iop_module_t::dev, dt_image_t::dsc, dt_dev_pixelpipe_iop_t::dsc_in, dt_control_log(), dt_dev_distort_backtransform_plus(), DT_DEV_PIXELPIPE_DISPLAY_MASK, DT_DEV_RAWOVEREXPOSED_MODE_FALSECOLOR, DT_DEV_RAWOVEREXPOSED_MODE_MARK_CFA, DT_DEV_RAWOVEREXPOSED_MODE_MARK_SOLID, DT_DEV_TRANSFORM_DIR_BACK_INCL, dt_get_perthread, dt_iop_image_copy_by_size(), DT_IS_ALIGNED, DT_MIPMAP_BLOCKING, dt_mipmap_cache_get, dt_mipmap_cache_release, DT_MIPMAP_FULL, dt_pixelpipe_cache_alloc_perthread_float, dt_pixelpipe_cache_free_align, FC(), FCxtrans(), dt_image_t::filename, dt_iop_buffer_dsc_t::filters, dt_mipmap_buffer_t::height, dt_iop_roi_t::height, i, dt_image_t::id, dt_develop_t::image_storage, dt_iop_module_t::iop_order, IS_NULL_PTR, dt_dev_pixelpipe_t::mask_display, darktable_t::mipmap_cache, dt_develop_t::mode, out, ovoid, dt_develop_t::pipe, process_common_setup(), dt_develop_t::rawoverexposed, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, dt_iop_roi_t::scale, threshold, dt_mipmap_buffer_t::width, dt_iop_roi_t::width, dt_iop_roi_t::x, dt_iop_buffer_dsc_t::xtrans, and dt_iop_roi_t::y.
| 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 | ||
| ) |
References __OMP_PARALLEL_FOR_SIMD__, dt_mipmap_buffer_t::buf, dt_develop_t::colorscheme, d, darktable, dt_dev_pixelpipe_iop_t::data, dt_iop_module_t::dev, dt_dev_pixelpipe_t::devid, dt_image_t::dsc, dt_control_log(), DT_DEBUG_OPENCL, dt_dev_distort_backtransform_plus(), DT_DEV_RAWOVEREXPOSED_MODE_FALSECOLOR, DT_DEV_RAWOVEREXPOSED_MODE_MARK_CFA, DT_DEV_RAWOVEREXPOSED_MODE_MARK_SOLID, DT_DEV_TRANSFORM_DIR_BACK_INCL, DT_MIPMAP_BLOCKING, dt_mipmap_cache_get, dt_mipmap_cache_release, DT_MIPMAP_FULL, dt_opencl_alloc_device_buffer(), 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_buffer_to_device(), dt_pixelpipe_cache_alloc_align_cache, dt_pixelpipe_cache_free_align, dt_print(), error(), FALSE, dt_image_t::filename, dt_iop_buffer_dsc_t::filters, dt_iop_module_t::global_data, height, dt_mipmap_buffer_t::height, dt_iop_roi_t::height, i, dt_image_t::id, dt_develop_t::image_storage, dt_iop_module_t::iop_order, IS_NULL_PTR, kernel(), dt_iop_rawoverexposed_global_data_t::kernel_rawoverexposed_falsecolor, dt_iop_rawoverexposed_global_data_t::kernel_rawoverexposed_mark_cfa, dt_iop_rawoverexposed_global_data_t::kernel_rawoverexposed_mark_solid, darktable_t::mipmap_cache, dt_develop_t::mode, process_common_setup(), dt_develop_t::rawoverexposed, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, ROUNDUPDHT, ROUNDUPDWD, dt_iop_roi_t::scale, TRUE, dt_dev_pixelpipe_t::type, width, dt_mipmap_buffer_t::width, dt_iop_roi_t::width, dt_iop_roi_t::x, dt_iop_buffer_dsc_t::xtrans, and dt_iop_roi_t::y.
|
static |
References ch, d, dt_dev_pixelpipe_iop_t::data, dt_iop_module_t::dev, dt_dev_pixelpipe_iop_t::dsc_in, DT_IMAGE_4BAYER, dt_image_t::flags, dt_develop_t::image_storage, k, dt_iop_buffer_dsc_t::raw_black_level, dt_iop_buffer_dsc_t::raw_white_point, dt_develop_t::rawoverexposed, dt_iop_buffer_dsc_t::rawprepare, threshold, and dt_develop_t::threshold.
Referenced by process(), process(), and process_cl().
| 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 | ||
| ) |
References dt_mipmap_buffer_t::buf, darktable, dt_iop_module_t::dev, DT_MIPMAP_BLOCKING, dt_mipmap_cache_get, dt_mipmap_cache_release, DT_MIPMAP_FULL, dt_mipmap_buffer_t::height, dt_image_t::id, dt_develop_t::image_storage, darktable_t::mipmap_cache, and dt_mipmap_buffer_t::width.