![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"#include "common/interpolation.h"#include "common/math.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/tiling.h"#include "gui/gtk.h"#include "iop/iop_api.h"#include <stdlib.h>
Include dependency graph for rotatepixels.c:Data Structures | |
| struct | dt_iop_rotatepixels_gui_data_t |
| struct | dt_iop_rotatepixels_params_t |
| struct | dt_iop_rotatepixels_data_t |
Typedefs | |
| typedef struct dt_iop_rotatepixels_gui_data_t | dt_iop_rotatepixels_gui_data_t |
| typedef struct dt_iop_rotatepixels_params_t | dt_iop_rotatepixels_params_t |
| typedef struct dt_iop_rotatepixels_data_t | dt_iop_rotatepixels_data_t |
Functions | |
| static void | get_corner (const float *aabb, const int i, float *p) |
| static void | adjust_aabb (const float *p, float *aabb) |
| const char * | name () |
| int | flags () |
| int | default_group () |
| int | operation_tags () |
| int | default_colorspace (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece) |
| const char ** | description (struct dt_iop_module_t *self) |
| static void | transform (const dt_dev_pixelpipe_iop_t *const piece, const float scale, const float *const x, float *o) |
| static void | backtransform (const dt_dev_pixelpipe_iop_t *const piece, const float scale, const float *const x, float *o) |
| int | distort_transform (dt_iop_module_t *self, const dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece, float *const restrict points, size_t points_count) |
| int | distort_backtransform (dt_iop_module_t *self, const dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece, float *const restrict points, size_t points_count) |
| 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) |
| void | modify_roi_out (dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, dt_iop_roi_t *roi_out, const dt_iop_roi_t *const roi_in) |
| void | modify_roi_in (dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, const dt_iop_roi_t *const roi_out, dt_iop_roi_t *roi_in) |
| 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) |
| void | commit_params (dt_iop_module_t *self, dt_iop_params_t *p1, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
| void | init_pipe (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
| void | cleanup_pipe (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
| void | reload_defaults (dt_iop_module_t *self) |
| void | gui_update (dt_iop_module_t *self) |
| Refresh GUI controls from current params and configuration. | |
| void | gui_init (dt_iop_module_t *self) |
Variables | |
| dt_iop_rotatepixels_gui_data_t | dummy |
| typedef struct dt_iop_rotatepixels_data_t dt_iop_rotatepixels_data_t |
| typedef struct dt_iop_rotatepixels_gui_data_t dt_iop_rotatepixels_gui_data_t |
| typedef struct dt_iop_rotatepixels_params_t dt_iop_rotatepixels_params_t |
|
static |
References p.
Referenced by modify_roi_in().
|
static |
References d, dt_dev_pixelpipe_iop_t::data, mul_mat_vec_2(), and x.
Referenced by distort_backtransform(), modify_roi_in(), and process().
| 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 d, dt_dev_pixelpipe_iop_t::data, dt_dev_pixelpipe_iop_t::enabled, M_PI, and p.
| 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.
| const char ** description | ( | struct dt_iop_module_t * | self | ) |
References dt_iop_set_description().
| int distort_backtransform | ( | dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| float *const restrict | points, | ||
| size_t | points_count | ||
| ) |
References backtransform(), dt_dev_pixelpipe_iop_t::buf_in, i, and dt_iop_roi_t::scale.
| 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 | ||
| ) |
References dt_iop_roi_t::height, out, void(), and dt_iop_roi_t::width.
| int distort_transform | ( | dt_iop_module_t * | self, |
| const dt_dev_pixelpipe_t * | pipe, | ||
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| float *const restrict | points, | ||
| size_t | points_count | ||
| ) |
References dt_dev_pixelpipe_iop_t::buf_in, i, dt_iop_roi_t::scale, and transform().
| int flags | ( | ) |
|
static |
Referenced by modify_roi_in().
| void gui_init | ( | dt_iop_module_t * | self | ) |
References dt_ui_label_new(), IOP_GUI_ALLOC, TRUE, and dt_iop_module_t::widget.
| void gui_update | ( | dt_iop_module_t * | self | ) |
| 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().
| void modify_roi_in | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_iop_t * | piece, | ||
| const dt_iop_roi_t *const | roi_out, | ||
| dt_iop_roi_t * | roi_in | ||
| ) |
| void modify_roi_out | ( | dt_iop_module_t * | self, |
| dt_dev_pixelpipe_iop_t * | piece, | ||
| dt_iop_roi_t * | roi_out, | ||
| const dt_iop_roi_t *const | roi_in | ||
| ) |
| const char * name | ( | ) |
| int operation_tags | ( | ) |
References IOP_TAG_DISTORT.
| 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 backtransform(), dt_iop_buffer_dsc_t::channels, dt_dev_pixelpipe_iop_t::dsc_in, dt_interpolation_compute_pixel4c(), dt_interpolation_new(), DT_INTERPOLATION_USERPREF, dt_iop_roi_t::height, i, out, dt_dev_pixelpipe_iop_t::roi_in, dt_dev_pixelpipe_iop_t::roi_out, dt_iop_roi_t::scale, void(), dt_iop_roi_t::width, dt_iop_roi_t::x, and dt_iop_roi_t::y.
| void reload_defaults | ( | dt_iop_module_t * | self | ) |
|
static |
References d, dt_dev_pixelpipe_iop_t::data, mul_mat_vec_2(), and x.
Referenced by distort_transform().