On Mon, Oct 23, 2023 at 05:56:48PM -0700, Vittorio Giovara wrote: > On Sat, Oct 21, 2023 at 4:20 PM Michael Niedermayer > wrote: > > > On Fri, Oct 20, 2023 at 07:13:00PM -0400, Ronald S. Bultje wrote: > > > Hi, > > > > > > On Fri, Oct 20, 2023 at 12:14 PM Vittorio Giovara < > > > vittorio.giovara@gmail.com> wrote: > > > > > > > tbh while it's great that this functionality exists *somewhere* in > > ffmpeg, > > > > this is really something that should belong to the scaler filter > > (whichever > > > > implementation) > > > > > > > > > > I agree. The reason this was done separately was to be able to have it at > > > all. I considered doing it in sws and realized I probably wouldn't finish > > > it. This was a path of less resistance. > > > > sws supports cascaded_context, with that a sws can just spawn multiple > > sws to implement a path. > > so if a sws can do just colorspace1->colorspace2 and one can scale > > colorspace2 you can quite easily make it support > > colorspace1 scaling into colorspace2 for example > > > > so anything should be quite add-able into sws that you have an > > implementation for > > > > Nothing is quite easily add-able to sws, If you have any difficulty with sws, please ask me, iam here to help > or developers would have done so > instead of writing 4 different scaling libraries People create new libraries, new platforms and new applications all the time for a wide range of reasons other that "Nothing is quite easily add-able" thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Everything should be made as simple as possible, but not simpler. -- Albert Einstein