[FFmpeg-devel] [PATCH 5/6] avfilter: add paletteuse filter

Clément Bœsch u at pkh.me
Sun Feb 1 10:46:44 CET 2015


On Fri, Jan 30, 2015 at 11:42:54AM -0500, Calvin Walton wrote:
> On Tue, 2015-01-27 at 14:20 +0100, Clément Bœsch wrote:
> > On Sun, Jan 25, 2015 at 07:55:22PM +0100, Clément Bœsch wrote:
> > > ---
> > >  doc/filters.texi            |  31 +++++
> > >  libavfilter/Makefile        |   1 +
> > >  libavfilter/allfilters.c    |   1 +
> > >  libavfilter/vf_paletteuse.c | 282 
> > > ++++++++++++++++++++++++++++++++++++++++++++
> > >  4 files changed, 315 insertions(+)
> > >  create mode 100644 libavfilter/vf_paletteuse.c
> > > 
> > 
> > So I did various improvements here by implementing various other 
> > error
> > diffusion based dithering methods: Floyd/Steinberg, Sierra2 and
> > Sierra2-4A. All of them seem better than Heckbert. You can observe
> > Heckbert vs Sierra4 here: https://lut.im/xAxNDhk4/lGZV0BS4
> > 
> > This match what's being said on
> > http://www.efg2.com/Lab/Library/ImageProcessing/DHALF.TXT about the
> > "false" Floyd-Steinberg filter, which is actually from Heckbert 
> > paper.
> 
> I don't know if you've seen this, but 
> http://bisqwit.iki.fi/story/howto/dither/jy/ has an interesting and 
> detailed look through a bunch of positional dithering algorithms 
> designed for animation that might be interesting.
> 

Yep I came across that link, and I will probably try to pick a few things
in it. Thanks.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150201/9258437d/attachment.asc>


More information about the ffmpeg-devel mailing list