From 3b93a524c2d7aad669b0f01ea5e1336e5a6258bf Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 29 Jan 2012 13:18:59 +0000 Subject: [PATCH] fate: add v308 encoding/decoding test Signed-off-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- tests/codec-regression.sh | 5 +++++ tests/ref/vsynth1/v308 | 4 ++++ tests/ref/vsynth2/v308 | 4 ++++ 3 files changed, 13 insertions(+) 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 37c6e86b54..41269ad0d0 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 "" "-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 index 0000000000..873d52a5f0 --- /dev/null +++ b/tests/ref/vsynth1/v308 @@ -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 index 0000000000..2c4f7e1ef0 --- /dev/null +++ b/tests/ref/vsynth2/v308 @@ -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