[FFmpeg-devel] [PATCH] Add v408 codec regression test.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Apr 8 16:20:22 CEST 2012


Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 tests/codec-regression.sh |    5 +++++
 tests/ref/vsynth1/v408    |    4 ++++
 tests/ref/vsynth2/v408    |    4 ++++
 3 files changed, 13 insertions(+)
 create mode 100644 tests/ref/vsynth1/v408
 create mode 100644 tests/ref/vsynth2/v408

diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 3bf7edf..2696a80 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -345,6 +345,11 @@ do_video_encoding v308.avi "-an -c:v v308"
 do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
+if [ -n "$do_v408" ] ; then
+do_video_encoding v408.avi "-an -c:v v408"
+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/v408 b/tests/ref/vsynth1/v408
new file mode 100644
index 0000000..63984dc
--- /dev/null
+++ b/tests/ref/vsynth1/v408
@@ -0,0 +1,4 @@
+10247e57de21e94c08df71b9ea20f32c *./tests/data/vsynth1/v408.avi
+20282060 ./tests/data/vsynth1/v408.avi
+10fb42f1abf40a289c3edafc0390482c *./tests/data/v408.vsynth1.out.yuv
+stddev:    2.67 PSNR: 39.60 MAXDIFF:   43 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth2/v408 b/tests/ref/vsynth2/v408
new file mode 100644
index 0000000..bb45930
--- /dev/null
+++ b/tests/ref/vsynth2/v408
@@ -0,0 +1,4 @@
+8c9efd18d65a3eaaef46b9112344554b *./tests/data/vsynth2/v408.avi
+20282060 ./tests/data/vsynth2/v408.avi
+d43cb310c130c69214332d74f6ee5f9a *./tests/data/v408.vsynth2.out.yuv
+stddev:    0.41 PSNR: 55.80 MAXDIFF:    7 bytes:  7603200/  7603200
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list