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

Ronald S. Bultje rsbultje
Mon Nov 29 16:30:21 CET 2010


Hi,

On Mon, Nov 29, 2010 at 3:00 AM, Jason Garrett-Glaser <jason at x264.com> wrote:
> 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? ?This could serve as the basis for many simple filters,
> reducing code duplication.

A LUT filter can't be SIMD-optimized though, whereas a negate filter can...

Ronald



More information about the ffmpeg-devel mailing list