aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-06-28 00:27:19 +0200
committerDiego Biurrun <diego@biurrun.de>2017-07-05 13:05:54 +0200
commit5be9939b46a6a4d3860a1b1a872aa50897095970 (patch)
treebcf53e8b5b43da5134d2ee8ffc60e9520e65c0d9
parented3b2a999d189771c9b0ada9a9200117595fa474 (diff)
downloadffmpeg-5be9939b46a6a4d3860a1b1a872aa50897095970.tar.gz
fate: Add cinepak encoder vsynth tests
-rw-r--r--tests/fate/vcodec.mak4
-rw-r--r--tests/ref/vsynth/vsynth1-cinepak4
-rw-r--r--tests/ref/vsynth/vsynth2-cinepak4
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index e195254a48..490da55511 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -12,6 +12,10 @@ fate-vsynth%-asv1: ENCOPTS = -qscale 10
FATE_VCODEC-$(call ENCDEC, ASV2, AVI) += asv2
fate-vsynth%-asv2: ENCOPTS = -qscale 10
+FATE_VCODEC-$(call ENCDEC, CINEPAK, AVI) += cinepak
+fate-vsynth%-cinepak: ENCOPTS = -s sqcif -strip_number_adaptivity 1
+fate-vsynth%-cinepak: DECOPTS = -s sqcif
+
FATE_VCODEC-$(call ENCDEC, CLJR, AVI) += cljr
FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p \
diff --git a/tests/ref/vsynth/vsynth1-cinepak b/tests/ref/vsynth/vsynth1-cinepak
new file mode 100644
index 0000000000..09ba81aef3
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-cinepak
@@ -0,0 +1,4 @@
+c2198279f3ccf18eb029875c98231073 *tests/data/fate/vsynth1-cinepak.avi
+408612 tests/data/fate/vsynth1-cinepak.avi
+fdcc7e515ff0bea5203d1ed9bfa7514c *tests/data/fate/vsynth1-cinepak.out.rawvideo
+stddev: 64.04 PSNR: 12.00 MAXDIFF: 238 bytes: 7603200/ 921600
diff --git a/tests/ref/vsynth/vsynth2-cinepak b/tests/ref/vsynth/vsynth2-cinepak
new file mode 100644
index 0000000000..c1ff48d109
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-cinepak
@@ -0,0 +1,4 @@
+722bab34b13b33e46dbbdd47985049f3 *tests/data/fate/vsynth2-cinepak.avi
+400398 tests/data/fate/vsynth2-cinepak.avi
+c59f0419068f0071476d037abd2ccde2 *tests/data/fate/vsynth2-cinepak.out.rawvideo
+stddev: 87.20 PSNR: 9.32 MAXDIFF: 247 bytes: 7603200/ 921600