[FFmpeg-devel] [PATCH] Add vflip filter

Stefano Sabatini stefano.sabatini-lala
Fri Oct 23 00:00:21 CEST 2009


On date Thursday 2009-10-22 00:24:23 +0200, Stefano Sabatini encoded:
> On date Wednesday 2009-10-21 22:02:50 +0200, Michael Niedermayer encoded:
> > On Thu, Oct 08, 2009 at 01:50:33AM +0200, Stefano Sabatini wrote:
> > > Hi,
> > > 
> > > this is a modified version of the vflip filter in the soc repo,
> > > modified to make it work correctly with the recursive
> > > get_video_buffer() and with my pad filter.
> > > 
> > > Regards.
> > > -- 
> > > FFmpeg = Fierce and Faithful Mere Ponderous Ecumenical Game
> > 
> > >  doc/vfilters.texi        |    8 +++
> > >  libavfilter/Makefile     |    1 
> > >  libavfilter/allfilters.c |    1 
> > >  libavfilter/vf_vflip.c   |   96 +++++++++++++++++++++++++++++++++++++++++++++++
> > >  4 files changed, 106 insertions(+)
> > > 0d9dadac960edc3a9fb8c1af8ee9d3fa82969e6e  lavfi-add-vflip.patch
> > 
> > ok, if tested extensively together with the other filters and it works and
> > there is no speedloss due to multiple vflip/null/crop
> 
> test-chain.pl -f "vflip" -n 20 ^/dev/null | grep "^bench"
> bench: utime=3.336s
> bench: utime=3.268s
> bench: utime=3.288s
> bench: utime=3.256s
> bench: utime=3.272s
> bench: utime=3.304s
> bench: utime=3.316s
> bench: utime=3.276s
> bench: utime=3.316s
> bench: utime=3.360s
> bench: utime=3.576s
> bench: utime=3.944s
> bench: utime=5.000s
> bench: utime=11.077s
> bench: utime=26.122s
> 
> test-chain.pl -f "null,vflip,crop" -n 20 ^/dev/null | grep "^bench"
> bench: utime=3.268s
> bench: utime=3.272s
> bench: utime=3.272s
> bench: utime=3.276s
> bench: utime=3.280s
> bench: utime=3.284s
> bench: utime=3.336s
> bench: utime=3.388s
> bench: utime=3.516s
> bench: utime=3.764s
> bench: utime=4.468s
> bench: utime=7.512s
> bench: utime=21.581s
> 
> With all formats tested resulted OK, I'll apply tomorrow if there are
> no other comments.

Applied.
-- 
FFmpeg = Freak and Frightening MultiPurpose EnGine



More information about the ffmpeg-devel mailing list