[FFmpeg-devel] [PATCH] libavfilter-soc: add some regression tests

Stefano Sabatini stefano.sabatini-lala
Mon Oct 5 22:50:01 CEST 2009


On date Monday 2009-10-05 04:43:53 +0200, Diego Biurrun encoded:
> On Sat, Oct 03, 2009 at 11:27:09AM +0200, Stefano Sabatini wrote:
> > Hi, this patch adds some regression tests to lavfi.
> > 
> > --- tests/codec-regression.sh	(revision 20088)
> > +++ tests/codec-regression.sh	(working copy)
> > @@ -672,10 +672,15 @@
> >  
> > -# example tests:
> > -# do_lavfi "crop" "crop=100:100:-1:-1"
> > -# do_lavfi "crop_scale" "crop=100:100,scale=200:-1"
> > -# do_lavfi "scale" "scale=200:200"
> > +do_lavfi "null" "null"
> > +do_lavfi "crop" "crop=100:100:-1:-1"
> > +do_lavfi "crop_scale" "crop=100:100,scale=200:-1"
> > +do_lavfi "crop_vflip" "crop=100:100,vflip"
> > +do_lavfi "scale200" "scale=200:200"
> > +do_lavfi "scale500" "scale=500:500"
> > +do_lavfi "vflip" "vflip"
> > +do_lavfi "vflip_crop" "vflip,crop=100:100"
> > +do_lavfi "vflip_vflip" "vflip,vflip"
> 
> Maybe put this into a separate lavfi regression test script?

Like in attached?

Do you think would be possible to put the code shared with
codec-regression.sh (e.g. do_ffmpeg, do_video_encoding) in a common
file?

Regards.
-- 
FFmpeg = Freak Fundamental Mastodontic Peaceful Experimenting Game
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavfi-separate-regression-script.patch
Type: text/x-diff
Size: 3775 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091005/b41be75f/attachment.patch>



More information about the ffmpeg-devel mailing list