Browse Source

regtests: add a flashsv2 decoder test limited to keyframes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 13 years ago
parent
commit
a254452472
3 changed files with 10 additions and 1 deletions
  1. 2 1
      tests/codec-regression.sh
  2. 4 0
      tests/ref/vsynth1/flashsv2
  3. 4 0
      tests/ref/vsynth2/flashsv2

+ 2 - 1
tests/codec-regression.sh

@@ -252,7 +252,8 @@ fi
 
 if [ -n "$do_flashsv2" ] ; then
 do_video_encoding flashsv2.flv "-an -vcodec flashsv2 -sws_flags neighbor+full_chroma_int+accurate_rnd+bitexact -strict experimental"
-#do_video_decoding "" "-pix_fmt yuv420p -sws_flags area+accurate_rnd+bitexact"
+do_video_encoding flashsv2I.flv "-an -vcodec flashsv2 -sws_flags neighbor+full_chroma_int+accurate_rnd+bitexact -strict experimental -g 1"
+do_video_decoding "" "-pix_fmt yuv420p -sws_flags area+accurate_rnd+bitexact"
 fi
 
 if [ -n "$do_roq" ] ; then

+ 4 - 0
tests/ref/vsynth1/flashsv2

@@ -1,2 +1,6 @@
 ec13d68cbce263f589fe79bcd2e98364 *./tests/data/vsynth1/flashsv2.flv
 8406137 ./tests/data/vsynth1/flashsv2.flv
+ed28c0021768629b2675e72bf1632426 *./tests/data/vsynth1/flashsv2I.flv
+8755723 ./tests/data/vsynth1/flashsv2I.flv
+efa88d09115a2e947eff00ee435ba3f3 *./tests/data/flashsv2.vsynth1.out.yuv
+stddev:    3.47 PSNR: 37.31 MAXDIFF:   49 bytes:  7603200/  7603200

+ 4 - 0
tests/ref/vsynth2/flashsv2

@@ -1,2 +1,6 @@
 6fbb1cf84d473a93035047c3a3e344ff *./tests/data/vsynth2/flashsv2.flv
 4814443 ./tests/data/vsynth2/flashsv2.flv
+d5a22183d9fe670174340a8a1847e52a *./tests/data/vsynth2/flashsv2I.flv
+5037122 ./tests/data/vsynth2/flashsv2I.flv
+8f63e24049ba1789a7f8353c695a3d99 *./tests/data/flashsv2.vsynth2.out.yuv
+stddev:    2.39 PSNR: 40.55 MAXDIFF:   21 bytes:  7603200/  7603200