[FFmpeg-devel] [RFC][PATCH] Add swscale-test2
Tue Sep 7 02:13:26 CEST 2010
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
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel