OSDN Git Service

Add ROQ format regression test.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 12 Dec 2009 17:34:24 +0000 (17:34 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 12 Dec 2009 17:34:24 +0000 (17:34 +0000)
Originally committed as revision 20811 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile
tests/codec-regression.sh
tests/rotozoom.regression.ref
tests/vsynth.regression.ref

index 8bf9721..5fd4094 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -189,6 +189,7 @@ CODEC_TESTS = $(addprefix regtest-,             \
         dnxhd_720p_rd                           \
         svq1                                    \
         flashsv                                 \
+        roq                                     \
         mp2                                     \
         ac3                                     \
         g726                                    \
index 6939f56..20e0e3c 100755 (executable)
@@ -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
index 6d87808..402fd26 100644 (file)
@@ -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
index b8c1ced..2cc4127 100644 (file)
@@ -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