aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-12-12 17:34:24 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-12-12 17:34:24 +0000
commitae5e8caa3db1872dd85d3e985577c004107a5ba1 (patch)
tree5976d845f6ef565082933b256af415e0b0bddbc4
parent94621d329f35267607560eee6a372bfa7cfbb256 (diff)
downloadffmpeg-ae5e8caa3db1872dd85d3e985577c004107a5ba1.tar.gz
Add ROQ format regression test.
Originally committed as revision 20811 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile1
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/rotozoom.regression.ref4
-rw-r--r--tests/vsynth.regression.ref4
4 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8bf97213aa..5fd4094710 100644
--- a/Makefile
+++ b/Makefile
@@ -189,6 +189,7 @@ CODEC_TESTS = $(addprefix regtest-, \
dnxhd_720p_rd \
svq1 \
flashsv \
+ roq \
mp2 \
ac3 \
g726 \
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 6939f569a6..20e0e3c43e 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -241,6 +241,11 @@ do_video_encoding flashsv.flv "" "-an -vcodec flashsv -sws_flags neighbor+full_c
do_video_decoding "" "-pix_fmt yuv420p -sws_flags area+accurate_rnd+bitexact"
fi
+if [ -n "$do_roq" ] ; then
+do_video_encoding roqav.roq "" "-vframes 5"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
if [ -n "$do_mp2" ] ; then
do_audio_encoding mp2.mp2 "-ar 44100"
do_audio_decoding
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 6d87808c55..402fd26596 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -182,6 +182,10 @@ stddev: 3.23 PSNR: 37.93 bytes: 7603200/ 7603200
12368953 ./tests/data/a-flashsv.flv
592b3321994e26a990deb3a0a1415de9 *./tests/data/flashsv.rotozoom.out.yuv
stddev: 0.65 PSNR: 51.84 bytes: 7603200/ 7603200
+7ed9804f2e4b962421007afa23a157a9 *./tests/data/a-roqav.roq
+92322 ./tests/data/a-roqav.roq
+fe633f931dbc84fd6ca1a79e25edfd4f *./tests/data/roq.rotozoom.out.yuv
+stddev: 3.80 PSNR: 36.52 bytes: 760320/ 7603200
f6eb0a205350bbd7fb1028a01c7ae8aa *./tests/data/a-mp2.mp2
96130 ./tests/data/a-mp2.mp2
74c7b6b15a001add199619fafe4059a1 *./tests/data/mp2.rotozoom.out.wav
diff --git a/tests/vsynth.regression.ref b/tests/vsynth.regression.ref
index b8c1ced2be..2cc4127d36 100644
--- a/tests/vsynth.regression.ref
+++ b/tests/vsynth.regression.ref
@@ -182,6 +182,10 @@ stddev: 9.58 PSNR: 28.50 bytes: 7603200/ 7603200
14681925 ./tests/data/a-flashsv.flv
947cb24ec45a453348ae6fe3fa278071 *./tests/data/flashsv.vsynth.out.yuv
stddev: 2.85 PSNR: 39.03 bytes: 7603200/ 7603200
+e96dd14a4c39b3b08c7d80826025c5e4 *./tests/data/a-roqav.roq
+101520 ./tests/data/a-roqav.roq
+6cc165a9309bad35924eda71c160e203 *./tests/data/roq.vsynth.out.yuv
+stddev: 7.75 PSNR: 30.34 bytes: 760320/ 7603200
f6eb0a205350bbd7fb1028a01c7ae8aa *./tests/data/a-mp2.mp2
96130 ./tests/data/a-mp2.mp2
74c7b6b15a001add199619fafe4059a1 *./tests/data/mp2.vsynth.out.wav