![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"#include "common/interpolation.h"#include "common/opencl.h"#include "develop/imageop.h"#include "develop/imageop_math.h"#include "develop/tiling.h"#include "iop/iop_api.h"#include "gui/gtk.h"
Include dependency graph for initialscale.c:Go to the source code of this file.
Data Structures | |
| struct | dt_iop_initialscale_params_t |
| struct | dt_iop_initialscale_gui_data_t |
Typedefs | |
| typedef struct dt_iop_initialscale_params_t | dt_iop_initialscale_params_t |
| typedef dt_iop_initialscale_params_t | dt_iop_initialscale_data_t |
| typedef struct dt_iop_initialscale_gui_data_t | dt_iop_initialscale_gui_data_t |
Variables | |
| dt_iop_initialscale_gui_data_t | dummy |
Definition at line 49 of file initialscale.c.
| typedef struct dt_iop_initialscale_gui_data_t dt_iop_initialscale_gui_data_t |
| typedef struct dt_iop_initialscale_params_t dt_iop_initialscale_params_t |
| void cleanup | ( | dt_iop_module_t * | self | ) |
Definition at line 157 of file initialscale.c.
References dt_iop_module_t::default_params, dt_free, and dt_iop_module_t::params.
| void cleanup_pipe | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Definition at line 141 of file initialscale.c.
References dt_dev_pixelpipe_iop_t::data, and dt_free_align.
| void commit_params | ( | dt_iop_module_t * | self, |
| dt_iop_params_t * | params, | ||
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Definition at line 130 of file initialscale.c.
| int default_colorspace | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Definition at line 66 of file initialscale.c.
References IOP_CS_RGB.
| int default_group | ( | ) |
Definition at line 61 of file initialscale.c.
References IOP_GROUP_TECHNICAL.
| void distort_mask | ( | struct dt_iop_module_t * | self, |
| const struct dt_dev_pixelpipe_t * | pipe, | ||
| struct dt_dev_pixelpipe_iop_t * | piece, | ||
| const float *const | in, | ||
| float *const | out, | ||
| const dt_iop_roi_t *const | roi_in, | ||
| const dt_iop_roi_t *const | roi_out | ||
| ) |
Definition at line 86 of file initialscale.c.
References dt_interpolation_new(), dt_interpolation_resample_roi_1c(), DT_INTERPOLATION_USERPREF_WARP, out, and void().
| int flags | ( | ) |
Definition at line 56 of file initialscale.c.
References IOP_FLAGS_ALLOW_TILING, IOP_FLAGS_NO_HISTORY_STACK, IOP_FLAGS_ONE_INSTANCE, and IOP_FLAGS_TILING_FULL_ROI.
| void gui_init | ( | dt_iop_module_t * | self | ) |
Definition at line 168 of file initialscale.c.
References IOP_GUI_ALLOC, TRUE, and dt_iop_module_t::widget.
| void init | ( | dt_iop_module_t * | self | ) |
Definition at line 147 of file initialscale.c.
References dt_iop_module_t::default_enabled, dt_iop_module_t::default_params, dt_iop_module_t::gui_data, dt_iop_module_t::hide_enable_button, dt_iop_module_t::params, and dt_iop_module_t::params_size.
| void init_pipe | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Definition at line 135 of file initialscale.c.
References dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::data_size, and dt_calloc_align().
| void modify_roi_in | ( | dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece, | ||
| const dt_iop_roi_t *const | roi_out, | ||
| dt_iop_roi_t * | roi_in | ||
| ) |
Definition at line 73 of file initialscale.c.
References dt_dev_pixelpipe_iop_t::buf_in, dt_iop_roi_t::height, dt_iop_roi_t::scale, dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
| const char * name | ( | ) |
Definition at line 51 of file initialscale.c.
| 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 | ||
| ) |
Definition at line 121 of file initialscale.c.
References dt_iop_clip_and_zoom_roi(), ovoid, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, 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 96 of file initialscale.c.
References dt_dev_pixelpipe_t::devid, DT_DEBUG_OPENCL, dt_iop_clip_and_zoom_roi_cl(), dt_print(), error(), FALSE, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, dt_iop_roi_t::scale, and TRUE.
Definition at line 166 of file initialscale.c.