![]() |
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 finalscale.c:Go to the source code of this file.
Data Structures | |
| struct | dt_iop_finalscale_params_t |
| struct | dt_iop_finalscale_gui_data_t |
Typedefs | |
| typedef struct dt_iop_finalscale_params_t | dt_iop_finalscale_params_t |
| typedef dt_iop_finalscale_params_t | dt_iop_finalscale_data_t |
| typedef struct dt_iop_finalscale_gui_data_t | dt_iop_finalscale_gui_data_t |
Variables | |
| dt_iop_finalscale_gui_data_t | dummy |
Definition at line 49 of file finalscale.c.
| typedef struct dt_iop_finalscale_gui_data_t dt_iop_finalscale_gui_data_t |
| typedef struct dt_iop_finalscale_params_t dt_iop_finalscale_params_t |
| void cleanup | ( | dt_iop_module_t * | self | ) |
Definition at line 191 of file finalscale.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 175 of file finalscale.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 156 of file finalscale.c.
References dt_dev_pixelpipe_t::dev, dt_conf_get_int(), DT_DEV_PIXELPIPE_EXPORT, DT_DEV_PIXELPIPE_THUMBNAIL, dt_dev_pixelpipe_iop_t::enabled, dt_develop_t::natural_scale, dt_develop_t::roi, dt_develop_t::scaling, 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 66 of file finalscale.c.
References IOP_CS_RGB.
| int default_group | ( | ) |
Definition at line 61 of file finalscale.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 107 of file finalscale.c.
References dt_interpolation_new(), dt_interpolation_resample_roi_1c(), DT_INTERPOLATION_USERPREF_WARP, and out.
| int flags | ( | ) |
Definition at line 56 of file finalscale.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 202 of file finalscale.c.
References IOP_GUI_ALLOC, TRUE, and dt_iop_module_t::widget.
| void init | ( | dt_iop_module_t * | self | ) |
Definition at line 181 of file finalscale.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 168 of file finalscale.c.
References dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::data_size, dt_calloc_align(), DT_DEV_PIXELPIPE_EXPORT, dt_dev_pixelpipe_iop_t::enabled, and dt_dev_pixelpipe_t::type.
| 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 finalscale.c.
References dt_conf_get_int(), 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 finalscale.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 115 of file finalscale.c.
References dt_iop_clip_and_zoom_roi(), ovoid, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, dt_iop_roi_t::width, dt_iop_roi_t::x, 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 | ||
| ) |
Definition at line 131 of file finalscale.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, TRUE, dt_iop_roi_t::x, and dt_iop_roi_t::y.
Definition at line 200 of file finalscale.c.