OSDN Git Service

Fix qtrle regression test, actually test qtrle.
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 11 Feb 2011 23:20:10 +0000 (23:20 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 12 Feb 2011 23:54:05 +0000 (00:54 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 646739a0a8368bd234ff077c093bbf01e9e7f44a)

tests/codec-regression.sh
tests/ref/vsynth1/qtrle
tests/ref/vsynth2/qtrle

index 71d50a1..b705bc1 100755 (executable)
@@ -249,8 +249,8 @@ do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
 if [ -n "$do_qtrle" ] ; then
-do_video_encoding qtrle.mov "" ""
-do_video_decoding "" ""
+do_video_encoding qtrle.mov "" "-an -vcodec qtrle"
+do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
 if [ -n "$do_rgb" ] ; then
index 8aa578f..9988897 100644 (file)
@@ -1,4 +1,4 @@
-3f070779d7deb54626515ac7f7002e63 *./tests/data/vsynth1/qtrle.mov
-387772 ./tests/data/vsynth1/qtrle.mov
-a3c2610e2c069c3ad22ec03da83f774f *./tests/data/qtrle.vsynth1.out.yuv
-stddev:   15.14 PSNR: 24.53 MAXDIFF:  174 bytes:  7603200/  7603200
+d14041925ce5ec5001dc519276b1a1ab *./tests/data/vsynth1/qtrle.mov
+15263232 ./tests/data/vsynth1/qtrle.mov
+243325fb2cae1a9245efd49aff936327 *./tests/data/qtrle.vsynth1.out.yuv
+stddev:    3.42 PSNR: 37.43 MAXDIFF:   48 bytes:  7603200/  7603200
index 756ed69..6b2a011 100644 (file)
@@ -1,4 +1,4 @@
-5346bba8e03e7de72b482efbcf712a2e *./tests/data/vsynth2/qtrle.mov
-141533 ./tests/data/vsynth2/qtrle.mov
-f967b290c7e6d015c0e78175db828249 *./tests/data/qtrle.vsynth2.out.yuv
-stddev:    5.75 PSNR: 32.93 MAXDIFF:   92 bytes:  7603200/  7603200
+d8c1604dc46d9aa4ec0385e6722c6989 *./tests/data/vsynth2/qtrle.mov
+14798419 ./tests/data/vsynth2/qtrle.mov
+b2418e0e3a9a8619b31219cbcf24dc82 *./tests/data/qtrle.vsynth2.out.yuv
+stddev:    1.26 PSNR: 46.06 MAXDIFF:   13 bytes:  7603200/  7603200