summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-09-01 12:38:36 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-09-01 12:38:36 +0000
commit82c76ceee74bdb9ad5365a25e5944619f6097491 (patch)
tree467dc52f31756afc7c2cb5b6a724317071e3f645 /tests
parenteda7c983c1bd7d4fc51c22a0349bde417be48d9c (diff)
QTRLE regtest
Originally committed as revision 25017 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/vsynth1/qtrle4
-rw-r--r--tests/ref/vsynth2/qtrle4
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 7448c033dc..2a2ca1cb21 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -248,6 +248,11 @@ do_video_encoding roqav.roq "" "-vframes 5"
do_video_decoding "" "-pix_fmt yuv420p"
fi
+if [ -n "$do_qtrle" ] ; then
+do_video_encoding qtrle.mov "" ""
+do_video_decoding "" ""
+fi
+
if [ -n "$do_rgb" ] ; then
do_video_encoding rgb.avi "" "-an -vcodec rawvideo -pix_fmt bgr24"
do_video_decoding "" "-pix_fmt yuv420p"
diff --git a/tests/ref/vsynth1/qtrle b/tests/ref/vsynth1/qtrle
new file mode 100644
index 0000000000..8aa578fcc3
--- /dev/null
+++ b/tests/ref/vsynth1/qtrle
@@ -0,0 +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
diff --git a/tests/ref/vsynth2/qtrle b/tests/ref/vsynth2/qtrle
new file mode 100644
index 0000000000..756ed693a0
--- /dev/null
+++ b/tests/ref/vsynth2/qtrle
@@ -0,0 +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