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 thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The educated differ from the uneducated as much as the living from the dead. -- Aristotle