[FFmpeg-devel] [PATCH v2 00/13] YUVJ removal

Michael Niedermayer michael at niedermayer.cc
Sun Oct 22 02:20:34 EEST 2023


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 at 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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231022/bc624f6e/attachment.sig>


More information about the ffmpeg-devel mailing list