[FFmpeg-devel] [PATCH] lsws/swscale.h: introduce sws_get_gaussian_vec
Stefano Sabatini
stefasab at gmail.com
Thu Aug 31 18:06:06 EEST 2023
On date Saturday 2023-08-26 17:15:36 +0200, Anton Khirnov wrote:
> Quoting Stefano Sabatini (2023-08-26 14:23:28)
> > Use in place of sws_getGaussianVec.
> >
> > The new function enable better log handling, and provide better naming
> > for the variance variable, now named standard_deviation to reflect the
> > meaning of the parameter.
>
> Logging to NULL does not seem like an improvement to me.
Adding the log_ctx.
> Renaming a function parameter does not require an API break.
The main point was improving the naming of the variable, but while at
it I'm also adding the logging context and providing a return code to
specify an error failure, and moving to snake_case convention which is
the one used by the new API additions.
More information about the ffmpeg-devel
mailing list