Revision d211b29e

View differences:

tests/lavf-regression.sh
27 27

  
28 28
do_image_formats()
29 29
{
30
    file=${outfile}lavf%02d.$1
30
    outfile="$datadir/images/$1/"
31
    mkdir -p "$outfile"
32
    file=${outfile}%02d.$1
31 33
    $echov $ffmpeg -t 0.5 -y -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src $2 $3 -flags +bitexact -sws_flags +accurate_rnd+bitexact $target_path/$file
32 34
    $ffmpeg -t 0.5 -y -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src $2 $3 -flags +bitexact -sws_flags +accurate_rnd+bitexact $target_path/$file
33
    do_md5sum ${outfile}lavf02.$1 >> $logfile
35
    do_md5sum ${outfile}02.$1 >> $logfile
34 36
    do_ffmpeg_crc $file $3 -i $target_path/$file
35
    wc -c ${outfile}lavf02.$1 >> $logfile
37
    wc -c ${outfile}02.$1 >> $logfile
36 38
}
37 39

  
38 40
do_audio_only()
tests/ref/lavf/bmp
1
71f4d64a6b3c71f43a4eff526f84841c *./tests/data/lavf/lavf02.bmp
2
./tests/data/lavf/lavf%02d.bmp CRC=0xe6c71946
3
304182 ./tests/data/lavf/lavf02.bmp
1
71f4d64a6b3c71f43a4eff526f84841c *./tests/data/images/bmp/02.bmp
2
./tests/data/images/bmp/%02d.bmp CRC=0xe6c71946
3
304182 ./tests/data/images/bmp/02.bmp
tests/ref/lavf/jpg
1
d56c19d41e9754939ea0f15d09bc4a32 *./tests/data/lavf/lavf02.jpg
2
./tests/data/lavf/lavf%02d.jpg CRC=0xb8bc5a32
3
31763 ./tests/data/lavf/lavf02.jpg
1
d56c19d41e9754939ea0f15d09bc4a32 *./tests/data/images/jpg/02.jpg
2
./tests/data/images/jpg/%02d.jpg CRC=0xb8bc5a32
3
31763 ./tests/data/images/jpg/02.jpg
tests/ref/lavf/pcx
1
2df1d747fba23d03b6ff9c91b8b465c9 *./tests/data/lavf/lavf02.pcx
2
./tests/data/lavf/lavf%02d.pcx CRC=0x6da01946
3
364147 ./tests/data/lavf/lavf02.pcx
1
2df1d747fba23d03b6ff9c91b8b465c9 *./tests/data/images/pcx/02.pcx
2
./tests/data/images/pcx/%02d.pcx CRC=0x6da01946
3
364147 ./tests/data/images/pcx/02.pcx
tests/ref/lavf/pgm
1
388f5c51a678ca6a52cc006095c12f08 *./tests/data/lavf/lavf02.pgm
2
./tests/data/lavf/lavf%02d.pgm CRC=0x418d2963
3
101391 ./tests/data/lavf/lavf02.pgm
1
388f5c51a678ca6a52cc006095c12f08 *./tests/data/images/pgm/02.pgm
2
./tests/data/images/pgm/%02d.pgm CRC=0x418d2963
3
101391 ./tests/data/images/pgm/02.pgm
tests/ref/lavf/ppm
1
16d5dadf0b362fc8ba3cb676c5dde985 *./tests/data/lavf/lavf02.ppm
2
./tests/data/lavf/lavf%02d.ppm CRC=0x6da01946
3
304143 ./tests/data/lavf/lavf02.ppm
1
16d5dadf0b362fc8ba3cb676c5dde985 *./tests/data/images/ppm/02.ppm
2
./tests/data/images/ppm/%02d.ppm CRC=0x6da01946
3
304143 ./tests/data/images/ppm/02.ppm
tests/ref/lavf/sgi
1
7054acafd275e51cec28d4518e213081 *./tests/data/lavf/lavf02.sgi
2
./tests/data/lavf/lavf%02d.sgi CRC=0x6da01946
3
308151 ./tests/data/lavf/lavf02.sgi
1
7054acafd275e51cec28d4518e213081 *./tests/data/images/sgi/02.sgi
2
./tests/data/images/sgi/%02d.sgi CRC=0x6da01946
3
308151 ./tests/data/images/sgi/02.sgi
tests/ref/lavf/tga
1
c0305c53e6d79d4ed9f35f04f671246c *./tests/data/lavf/lavf02.tga
2
./tests/data/lavf/lavf%02d.tga CRC=0xe6c71946
3
304172 ./tests/data/lavf/lavf02.tga
1
c0305c53e6d79d4ed9f35f04f671246c *./tests/data/images/tga/02.tga
2
./tests/data/images/tga/%02d.tga CRC=0xe6c71946
3
304172 ./tests/data/images/tga/02.tga
tests/ref/lavf/tiff
1
b3299346a8959553a437e486d8f3bf76 *./tests/data/lavf/lavf02.tiff
2
./tests/data/lavf/lavf%02d.tiff CRC=0x6da01946
3
307131 ./tests/data/lavf/lavf02.tiff
1
b3299346a8959553a437e486d8f3bf76 *./tests/data/images/tiff/02.tiff
2
./tests/data/images/tiff/%02d.tiff CRC=0x6da01946
3
307131 ./tests/data/images/tiff/02.tiff

Also available in: Unified diff