[FFmpeg-devel] [RFC][PATCH] Add swscale-test2

Michael Niedermayer michaelni
Tue Sep 7 02:16:09 CEST 2010


On Tue, Sep 07, 2010 at 02:13:26AM +0200, Michael Niedermayer wrote:
> On Fri, Aug 27, 2010 at 11:41:03PM -0300, Ramiro Polla wrote:
> > On Wed, Aug 25, 2010 at 12:17 PM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
> > > Before this patch is torn to pieces I want to know people's opinions
> > > on its usefulness. I find this useful because it allows to easily test
> > > specific swscale code without having to go through ffmpeg. For example
> > > this long line:
> > > ./libswscale/swscale-test2 -s 320x240 -pix_fmt yuva420p -g -pix_fmt
> > > yuv420p -sws_flags bicublin+bitexact -pix_fmt yuv420p -times 1024
> > > -scale -store -s 160x120 -pix_fmt bgr24 -scale -o output.bmp -s
> > > 320x240 -pix_fmt yuv420p -scale -ssd -crc
> > >
> > > will generate a 320x240 yuva420p image, convert it to yuv420p 1024
> > > times (with timer) using bicublin+bitexact, store the image (for ssd
> > > later), scale it to 160x120 bgr24, output a bitmap so I can check the
> > > image later, rescale to 320x240 yuv240p and compare ssd with the
> > > previous image. Usually I just want to test one scaler though.
> > >
> > > This could be possibly be done with avfilters (not yet though), but I
> > > find a simple tool easier than having to go through ffmpeg.
> > >
> > > Opinions?
> > 
> > Hm, no comments? I'd like to get this reviewed then, I think it would
> > be a nice addition to testing libswscale.
> 
> the idea is great i had no time to review the code though

also given the amount of patches i must review ill trust you that you will
be able to clean this up and commit without me

[...]
--
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100907/7ab97c1f/attachment.pgp>



More information about the ffmpeg-devel mailing list