[FFmpeg-devel] [PATCH] Add lut filter.
stefano.sabatini-lala at poste.it
Tue May 31 10:10:34 CEST 2011
On date Saturday 2011-05-28 23:04:07 +0200, Stefano Sabatini encoded:
> On date Friday 2010-12-03 13:02:59 +0100, Stefano Sabatini wrote:
> > On date Friday 2010-12-03 02:04:47 +0100, Michael Niedermayer encoded:
> > > the expression filter has been used to draw mandelbrot fractals, to texture
> > > map videos onto moving polygons and other things i forgot.
> > > a LUT is a good idea because its a hell alot faster but theres alot for which
> > > a generic expression evaluator is needed.
> > Here it is a first scratch.
> > This should be equivalent to the negate filter:
> > lut='y=maxv+minv-v:u=maxv+minv-v:v=maxv+minv-v'
> > (now I see that maybe 'v' was not a good choice for the input value).
> > it should be also possible to "wrap" a negate filter around this by
> > simply implementing a negate_init() function (but still lacks support
> > for monow/monob).
> > So having native support for monow/monob is the only reason for
> > keeping the negate filter, but maybe I can conceive some way to
> > support bitstream formats.
> > --
> > FFmpeg = Foolish Formidable Miracolous Philosophical Enhanced Gangster
> > From ecda1bb4846754d2a651d2c80414563d7a9e19a7 Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > Date: Fri, 3 Dec 2010 12:45:29 +0100
> > Subject: [PATCH] Implement lut filter.
> Updated with RGB support and an example negate filter.
> Still missing documentation.
> From c16e66a58668cdbb863ce4ecf2eb3ff52fb7c670 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Sat, 28 May 2011 21:51:03 +0200
> Subject: [PATCH] lavfi: add LUT (LookUp Table) YUV and RGB generic filters
> libavfilter/Makefile | 2 +
> libavfilter/allfilters.c | 2 +
> libavfilter/vf_lut.c | 313 ++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 317 insertions(+), 0 deletions(-)
> create mode 100644 libavfilter/vf_lut.c
Any comments on this?
FFmpeg = Fostering and Furious Minimalistic Pitiless Enhanced Glue
More information about the ffmpeg-devel