Re: [FFmpeg-devel] [PATCH v6] Add lensfun filter

2018-07-13 Thread Moritz Barsnick
Hi Stephen, On Fri, Jul 13, 2018 at 15:00:24 +0900, Stephen Seo wrote: One more, I missed this previously: > +a = sqrt((float)index / LANCZOS_RESOLUTION); You're nicely sticking strictly to float (vs. double) in your code. So this one should be sqrtf(), not sqrt(). Cheers,

[FFmpeg-devel] [PATCH v6] Add lensfun filter

2018-07-13 Thread Stephen Seo
Lensfun is a library that applies lens correction to an image using a database of cameras/lenses (you provide the camera and lens models, and it uses the corresponding database entry's parameters to apply lens correction). It is licensed under LGPL3. The lensfun filter utilizes the lensfun