[FFmpeg-devel] [PATCH] lavfi: add histeq filter (WIP)

Stefano Sabatini stefasab at gmail.com
Fri Jan 4 14:28:05 CET 2013

On date Saturday 2012-10-20 13:37:40 +0200, Stefano Sabatini encoded:
> On date Saturday 2012-10-20 07:45:51 +0200, Jérémy Tran encoded:
> > This is a port of virtual dub's histogram equalization filter by
> > Donald A. Graft.
> > 
> > Using ff_fill_rgba_map() highlighted the fact that I was incorrectly
> > filling the map, that is backwards; the output is now much more better (the
> > colors are fine) but many blocks appear here and there and depending
> > on the frame, it can get really messy (I'm using the default values).
> > I am working on this issue.
> Can you show an example commandline? Could be due to overflowing issues.

Updated patch. I suppose the problem mentioned by Jeremy is due to
images with few colors, like it happens for example with
fade-in/fade-out effect, but I'll try to investigate more.

TODO: FATE test.
FFmpeg = Fundamental and Fascinating Most Puristic Elegant Gorilla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-lavfi-add-histeq-filter-WIP.patch
Type: text/x-diff
Size: 15385 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130104/49b45094/attachment.bin>

More information about the ffmpeg-devel mailing list