|
LensSerious 0.1
Lens-correction mathematics as data, not as a library of callbacks
|
A modifier: the lens resolved at one shooting configuration. More...
#include <lensserious.h>
Collaboration diagram for ls_modifier_t:Data Fields | |
| float | norm_scale |
| float | norm_unscale |
| float | aspect_ratio_correction |
| float | center_x |
| float | center_y |
| float | width |
| float | height |
| int | enabled |
| int | reverse |
| int | geometry_unsupported |
| float | scale |
| int | geom_from |
| int | geom_to |
| float | geom_focal |
| ls_calib_dist_t | dist |
| ls_calib_tca_t | tca |
| ls_calib_vig_t | vig |
| int | knot_axes |
| int | knot_n |
| int | knot_vn |
| float | knot_r [3][16] |
| float | knot_c [3][16] |
| float | knot_vr [16] |
| float | knot_v [16] |
A modifier: the lens resolved at one shooting configuration.
Everything here is a plain value: build it once per commit, hand copies to threads, embed the resolved terms in a kernel's argument block. Nothing is owned, nothing is freed, nothing is locked.
Definition at line 190 of file lensserious.h.
| float ls_modifier_t::aspect_ratio_correction |
Definition at line 196 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), ls_modifier_init_knots(), and ls_modifier_set_projection().
| float ls_modifier_t::center_x |
Definition at line 197 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), and ls_modifier_init_knots().
| float ls_modifier_t::center_y |
Definition at line 197 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), and ls_modifier_init_knots().
| ls_calib_dist_t ls_modifier_t::dist |
Definition at line 210 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), and ls_modifier_init_knots().
| int ls_modifier_t::enabled |
Definition at line 200 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_apply_vignetting(), ls_modifier_autoscale(), ls_modifier_init(), ls_modifier_init_knots(), and ls_modifier_set_projection().
| float ls_modifier_t::geom_focal |
Definition at line 209 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), ls_modifier_init_knots(), and ls_modifier_set_projection().
| int ls_modifier_t::geom_from |
Definition at line 208 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), ls_modifier_init_knots(), and ls_modifier_set_projection().
| int ls_modifier_t::geom_to |
Definition at line 208 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), ls_modifier_init_knots(), and ls_modifier_set_projection().
| int ls_modifier_t::geometry_unsupported |
Definition at line 205 of file lensserious.h.
Referenced by ls_modifier_init(), and ls_modifier_set_projection().
| float ls_modifier_t::height |
Definition at line 198 of file lensserious.h.
Referenced by ls_modifier_autoscale(), ls_modifier_init(), and ls_modifier_init_knots().
| int ls_modifier_t::knot_axes |
Which axes the table serves, LS_ENABLE_* bits. See ls_eval_t::knot_axes.
Definition at line 223 of file lensserious.h.
Referenced by ls_eval_from_modifier(), and ls_modifier_init_knots().
| float ls_modifier_t::knot_c[3][16] |
Definition at line 226 of file lensserious.h.
Referenced by ls_eval_from_modifier(), and ls_modifier_init_knots().
| int ls_modifier_t::knot_n |
Definition at line 224 of file lensserious.h.
Referenced by ls_eval_from_modifier(), and ls_modifier_init_knots().
| float ls_modifier_t::knot_r[3][16] |
Definition at line 225 of file lensserious.h.
Referenced by ls_eval_from_modifier(), and ls_modifier_init_knots().
| float ls_modifier_t::knot_v[16] |
Definition at line 228 of file lensserious.h.
Referenced by ls_eval_from_modifier(), and ls_modifier_init_knots().
| int ls_modifier_t::knot_vn |
Definition at line 224 of file lensserious.h.
Referenced by ls_eval_from_modifier(), and ls_modifier_init_knots().
| float ls_modifier_t::knot_vr[16] |
Definition at line 227 of file lensserious.h.
Referenced by ls_eval_from_modifier(), and ls_modifier_init_knots().
| float ls_modifier_t::norm_scale |
Definition at line 195 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_autoscale(), ls_modifier_init(), and ls_modifier_init_knots().
| float ls_modifier_t::norm_unscale |
Definition at line 195 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), and ls_modifier_init_knots().
| int ls_modifier_t::reverse |
Definition at line 201 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_autoscale(), ls_modifier_init(), and ls_modifier_init_knots().
| float ls_modifier_t::scale |
Definition at line 207 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), and ls_modifier_init_knots().
| ls_calib_tca_t ls_modifier_t::tca |
Definition at line 211 of file lensserious.h.
Referenced by ls_eval_from_modifier(), and ls_modifier_init().
| ls_calib_vig_t ls_modifier_t::vig |
Definition at line 212 of file lensserious.h.
Referenced by ls_eval_from_modifier(), ls_modifier_init(), and ls_modifier_init_knots().
| float ls_modifier_t::width |
Definition at line 198 of file lensserious.h.
Referenced by ls_modifier_autoscale(), ls_modifier_init(), and ls_modifier_init_knots().