[FFmpeg-devel] [PATCH 3/4] Factorize dilate and smooth end frame common code.

Stefano Sabatini stefano.sabatini-lala
Sun Dec 26 12:27:11 CET 2010


On date Monday 2010-10-11 20:19:55 +0200, Michael Niedermayer encoded:
> On Sun, Oct 10, 2010 at 06:50:51PM +0200, Stefano Sabatini wrote:
> > On date Sunday 2010-09-12 12:51:18 +0200, Michael Niedermayer encoded:
> > > On Sat, Sep 11, 2010 at 03:59:24PM +0200, Stefano Sabatini wrote:
> > > > ---
> > > >  libavfilter/vf_libopencv.c |   63 +++++++++++++++++++++++---------------------
> > > >  1 files changed, 33 insertions(+), 30 deletions(-)
> > > > 
> > > > diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c
> > > > index 6c535f0..b0b80d0 100644
> > > > --- a/libavfilter/vf_libopencv.c
> > > > +++ b/libavfilter/vf_libopencv.c
> > > > @@ -63,6 +63,25 @@ static int query_formats(AVFilterContext *ctx)
> > > >  
> > > >  static void null_draw_slice(AVFilterLink *link, int y, int h, int slice_dir) { }
> > > >  
> > > > +static void ocv_end_frame(AVFilterLink *inlink, void filter_fn(void *, IplImage *, IplImage *))
> > > 
> > > imho we need a table, one entry for each filter, filter_fn goes in that table
> > > and a pointer to the table entry in the context
> > 
> > Updated.
> > -- 
> > FFmpeg = Faithless Freak Murdering Porno Ecletic Gadget
> 
> >  vf_libopencv.c |    8 ++++++++
> >  1 file changed, 8 insertions(+)
> > b5ab9776403255c2c8a5bdb56cf3c4f7f59e70f5  0003-Add-erode-libopencv-filter.patch
> > From c931d063d59234f5ea1d853981a47e43ee2740ae Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > Date: Sat, 2 Oct 2010 17:06:46 +0200
> > Subject: [PATCH 3/3] Add erode libopencv filter.
> 
> if it works ok

Applied.
-- 
FFmpeg = Fabulous & Furious Magic Powered Erroneous Guide



More information about the ffmpeg-devel mailing list