From a2544524721c1f9e23e568645d7d0b041c270636 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 20 Sep 2011 01:12:42 +0200 Subject: [PATCH] regtests: add a flashsv2 decoder test limited to keyframes Signed-off-by: Michael Niedermayer --- tests/codec-regression.sh | 3 ++- tests/ref/vsynth1/flashsv2 | 4 ++++ tests/ref/vsynth2/flashsv2 | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) 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 -- GitLab