[FFmpeg-devel] [PATCH] fate: add cinepak encoder vsynth tests
James Almer
jamrial at gmail.com
Wed Apr 22 22:34:28 CEST 2015
Signed-off-by: James Almer <jamrial at gmail.com>
---
tests/fate/vcodec.mak | 6 +++++-
tests/ref/vsynth/vsynth1-cinepak | 4 ++++
tests/ref/vsynth/vsynth2-cinepak | 4 ++++
tests/ref/vsynth/vsynth_lena-cinepak | 4 ++++
4 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 tests/ref/vsynth/vsynth1-cinepak
create mode 100644 tests/ref/vsynth/vsynth2-cinepak
create mode 100644 tests/ref/vsynth/vsynth_lena-cinepak
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 0aba87b..1ad5e96 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -18,6 +18,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, MOV) += cinepak
+fate-vsynth%-cinepak: ENCOPTS = -vcodec cinepak -frames 3
+fate-vsynth%-cinepak: FMT = mov
+
FATE_VCODEC-$(call ENCDEC, CLJR, AVI) += cljr
fate-vsynth%-cljr: ENCOPTS = -strict -1
@@ -320,7 +324,7 @@ FATE_VSYNTH_LENA = $(FATE_VCODEC:%=fate-vsynth_lena-%)
RESIZE_OFF = dnxhd-720p dnxhd-720p-rd dnxhd-720p-10bit dnxhd-1080i \
dv dv-411 dv-50 avui snow snow-hpel snow-ll
# Incorrect parameters - usually size or color format restrictions
-INC_PAR_OFF = h261 h261-trellis h263 h263p h263-obmc msvideo1 \
+INC_PAR_OFF = cinepak h261 h261-trellis h263 h263p h263-obmc msvideo1 \
roqvideo rv10 rv20 y41p qtrlegray
VSYNTH3_OFF = $(RESIZE_OFF) $(INC_PAR_OFF)
diff --git a/tests/ref/vsynth/vsynth1-cinepak b/tests/ref/vsynth/vsynth1-cinepak
new file mode 100644
index 0000000..f1dfcd8
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-cinepak
@@ -0,0 +1,4 @@
+546c7c1069f9e418aa787f469b693b94 *tests/data/fate/vsynth1-cinepak.mov
+99465 tests/data/fate/vsynth1-cinepak.mov
+bee091c200262be3427a233a2812388c *tests/data/fate/vsynth1-cinepak.out.rawvideo
+stddev: 8.46 PSNR: 29.58 MAXDIFF: 105 bytes: 7603200/ 456192
diff --git a/tests/ref/vsynth/vsynth2-cinepak b/tests/ref/vsynth/vsynth2-cinepak
new file mode 100644
index 0000000..18eb1d5
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-cinepak
@@ -0,0 +1,4 @@
+cc0879f1993cdd6231e2c3b9c2c015a0 *tests/data/fate/vsynth2-cinepak.mov
+88400 tests/data/fate/vsynth2-cinepak.mov
+12c480911ebb89762dc49af003b176c7 *tests/data/fate/vsynth2-cinepak.out.rawvideo
+stddev: 5.07 PSNR: 34.02 MAXDIFF: 59 bytes: 7603200/ 456192
diff --git a/tests/ref/vsynth/vsynth_lena-cinepak b/tests/ref/vsynth/vsynth_lena-cinepak
new file mode 100644
index 0000000..39b1d68
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-cinepak
@@ -0,0 +1,4 @@
+e3837018f84929f07019ae2eccd303e2 *tests/data/fate/vsynth_lena-cinepak.mov
+88900 tests/data/fate/vsynth_lena-cinepak.mov
+f54ffa70f335ac7b701d7ae34462e001 *tests/data/fate/vsynth_lena-cinepak.out.rawvideo
+stddev: 4.09 PSNR: 35.88 MAXDIFF: 46 bytes: 7603200/ 456192
--
2.3.5
More information about the ffmpeg-devel
mailing list