[FFmpeg-devel] [RFC] Make swscale-test perform only one convertion

Michael Niedermayer michaelni
Tue Feb 16 20:27:33 CET 2010


On Tue, Feb 16, 2010 at 01:29:02AM +0100, Stefano Sabatini wrote:
> On date Friday 2010-02-12 01:30:23 +0100, Michael Niedermayer encoded:
> > On Fri, Feb 12, 2010 at 12:32:44AM +0100, Stefano Sabatini wrote:
> > [...]
> > > +    if (((i = 1) && ((srcFmt = av_get_pix_fmt(argv[i])) == PIX_FMT_NONE)) ||
> > > +        ((i = 2) && ((dstFmt = av_get_pix_fmt(argv[i])) == PIX_FMT_NONE))) {
> > > +        fprintf(stderr, "Unknown pixel format name: '%s'\n", argv[i]);
> > > +        return -1;
> > > +    }
> > 
> > wrong mailing list, this is not the obfuscated code contest
> 
> Uh, maybe I overdid at trying to keep low the line count...
> 
> Regards.
> -- 
> FFmpeg = Fancy & Furious Moronic Pacific Extravagant Geek

>  swscale-test-all.sh |   11 +++++++++++
>  swscale-test.c      |   36 +++++++++++++++++++-----------------
>  2 files changed, 30 insertions(+), 17 deletions(-)
> 1766e975f79d21a0b4c898fe8f41c4d2f1e8a615  implement-swscale-test-lite.patch

I think we should wait until we have a benchmark on mingw
or reduce the amount of shell work aka use C instead

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

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100216/3f347c24/attachment.pgp>



More information about the ffmpeg-devel mailing list