From 500bf397153a7597ebd7bf2b410d71c6e8706198 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 29 Apr 2011 21:53:25 +0200 Subject: [PATCH] flashsv2enc: regression test. Signed-off-by: Michael Niedermayer --- tests/codec-regression.sh | 5 +++++ tests/ref/vsynth1/flashsv2 | 2 ++ tests/ref/vsynth2/flashsv2 | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 tests/ref/vsynth1/flashsv2 create mode 100644 tests/ref/vsynth2/flashsv2 diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh index b705bc188d..2525e6cc1a 100755 --- a/tests/codec-regression.sh +++ b/tests/codec-regression.sh @@ -243,6 +243,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_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" +fi + if [ -n "$do_roq" ] ; then do_video_encoding roqav.roq "" "-vframes 5" do_video_decoding "" "-pix_fmt yuv420p" diff --git a/tests/ref/vsynth1/flashsv2 b/tests/ref/vsynth1/flashsv2 new file mode 100644 index 0000000000..0df3f47c18 --- /dev/null +++ b/tests/ref/vsynth1/flashsv2 @@ -0,0 +1,2 @@ +ec13d68cbce263f589fe79bcd2e98364 *./tests/data/vsynth1/flashsv2.flv +8406137 ./tests/data/vsynth1/flashsv2.flv diff --git a/tests/ref/vsynth2/flashsv2 b/tests/ref/vsynth2/flashsv2 new file mode 100644 index 0000000000..93f429b7d7 --- /dev/null +++ b/tests/ref/vsynth2/flashsv2 @@ -0,0 +1,2 @@ +6fbb1cf84d473a93035047c3a3e344ff *./tests/data/vsynth2/flashsv2.flv +4814443 ./tests/data/vsynth2/flashsv2.flv