[FFmpeg-devel] [PATCH] Extend slicify filter to make it accept a parametric value

Stefano Sabatini stefano.sabatini-lala
Wed Mar 10 20:54:01 CET 2010


On date Wednesday 2010-03-10 12:59:25 +0100, Michael Niedermayer encoded:
> On Wed, Mar 10, 2010 at 12:14:09PM +0100, Stefano Sabatini wrote:
> > On date Wednesday 2010-03-10 11:45:21 +0100, Michael Niedermayer encoded:
> > > On Wed, Mar 10, 2010 at 01:49:00AM +0100, Stefano Sabatini wrote:
> > > > Hi, as in subject.
> > > > 
> > > > This should be a great help for testing slicing.
> > > [...]
> > > > @@ -24,35 +24,74 @@
> > > >   */
> > > >  
> > > >  #include "avfilter.h"
> > > > +#include "libavutil/lfg.h"
> > > >  #include "libavutil/pixdesc.h"
> > > > +#include "libavcodec/eval.h"
> > > 
> > > you add a dependancy on lavc
> > 
> > libavfilter *already* depends on libavcodec (ff_fill_pointer).
> > 
> > And yes I plan to remove all the dependancies. 
> 
> removeing the dependancy is ok adding more is rejected.
> Let us remember you do this to avoid
> if(arg='r')  sliceheight=lcg()

Check it again.
 
> eval() support in lavfi is welcome but this is the wrong time and wrong
> approuch.
> We have tons of critical issues we need to work on in lavfi
> support in ffmpeg.c
> enabling avfilter by default
> running lavfi regression tests by default
> direct rendering
> 
> especially enabling regression tests by default which requires avfilter to
> be enabled by default and support in ffmpeg.c are prerequesits of any kind
> of redesign
> Thats said eval has more prerequesits like 
> eval in lavutil which requires the eval API to be looked over.
> and after all that we need to think on how to cleanly integrate eval() into
> lavfi, calling eval litterally with huge amounts of code independatly in each
> filter is not a good idea.

Regards.
-- 
FFmpeg = Fancy and Fascinating Mournful Peaceful Excellent Guru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-adhoc-lavfi-tests.patch
Type: text/x-diff
Size: 6250 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100310/723b5a1b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slicify-add-rand.patch
Type: text/x-diff
Size: 2856 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100310/723b5a1b/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: randomize-lavfi-test-slice-sizes.patch
Type: text/x-diff
Size: 555 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100310/723b5a1b/attachment-0002.patch>



More information about the ffmpeg-devel mailing list