106#ifndef LENSSERIOUS_VENDOR_H
107#define LENSSERIOUS_VENDOR_H
211#define LS_VENDOR_EBADDATA (-1)
249 int w,
int h,
ls_knots_t *knots,
float *autoscale);
What this is, and what it deliberately is not.
struct ls_vendor_finetune_t ls_vendor_finetune_t
Per-axis strength blend, 1.0 = exactly as the maker measured. The vendors' own GUIs expose these as "...
struct ls_vendor_dng_t ls_vendor_dng_t
A DNG's OpcodeList3 corrections, parsed. Fill it with ls_vendor_parse_dng_opcodelist3() — or by hand,...
struct ls_vendor_fuji_t ls_vendor_fuji_t
Fujifilm maker-note tables, verbatim: explicit knot radii shared by the three corrections,...
int ls_vendor_parse_dng_opcodelist3(const uint8_t *blob, size_t len, ls_vendor_dng_t *out)
Parse a DNG OpcodeList3 payload: WarpRectilinear (1) and VignetteRadial (3).
int ls_vendor_axes(const ls_vendor_data_t *d)
Which correction axes this data carries.
ls_vendor_type_t
Which maker's format a ls_vendor_data_t holds. NONE == 0, so a zero-initialised struct safely means "...
int ls_vendor_resolve(const ls_vendor_data_t *d, const ls_vendor_finetune_t *ft, int w, int h, ls_knots_t *knots, float *autoscale)
The conversion: vendor tables in, generic knots out.
struct ls_vendor_data_t ls_vendor_data_t
One image's embedded correction data: the type tag and the matching member. A plain value — embed it ...
struct ls_vendor_sony_t ls_vendor_sony_t
Sony maker-note tables, verbatim: fixed-point int16 over nc evenly spaced radii, which the file leave...
struct ls_vendor_olympus_t ls_vendor_olympus_t
Olympus maker-note polynomials, verbatim. No vignetting: Olympus does not publish one,...
A lens correction the camera maker measured and wrote into the file, as knots.
One image's embedded correction data: the type tag and the matching member. A plain value — embed it ...
ls_vendor_olympus_t olympus
union ls_vendor_data_t::@1 u
A DNG's OpcodeList3 corrections, parsed. Fill it with ls_vendor_parse_dng_opcodelist3() — or by hand,...
Per-axis strength blend, 1.0 = exactly as the maker measured. The vendors' own GUIs expose these as "...
Fujifilm maker-note tables, verbatim: explicit knot radii shared by the three corrections,...
Olympus maker-note polynomials, verbatim. No vignetting: Olympus does not publish one,...
Sony maker-note tables, verbatim: fixed-point int16 over nc evenly spaced radii, which the file leave...