summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-12-27 20:43:16 -0500
committerAnton Khirnov <anton@khirnov.net>2011-12-28 20:50:41 +0100
commit733b23c2e44cb67b90e04f337eb4a407d46f70d1 (patch)
treeaa741d5fbbf209b7ee702a1e9c3ba8fb5b477324 /tests
parent891ce00c8ddad096cc26d7aa55b4f1bc26a1f124 (diff)
fate: Add v210 codec regression tests
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/vsynth1/v2104
-rw-r--r--tests/ref/vsynth2/v2104
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 57e5f07f05..e20bf6420d 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -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
index 0000000000..bb84c3ec98
--- /dev/null
+++ b/tests/ref/vsynth1/v210
@@ -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
index 0000000000..31160bdc61
--- /dev/null
+++ b/tests/ref/vsynth2/v210
@@ -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