[FFmpeg-devel] [RFC]] swscale modernization proposal

Andrew Sayers ffmpeg-devel at pileofstuff.org
Sun Jun 23 21:40:04 EEST 2024


On Sun, Jun 23, 2024 at 02:57:31PM -0300, James Almer wrote:
> On 6/22/2024 7:19 PM, Vittorio Giovara wrote:
> > Needless to say I support the plan of renaming the library so that it can
> > be inline with the other libraries names, and the use of a separate header
> > since downstream applications will need to update a lot to use the new
> > library (or the new apis in the existing library) and/or we could provide a
> > thin conversion layer when the new lib is finalized.
> 
> I don't quite agree with renaming it. As Michael already pointed out, the av
> prefix wouldn't fit a scaling library nor a resampling one, as they only
> handle one or the other.
> There's also the precedent of avresample, which was ultimately dropped in
> favor of swresample, so trying to replace swscale with a new avscale library
> will be both confusing and going against what was already established.

It wouldn't confuse users, because the meaning isn't documented.

Can you summarise what information "av" vs. "sw" prefixes conveys to API users?
Preferably in the form of a patch to @mainpage section of libavutil/avutil.h :)


More information about the ffmpeg-devel mailing list