|
LensSerious 0.1
Lens-correction mathematics as data, not as a library of callbacks
|
#include <lensserious_db.h>
Collaboration diagram for ls_camera_t:Data Fields | |
| long long | id |
| float | crop_factor |
| long long | mount_id |
A camera, as far as a correction is concerned.
Definition at line 106 of file lensserious_db.h.
| float ls_camera_t::crop_factor |
Definition at line 113 of file lensserious_db.h.
Referenced by ls_db_camera_by_id(), and ls_db_find_camera().
| long long ls_camera_t::id |
The camera's database id. Meaningless against any other database and not stable across rebuilds – but it saves a caller re-deriving it, which cannot be done by comparing names: this matches "NIKON D5300" to a row whose model column reads "D5300", so the string that found the camera is not the string it is stored under.
Definition at line 112 of file lensserious_db.h.
Referenced by ls_db_camera_by_id(), and ls_db_find_camera().
| long long ls_camera_t::mount_id |
The camera's mount, as an id into the database it was read from. Meaningless against any other database, and not stable across rebuilds. Pass it to ls_db_lens_fits_mount().
Definition at line 116 of file lensserious_db.h.
Referenced by ls_db_camera_by_id(), and ls_db_find_camera().