LensSerious 0.1
Lens-correction mathematics as data, not as a library of callbacks
Loading...
Searching...
No Matches
ls_modifier_t Struct Reference

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]
 

Detailed Description

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.

Field Documentation

◆ aspect_ratio_correction

float ls_modifier_t::aspect_ratio_correction

◆ center_x

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().

◆ center_y

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().

◆ dist

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().

◆ enabled

◆ geom_focal

float ls_modifier_t::geom_focal

◆ geom_from

int ls_modifier_t::geom_from

◆ geom_to

int ls_modifier_t::geom_to

◆ geometry_unsupported

int ls_modifier_t::geometry_unsupported

Definition at line 205 of file lensserious.h.

Referenced by ls_modifier_init(), and ls_modifier_set_projection().

◆ height

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().

◆ knot_axes

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().

◆ knot_c

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().

◆ knot_n

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().

◆ knot_r

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().

◆ knot_v

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().

◆ knot_vn

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().

◆ knot_vr

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().

◆ norm_scale

float ls_modifier_t::norm_scale

◆ norm_unscale

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().

◆ reverse

int ls_modifier_t::reverse

◆ scale

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().

◆ tca

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().

◆ vig

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().

◆ width

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().


The documentation for this struct was generated from the following file: