diff options
author | Diego Biurrun <diego@biurrun.de> | 2019-02-02 13:54:47 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2019-02-16 18:15:30 +0100 |
commit | a957e9379d11f2982d615f92c30580a57ea8bb40 (patch) | |
tree | d3e972586cbc3eb6aefeae9a17d5ec3c19af6f31 /tests/lavf-regression.sh | |
parent | eb8a8115994434b548523cf0bca6a4a74784e79c (diff) | |
download | ffmpeg-a957e9379d11f2982d615f92c30580a57ea8bb40.tar.gz |
tests: Convert lavf image tests to non-legacy test scripts
Rename some tests in the process for consistency and simplicity.
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-x | tests/lavf-regression.sh | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 65d28fb29b..493083bf63 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -19,17 +19,6 @@ do_lavf() do_avconv_crc $file $DEC_OPTS -i $target_path/$file $4 } -do_image_formats() -{ - outfile="$datadir/images/$1/" - mkdir -p "$outfile" - file=${outfile}%02d.$1 - run_avconv $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $2 $ENC_OPTS $3 -frames 12 -y -qscale 10 $target_path/$file - do_md5sum ${outfile}02.$1 - do_avconv_crc $file $DEC_OPTS $3 -i $target_path/$file - echo $(wc -c ${outfile}02.$1) -} - if [ -n "$do_avi" ] ; then do_lavf avi "" "-c:a mp2 -ar 44100" fi @@ -107,60 +96,6 @@ do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $ENC_OPTS -t 1 -qsca do_avconv_crc $file -i $target_path/$file fi -# image formats - -if [ -n "$do_pgm" ] ; then -do_image_formats pgm -fi - -if [ -n "$do_ppm" ] ; then -do_image_formats ppm -fi - -if [ -n "$do_png" ] ; then -do_image_formats png -fi - -if [ -n "$do_bmp" ] ; then -do_image_formats bmp -fi - -if [ -n "$do_tga" ] ; then -do_image_formats tga -fi - -if [ -n "$do_tiff" ] ; then -do_image_formats tiff "-pix_fmt rgb24" -fi - -if [ -n "$do_sgi" ] ; then -do_image_formats sgi -fi - -if [ -n "$do_jpg" ] ; then -do_image_formats jpg "-pix_fmt yuvj420p" "-f image2" -fi - -if [ -n "$do_pam" ] ; then -do_image_formats pam -fi - -if [ -n "$do_pcx" ] ; then -do_image_formats pcx -fi - -if [ -n "$do_xwd" ] ; then -do_image_formats xwd -fi - -if [ -n "$do_dpx" ] ; then -do_image_formats dpx -fi - -if [ -n "$do_sunrast" ] ; then -do_image_formats sun -fi - # pix_fmt conversions if [ -n "$do_pixfmt" ] ; then |