fate: Add v210 codec regression tests
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 28 Dec 2011 01:43:16 +0000 (20:43 -0500)
committerAnton Khirnov <anton@khirnov.net>
Wed, 28 Dec 2011 19:50:41 +0000 (20:50 +0100)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
tests/codec-regression.sh
tests/ref/vsynth1/v210 [new file with mode: 0644]
tests/ref/vsynth2/v210 [new file with mode: 0644]

index 57e5f07..e20bf64 100755 (executable)
@@ -278,6 +278,11 @@ do_video_encoding rgb.avi "-an -vcodec rawvideo -pix_fmt bgr24"
 do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
+if [ -n "$do_v210" ] ; then
+do_video_encoding v210.avi "-an -c:v v210"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
 if [ -n "$do_yuv" ] ; then
 do_video_encoding yuv.avi "-an -vcodec rawvideo -pix_fmt yuv420p"
 do_video_decoding "" "-pix_fmt yuv420p"
diff --git a/tests/ref/vsynth1/v210 b/tests/ref/vsynth1/v210
new file mode 100644 (file)
index 0000000..bb84c3e
--- /dev/null
@@ -0,0 +1,4 @@
+dd6c870a2a52c9e75ce61c3670e710e7 *./tests/data/vsynth1/v210.avi
+14752460 ./tests/data/vsynth1/v210.avi
+50973792d3f1abe04a51ee0121f077f2 *./tests/data/v210.vsynth1.out.yuv
+stddev:    1.85 PSNR: 42.78 MAXDIFF:   29 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth2/v210 b/tests/ref/vsynth2/v210
new file mode 100644 (file)
index 0000000..31160bd
--- /dev/null
@@ -0,0 +1,4 @@
+db0579bd46e1ba133ff86c0f7cdd761f *./tests/data/vsynth2/v210.avi
+14752460 ./tests/data/vsynth2/v210.avi
+a627fb50c8276200fd71383977d87ca3 *./tests/data/v210.vsynth2.out.yuv
+stddev:    0.34 PSNR: 57.43 MAXDIFF:    6 bytes:  7603200/  7603200