aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-08 16:19:06 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-09 00:46:43 +0200
commited68fd45d3d8ea87e38ae6d91c609b128afbe6bb (patch)
tree7e24d9cd5e4c18191c2591334c17c8985cd7863e
parentc311afca0af5497c8e526fa8711dc9bf519f6a2f (diff)
downloadffmpeg-ed68fd45d3d8ea87e38ae6d91c609b128afbe6bb.tar.gz
Add v408 codec regression test.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/vsynth1/v4084
-rw-r--r--tests/ref/vsynth2/v4084
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index bc6e297996..a8671699a5 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 -sws_flags neighbor+bitexact"
+do_video_decoding "" "-sws_flags neighbor+bitexact -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 0000000000..664755027a
--- /dev/null
+++ b/tests/ref/vsynth1/v408
@@ -0,0 +1,4 @@
+98057c4d5ce12a1b1b3ca15839f47c95 *./tests/data/vsynth1/v408.avi
+20282060 ./tests/data/vsynth1/v408.avi
+c5ccac874dbf808e9088bc3107860042 *./tests/data/v408.vsynth1.out.yuv
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/v408 b/tests/ref/vsynth2/v408
new file mode 100644
index 0000000000..544acd3f5e
--- /dev/null
+++ b/tests/ref/vsynth2/v408
@@ -0,0 +1,4 @@
+033d112ec5a1a78882233d0b791e5ef7 *./tests/data/vsynth2/v408.avi
+20282060 ./tests/data/vsynth2/v408.avi
+dde5895817ad9d219f79a52d0bdfb001 *./tests/data/v408.vsynth2.out.yuv
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200