[FFmpeg-cvslog] Add CLJR encoding and decoding regression tests
Paul B Mahol
git at videolan.org
Sun Dec 11 01:12:49 CET 2011
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Dec 8 23:42:02 2011 +0000| [7d18d17abd9dadca1d717a7ace76bd611b7a289c] | committer: Diego Biurrun
Add CLJR encoding and decoding regression tests
Signed-off-by: Diego Biurrun <diego at biurrun.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7d18d17abd9dadca1d717a7ace76bd611b7a289c
---
tests/codec-regression.sh | 5 +++++
tests/ref/vsynth1/cljr | 4 ++++
tests/ref/vsynth2/cljr | 4 ++++
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 0e6151b..57e5f07 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -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
index 0000000..9865726
--- /dev/null
+++ b/tests/ref/vsynth1/cljr
@@ -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
index 0000000..6f8670c
--- /dev/null
+++ b/tests/ref/vsynth2/cljr
@@ -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
More information about the ffmpeg-cvslog
mailing list