[FFmpeg-devel] [PATCH 1/2] fate: add v308 encoding/decoding test

Paul B Mahol onemda at gmail.com
Sun Jan 29 13:00:40 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 tests/codec-regression.sh |    5 +++++
 tests/ref/vsynth1/v308    |    4 ++++
 tests/ref/vsynth2/v308    |    4 ++++
 3 files changed, 13 insertions(+), 0 deletions(-)
 create mode 100644 tests/ref/vsynth1/v308
 create mode 100644 tests/ref/vsynth2/v308

diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index a81cb6e..7efdb3e 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -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
+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
index 0000000..8f7c0e2
--- /dev/null
+++ b/tests/ref/vsynth1/v308
@@ -0,0 +1,4 @@
+8d5f2065ce6547acc51041a679b7d6c4 *./tests/data/vsynth1/v308.avi
+ 15213260 ./tests/data/vsynth1/v308.avi
+feecc092df0c4cbdbb7bf366e2212d23 *./tests/data/v308.vsynth1.out.yuv
+stddev:   63.74 PSNR: 12.04 MAXDIFF:  237 bytes: 15206400/  7603200
diff --git a/tests/ref/vsynth2/v308 b/tests/ref/vsynth2/v308
new file mode 100644
index 0000000..7bf45fd
--- /dev/null
+++ b/tests/ref/vsynth2/v308
@@ -0,0 +1,4 @@
+214671673e6c82bad8190d0329f01fdc *./tests/data/vsynth2/v308.avi
+ 15213260 ./tests/data/vsynth2/v308.avi
+c06ef74dfbad22a0815975b891645489 *./tests/data/v308.vsynth2.out.yuv
+stddev:   51.95 PSNR: 13.82 MAXDIFF:  191 bytes: 15206400/  7603200
-- 
1.7.7



More information about the ffmpeg-devel mailing list