aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-20 01:12:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-20 01:12:42 +0200
commita2544524721c1f9e23e568645d7d0b041c270636 (patch)
tree381aea15715db4fbdc42ca38346ef11974db7567
parenta6186f3a0006d43950aaa5416b7e71c4b82f49f5 (diff)
downloadffmpeg-a2544524721c1f9e23e568645d7d0b041c270636.tar.gz
regtests: add a flashsv2 decoder test limited to keyframes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xtests/codec-regression.sh3
-rw-r--r--tests/ref/vsynth1/flashsv24
-rw-r--r--tests/ref/vsynth2/flashsv24
3 files changed, 10 insertions, 1 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index f7c9d43ee8..d89737b164 100755
--- a/tests/codec-regression.sh
+++ b/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
diff --git a/tests/ref/vsynth1/flashsv2 b/tests/ref/vsynth1/flashsv2
index 0df3f47c18..6c43bda56e 100644
--- a/tests/ref/vsynth1/flashsv2
+++ b/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
diff --git a/tests/ref/vsynth2/flashsv2 b/tests/ref/vsynth2/flashsv2
index 93f429b7d7..b40988a329 100644
--- a/tests/ref/vsynth2/flashsv2
+++ b/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