Add CLJR encoding and decoding regression tests
authorPaul B Mahol <onemda@gmail.com>
Thu, 8 Dec 2011 23:42:02 +0000 (23:42 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 10 Dec 2011 19:11:29 +0000 (20:11 +0100)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
tests/codec-regression.sh
tests/ref/vsynth1/cljr [new file with mode: 0644]
tests/ref/vsynth2/cljr [new file with mode: 0644]

index 0e6151b..57e5f07 100755 (executable)
@@ -19,6 +19,11 @@ if [ -n "$do_aref" ]; then
 do_avconv $pcm_ref -b 128k -ac 2 -ar 44100 -f s16le -i $pcm_src -f wav
 fi
 
+if [ -n "$do_cljr" ] ; then
+do_video_encoding cljr.avi "-an -vcodec cljr"
+do_video_decoding
+fi
+
 if [ -n "$do_mpeg" ] ; then
 # mpeg1
 do_video_encoding mpeg1.mpg "-qscale 10 -f mpeg1video"
diff --git a/tests/ref/vsynth1/cljr b/tests/ref/vsynth1/cljr
new file mode 100644 (file)
index 0000000..9865726
--- /dev/null
@@ -0,0 +1,4 @@
+d149cadc43100d8e98ff04e57fdaa31f *./tests/data/vsynth1/cljr.avi
+ 5075660 ./tests/data/vsynth1/cljr.avi
+4debaab994c2c7273bebaa0c5733017b *./tests/data/cljr.vsynth1.out.yuv
+stddev:   30.75 PSNR: 18.37 MAXDIFF:  225 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth2/cljr b/tests/ref/vsynth2/cljr
new file mode 100644 (file)
index 0000000..6f8670c
--- /dev/null
@@ -0,0 +1,4 @@
+86250984790dd745a932f36cf229cef7 *./tests/data/vsynth2/cljr.avi
+ 5075660 ./tests/data/vsynth2/cljr.avi
+3a70ba2a535ef9c7fc6478b27a2cb58a *./tests/data/cljr.vsynth2.out.yuv
+stddev:   10.48 PSNR: 27.72 MAXDIFF:   64 bytes:  7603200/  7603200