Add ROQ format regression test.

Originally committed as revision 20811 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-12-12 17:34:24 +00:00
parent 94621d329f
commit ae5e8caa3d
4 changed files with 14 additions and 0 deletions

View File

@ -189,6 +189,7 @@ CODEC_TESTS = $(addprefix regtest-, \
dnxhd_720p_rd \ dnxhd_720p_rd \
svq1 \ svq1 \
flashsv \ flashsv \
roq \
mp2 \ mp2 \
ac3 \ ac3 \
g726 \ g726 \

View File

@ -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" do_video_decoding "" "-pix_fmt yuv420p -sws_flags area+accurate_rnd+bitexact"
fi 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 if [ -n "$do_mp2" ] ; then
do_audio_encoding mp2.mp2 "-ar 44100" do_audio_encoding mp2.mp2 "-ar 44100"
do_audio_decoding do_audio_decoding

View File

@ -182,6 +182,10 @@ stddev: 3.23 PSNR: 37.93 bytes: 7603200/ 7603200
12368953 ./tests/data/a-flashsv.flv 12368953 ./tests/data/a-flashsv.flv
592b3321994e26a990deb3a0a1415de9 *./tests/data/flashsv.rotozoom.out.yuv 592b3321994e26a990deb3a0a1415de9 *./tests/data/flashsv.rotozoom.out.yuv
stddev: 0.65 PSNR: 51.84 bytes: 7603200/ 7603200 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 f6eb0a205350bbd7fb1028a01c7ae8aa *./tests/data/a-mp2.mp2
96130 ./tests/data/a-mp2.mp2 96130 ./tests/data/a-mp2.mp2
74c7b6b15a001add199619fafe4059a1 *./tests/data/mp2.rotozoom.out.wav 74c7b6b15a001add199619fafe4059a1 *./tests/data/mp2.rotozoom.out.wav

View File

@ -182,6 +182,10 @@ stddev: 9.58 PSNR: 28.50 bytes: 7603200/ 7603200
14681925 ./tests/data/a-flashsv.flv 14681925 ./tests/data/a-flashsv.flv
947cb24ec45a453348ae6fe3fa278071 *./tests/data/flashsv.vsynth.out.yuv 947cb24ec45a453348ae6fe3fa278071 *./tests/data/flashsv.vsynth.out.yuv
stddev: 2.85 PSNR: 39.03 bytes: 7603200/ 7603200 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 f6eb0a205350bbd7fb1028a01c7ae8aa *./tests/data/a-mp2.mp2
96130 ./tests/data/a-mp2.mp2 96130 ./tests/data/a-mp2.mp2
74c7b6b15a001add199619fafe4059a1 *./tests/data/mp2.vsynth.out.wav 74c7b6b15a001add199619fafe4059a1 *./tests/data/mp2.vsynth.out.wav