Mercurial > mplayer.hg
view libswscale/swscale-test-all.sh @ 30783:1bd54aea2896
Make swscale-test take in input the name of the input and the output
format.
Make swscale-test only perform the test from the input to the output
format rather than perform all.
Also implement swscale-test-all.sh, for performing all the tests.
Improve flexibility of the swscale-test tool, this way is simpler to
perform only a subset of tests.
author | stefano |
---|---|
date | Thu, 04 Mar 2010 00:31:10 +0000 |
parents | |
children |
line wrap: on
line source
#! /bin/sh FFMPEG=../ffmpeg input_pix_fmts=$($FFMPEG -pix_fmts | sed -ne '9,$p' | grep '^I' | cut -d" " -f2) output_pix_fmts=$($FFMPEG -pix_fmts | sed -ne '9,$p' | grep '^.O' | cut -d" " -f2) for input_pix_fmt in $input_pix_fmts; do for output_pix_fmt in $output_pix_fmts; do swscale-test $input_pix_fmt $output_pix_fmt done done