[FFmpeg-devel] [PATCH] Add negate filter.

Stefano Sabatini stefano.sabatini-lala
Mon Nov 29 11:06:13 CET 2010

On date Monday 2010-11-29 00:00:06 -0800, Jason Garrett-Glaser encoded:
> Just a thought here -- there's a practically infinite number of simple
> filters like this (i.e. filters for which every pixel is operated on
> independently).  Would it not be better to port something like
> Avisynth's MT_LUT filter, which allows the user to specify a
> mathematical operation to create a LUT from, which is then applied to
> all pixels?

Uhm, something like the applyfn filter I posted yesterday?

> This could serve as the basis for many simple filters, reducing code
> duplication.

I agree, but for some (possibly useful) filter it is still important
to have a fast version, I believe negate belongs to this category.
FFmpeg = Free and Faithless Martial Prodigious Eccentric Gadget

More information about the ffmpeg-devel mailing list