aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-24 02:14:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-24 02:14:34 +0000
commit199c6e3cf16132dc3d4d869fd7322f16d9f13c1e (patch)
tree05d62181c5be22f5919a0b621575afe4a1a6ed4e
parent1e358f039fe49bcd64edbac1767e5fe5f5020b33 (diff)
downloadffmpeg-199c6e3cf16132dc3d4d869fd7322f16d9f13c1e.tar.gz
md5 test for the image formats
Originally committed as revision 8491 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/libav.regression.ref5
-rwxr-xr-xtests/regression.sh12
2 files changed, 11 insertions, 6 deletions
diff --git a/tests/libav.regression.ref b/tests/libav.regression.ref
index ff61a64456..a498d67997 100644
--- a/tests/libav.regression.ref
+++ b/tests/libav.regression.ref
@@ -45,10 +45,15 @@ feb04ba3cf4f607d5527664eb69ec72e *./data/b-libav.gxf
b977a4fedff90a79baf70c8e02986820 *./data/b-libav.y4m
3801810 ./data/b-libav.y4m
./data/b-libav%02d.pgm CRC=0x84c09106
+de216b43403f51e57e644fbf812568bf *./data/b-libav02.pgm
./data/b-libav%02d.ppm CRC=0x25c06ecf
+86bbdb77afa289ff363120f8044f29df *./data/b-libav02.ppm
./data/b-libav%02d.bmp CRC=0xf3a66ecf
+c3a9f333ddebff6eae3f4360bad2de29 *./data/b-libav02.bmp
./data/b-libav%02d.tga CRC=0xf3a66ecf
+f558eef0740c4b247f1eb17e1dbf7adf *./data/b-libav02.tga
./data/b-libav%02d.jpg CRC=0x62328baa
+5d6c53e5297c4485e26c25e37885376f *./data/b-libav02.jpg
b0a8c8063d81921db5d7c8f50a1cc454 *./data/b-libav.wav
89132 ./data/b-libav.wav
./data/b-libav.wav CRC=0x2a09519c
diff --git a/tests/regression.sh b/tests/regression.sh
index 417efb69d0..c4c2f776b9 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -220,7 +220,7 @@ do_image_formats()
file=${outfile}libav%02d.$1
$ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $2 $3 $file
do_ffmpeg_crc $file $3 -i $file
-
+ do_md5sum ${outfile}libav02.$1 >> $logfile
}
do_audio_only()
@@ -655,19 +655,19 @@ do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file
####################
# image formats
-# pgm (we do not do md5 on image files yet)
+# pgm
do_image_formats pgm
-# ppm (we do not do md5 on image files yet)
+# ppm
do_image_formats ppm
-# bmp (we do not do md5 on image files yet)
+# bmp
do_image_formats bmp
-# tga (we do not do md5 on image files yet)
+# tga
do_image_formats tga
-# jpeg (we do not do md5 on image files yet)
+# jpeg
do_image_formats jpg "-flags +bitexact -dct fastint -idct simple -pix_fmt yuvj420p" "-f image2"
####################