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

Soft Works softworkz at hotmail.com
Sun Nov 6 21:46:38 EET 2022



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Clément Bœsch
> Sent: Saturday, November 5, 2022 4:26 PM
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] Rework color quantization in palette{gen,use}
> 
> Hi,
> 
> This patchset essentially fixes a few core problems in these filters
> and
> switches to a perceptual model.
> 
> I've generated a report for each key commit on this (temporary) page:
> http://big.pkh.me/pal/ (warning: heavy page, ~500M; I did try to add
> some lazy
> loading of the images but I'm not sure it's actually working as
> expected).

Comparing the results for the known and simple "rainbow O" example reveals
that the proposed implementation seems to be even inferior to the current 
code and even farther away from what is possible to achieve:

https://gist.github.com/softworkz/e310e3c84a338f98977d70b09e3e3f4f

Regards,
softworkz


More information about the ffmpeg-devel mailing list