|
LensSerious 0.1
Lens-correction mathematics as data, not as a library of callbacks
|
#include "lensserious_eval.h"
Include dependency graph for lensserious.cl:Go to the source code of this file.
Functions | |
| kernel void | ls_subpixel_geometry (global float *res, const int width, const int height, const float xu, const float yu, const ls_eval_t p) |
| kernel void | ls_vignette_map (global float *res, const int width, const int height, const float xu, const float yu, const ls_eval_t p) |
| kernel void ls_subpixel_geometry | ( | global float * | res, |
| const int | width, | ||
| const int | height, | ||
| const float | xu, | ||
| const float | yu, | ||
| const ls_eval_t | p ) |
Reference entry point: fill the 6-float-per-pixel map, byte-compatible with lfModifier::ApplySubpixelGeometryDistortion()'s buffer, so a host can compare the two element-wise. Production paths evaluate in place instead; see the note above.
Definition at line 29 of file lensserious.cl.
References ls_eval_map().
| kernel void ls_vignette_map | ( | global float * | res, |
| const int | width, | ||
| const int | height, | ||
| const float | xu, | ||
| const float | yu, | ||
| const ls_eval_t | p ) |
Reference entry point for vignetting: the multiplier per pixel, one float each.
Definition at line 46 of file lensserious.cl.
References ls_eval_vignette_factor().