[FFmpeg-devel] Rework color quantization in palette{gen,use}

Ronald S. Bultje rsbultje at gmail.com
Sun Nov 6 15:19:24 EET 2022


Hi,

On Sat, Nov 5, 2022 at 2:54 PM Clément Bœsch <u at pkh.me> wrote:

> On Sat, Nov 05, 2022 at 04:44:39PM +0100, Paul B Mahol wrote:
> [...]
> > > Finally, I do believe a lot of other color filters could at least
> benefit
> > > from
> > > fixing their gamma handling (I know I'm guilty of this in various other
> > > filters).
> >
> > gamma handling depends not on pixel format but on metadata present in
> frame.
>
> Right, as suggested by Ronald on IRC, maybe it would have been appropriate
> to use the vf colorspace code to honor the transfer functions.
>
> That being said, this involves quite a substantial refactoring. Is this
> considered blocking?
>

Not for me. I'd like a big fat FIXME and I (or you, or anyone) can look
into this at some point in the future.

Ronald


More information about the ffmpeg-devel mailing list