]> git.sesse.net Git - ffmpeg/commitdiff
fate: add v308 encoding/decoding test
authorPaul B Mahol <onemda@gmail.com>
Sun, 29 Jan 2012 13:18:59 +0000 (13:18 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Jan 2012 17:11:40 +0000 (18:11 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/codec-regression.sh
tests/ref/vsynth1/v308 [new file with mode: 0644]
tests/ref/vsynth2/v308 [new file with mode: 0644]

index 37c6e86b54e2573b9c15776542a178c6b7148bf6..41269ad0d00fecc68e0b0e9697a6f5ed7dda012f 100755 (executable)
@@ -329,6 +329,11 @@ do_video_encoding v210.avi "-an -c:v v210"
 do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
+if [ -n "$do_v308" ] ; then
+do_video_encoding v308.avi "-an -c:v v308"
+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/v308 b/tests/ref/vsynth1/v308
new file mode 100644 (file)
index 0000000..873d52a
--- /dev/null
@@ -0,0 +1,4 @@
+8d5f2065ce6547acc51041a679b7d6c4 *./tests/data/vsynth1/v308.avi
+ 15213260 ./tests/data/vsynth1/v308.avi
+10fb42f1abf40a289c3edafc0390482c *./tests/data/v308.vsynth1.out.yuv
+stddev:    2.67 PSNR: 39.60 MAXDIFF:   43 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth2/v308 b/tests/ref/vsynth2/v308
new file mode 100644 (file)
index 0000000..2c4f7e1
--- /dev/null
@@ -0,0 +1,4 @@
+214671673e6c82bad8190d0329f01fdc *./tests/data/vsynth2/v308.avi
+ 15213260 ./tests/data/vsynth2/v308.avi
+d43cb310c130c69214332d74f6ee5f9a *./tests/data/v308.vsynth2.out.yuv
+stddev:    0.41 PSNR: 55.80 MAXDIFF:    7 bytes:  7603200/  7603200