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

Jason Garrett-Glaser darkshikari
Mon Nov 29 11:11:23 CET 2010


On Mon, Nov 29, 2010 at 2:06 AM, Stefano Sabatini
<stefano.sabatini-lala at poste.it> wrote:
> 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?

Doesn't use a LUT as far as I can see, so it's way too slow to be
usable for much of anything.

I would think that the "naive" negate would not be much faster than a
LUT-based applyfn...

Jason



More information about the ffmpeg-devel mailing list