Attached patch adds some FATE tests for FFV1 level 3 with different
bits-per-sample.
>From aee3721703e8530bb71f85daf4b4438ed170f612 Mon Sep 17 00:00:00 2001
From: Tobias Rapp <t.r...@noa-audio.com>
Date: Fri, 19 Jun 2015 14:30:27 +0200
Subject: [PATCH] fate: add some tests for ffv1 level 3 with 8/10/16 bps
---
tests/fate/vcodec.mak | 6 +++++-
tests/ref/vsynth/vsynth1-ffv1.3-420 | 4 ++++
tests/ref/vsynth/vsynth1-ffv1.3-422p10 | 4 ++++
tests/ref/vsynth/vsynth1-ffv1.3-444p16 | 4 ++++
tests/ref/vsynth/vsynth1-ffv1.3-bgr | 4 ++++
tests/ref/vsynth/vsynth2-ffv1.3-420 | 4 ++++
tests/ref/vsynth/vsynth2-ffv1.3-422p10 | 4 ++++
tests/ref/vsynth/vsynth2-ffv1.3-444p16 | 4 ++++
tests/ref/vsynth/vsynth2-ffv1.3-bgr | 4 ++++
tests/ref/vsynth/vsynth3-ffv1.3-420 | 4 ++++
tests/ref/vsynth/vsynth3-ffv1.3-422p10 | 4 ++++
tests/ref/vsynth/vsynth3-ffv1.3-444p16 | 4 ++++
tests/ref/vsynth/vsynth3-ffv1.3-bgr | 4 ++++
tests/ref/vsynth/vsynth_lena-ffv1.3-420 | 4 ++++
tests/ref/vsynth/vsynth_lena-ffv1.3-422p10 | 4 ++++
tests/ref/vsynth/vsynth_lena-ffv1.3-444p16 | 4 ++++
tests/ref/vsynth/vsynth_lena-ffv1.3-bgr | 4 ++++
17 files changed, 69 insertions(+), 1 deletion(-)
create mode 100644 tests/ref/vsynth/vsynth1-ffv1.3-420
create mode 100644 tests/ref/vsynth/vsynth1-ffv1.3-422p10
create mode 100644 tests/ref/vsynth/vsynth1-ffv1.3-444p16
create mode 100644 tests/ref/vsynth/vsynth1-ffv1.3-bgr
create mode 100644 tests/ref/vsynth/vsynth2-ffv1.3-420
create mode 100644 tests/ref/vsynth/vsynth2-ffv1.3-422p10
create mode 100644 tests/ref/vsynth/vsynth2-ffv1.3-444p16
create mode 100644 tests/ref/vsynth/vsynth2-ffv1.3-bgr
create mode 100644 tests/ref/vsynth/vsynth3-ffv1.3-420
create mode 100644 tests/ref/vsynth/vsynth3-ffv1.3-422p10
create mode 100644 tests/ref/vsynth/vsynth3-ffv1.3-444p16
create mode 100644 tests/ref/vsynth/vsynth3-ffv1.3-bgr
create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1.3-420
create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1.3-422p10
create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1.3-444p16
create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1.3-bgr
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 1ad5e96..b5d96cb 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -68,9 +68,13 @@ fate-vsynth%-dv-50: ENCOPTS = -dct int -s pal -pix_fmt yuv422p \
fate-vsynth%-dv-50: DECOPTS = -sws_flags neighbor
fate-vsynth%-dv-50: FMT = dv
-FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1.0
+FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1.0 ffv1.3-420 ffv1.3-422p10 ffv1.3-444p16 ffv1.3-bgr
fate-vsynth%-ffv1: ENCOPTS = -slices 4
fate-vsynth%-ffv1.0: CODEC = ffv1
+fate-vsynth%-ffv1.3-420: ENCOPTS = -vcodec ffv1 -level 3 -pix_fmt yuv420p
+fate-vsynth%-ffv1.3-422p10: ENCOPTS = -vcodec ffv1 -level 3 -pix_fmt yuv422p10le
+fate-vsynth%-ffv1.3-444p16: ENCOPTS = -vcodec ffv1 -level 3 -pix_fmt yuv444p16le
+fate-vsynth%-ffv1.3-bgr: ENCOPTS = -vcodec ffv1 -level 3 -pix_fmt bgr0
FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff444p16
fate-vsynth%-ffvhuff444: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv444p
diff --git a/tests/ref/vsynth/vsynth1-ffv1.3-420 b/tests/ref/vsynth/vsynth1-ffv1.3-420
new file mode 100644
index 0000000..08c5764
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-ffv1.3-420
@@ -0,0 +1,4 @@
+26b1296a0ef80a3b5c8b63cc57c52bc2 *tests/data/fate/vsynth1-ffv1.3-420.avi
+2691268 tests/data/fate/vsynth1-ffv1.3-420.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-ffv1.3-420.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth1-ffv1.3-422p10 b/tests/ref/vsynth/vsynth1-ffv1.3-422p10
new file mode 100644
index 0000000..d9277a6
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-ffv1.3-422p10
@@ -0,0 +1,4 @@
+b13f8fe6c5e5dc227a7fa631849b7e57 *tests/data/fate/vsynth1-ffv1.3-422p10.avi
+4232950 tests/data/fate/vsynth1-ffv1.3-422p10.avi
+c31e6caada921ffa3daad3432ef3b754 *tests/data/fate/vsynth1-ffv1.3-422p10.out.rawvideo
+stddev: 1.85 PSNR: 42.78 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth1-ffv1.3-444p16 b/tests/ref/vsynth/vsynth1-ffv1.3-444p16
new file mode 100644
index 0000000..686c18c
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-ffv1.3-444p16
@@ -0,0 +1,4 @@
+275437a8871af0b31c995b22656ae6db *tests/data/fate/vsynth1-ffv1.3-444p16.avi
+17491876 tests/data/fate/vsynth1-ffv1.3-444p16.avi
+ee8379fa217dfd023de3aa6974a14d1e *tests/data/fate/vsynth1-ffv1.3-444p16.out.rawvideo
+stddev: 2.66 PSNR: 39.62 MAXDIFF: 44 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth1-ffv1.3-bgr b/tests/ref/vsynth/vsynth1-ffv1.3-bgr
new file mode 100644
index 0000000..524c4e2
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-ffv1.3-bgr
@@ -0,0 +1,4 @@
+62491035067ee776de861d612c92ecc1 *tests/data/fate/vsynth1-ffv1.3-bgr.avi
+7523800 tests/data/fate/vsynth1-ffv1.3-bgr.avi
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-ffv1.3-bgr.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-ffv1.3-420 b/tests/ref/vsynth/vsynth2-ffv1.3-420
new file mode 100644
index 0000000..9490778
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-ffv1.3-420
@@ -0,0 +1,4 @@
+6d7b6352f49e21153bb891df411e60ec *tests/data/fate/vsynth2-ffv1.3-420.avi
+3718026 tests/data/fate/vsynth2-ffv1.3-420.avi
+36d7ca943916e1743cefa609eba0205c *tests/data/fate/vsynth2-ffv1.3-420.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-ffv1.3-422p10 b/tests/ref/vsynth/vsynth2-ffv1.3-422p10
new file mode 100644
index 0000000..2eb82a4
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-ffv1.3-422p10
@@ -0,0 +1,4 @@
+b6049e5c13cf9996e3cb1b89833ebf7a *tests/data/fate/vsynth2-ffv1.3-422p10.avi
+5554840 tests/data/fate/vsynth2-ffv1.3-422p10.avi
+8bb1c449e1a2a94fd0d98841c04246bb *tests/data/fate/vsynth2-ffv1.3-422p10.out.rawvideo
+stddev: 0.39 PSNR: 56.17 MAXDIFF: 9 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-ffv1.3-444p16 b/tests/ref/vsynth/vsynth2-ffv1.3-444p16
new file mode 100644
index 0000000..ba3e775
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-ffv1.3-444p16
@@ -0,0 +1,4 @@
+b6d2303550a3361a1fdb76ee6a2e34cb *tests/data/fate/vsynth2-ffv1.3-444p16.avi
+16081422 tests/data/fate/vsynth2-ffv1.3-444p16.avi
+410af07de7ae21936aaeae03fc90cbc9 *tests/data/fate/vsynth2-ffv1.3-444p16.out.rawvideo
+stddev: 0.53 PSNR: 53.63 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-ffv1.3-bgr b/tests/ref/vsynth/vsynth2-ffv1.3-bgr
new file mode 100644
index 0000000..cdba596
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-ffv1.3-bgr
@@ -0,0 +1,4 @@
+27cb418b97076bd7ba27393dd0bfc920 *tests/data/fate/vsynth2-ffv1.3-bgr.avi
+6564550 tests/data/fate/vsynth2-ffv1.3-bgr.avi
+32fae3e665407bb4317b3f90fedb903c *tests/data/fate/vsynth2-ffv1.3-bgr.out.rawvideo
+stddev: 1.54 PSNR: 44.37 MAXDIFF: 17 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth3-ffv1.3-420 b/tests/ref/vsynth/vsynth3-ffv1.3-420
new file mode 100644
index 0000000..99bfd66
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-ffv1.3-420
@@ -0,0 +1,4 @@
+f969ca8542c8384c27233f362b661f8a *tests/data/fate/vsynth3-ffv1.3-420.avi
+62194 tests/data/fate/vsynth3-ffv1.3-420.avi
+a038ad7c3c09f776304ef7accdea9c74 *tests/data/fate/vsynth3-ffv1.3-420.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth3-ffv1.3-422p10 b/tests/ref/vsynth/vsynth3-ffv1.3-422p10
new file mode 100644
index 0000000..f078500
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-ffv1.3-422p10
@@ -0,0 +1,4 @@
+7c721e6e9441f9bd5a991edb3be520da *tests/data/fate/vsynth3-ffv1.3-422p10.avi
+87774 tests/data/fate/vsynth3-ffv1.3-422p10.avi
+0cf7cf68724fa5146b1667e4fa08b0e1 *tests/data/fate/vsynth3-ffv1.3-422p10.out.rawvideo
+stddev: 2.12 PSNR: 41.58 MAXDIFF: 26 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth3-ffv1.3-444p16 b/tests/ref/vsynth/vsynth3-ffv1.3-444p16
new file mode 100644
index 0000000..b3e5b7c
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-ffv1.3-444p16
@@ -0,0 +1,4 @@
+e80b11aef8d6b455c9402b843dab5ecb *tests/data/fate/vsynth3-ffv1.3-444p16.avi
+244018 tests/data/fate/vsynth3-ffv1.3-444p16.avi
+e5933e1e6dbacddb78e6d90cd5ed2b5d *tests/data/fate/vsynth3-ffv1.3-444p16.out.rawvideo
+stddev: 3.06 PSNR: 38.40 MAXDIFF: 40 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth3-ffv1.3-bgr b/tests/ref/vsynth/vsynth3-ffv1.3-bgr
new file mode 100644
index 0000000..fdf6a55
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-ffv1.3-bgr
@@ -0,0 +1,4 @@
+adfa35278b8f8f8442b7e666948b418d *tests/data/fate/vsynth3-ffv1.3-bgr.avi
+118474 tests/data/fate/vsynth3-ffv1.3-bgr.avi
+693aff10c094f8bd31693f74cf79d2b2 *tests/data/fate/vsynth3-ffv1.3-bgr.out.rawvideo
+stddev: 3.67 PSNR: 36.82 MAXDIFF: 43 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth_lena-ffv1.3-420 b/tests/ref/vsynth/vsynth_lena-ffv1.3-420
new file mode 100644
index 0000000..db00ba1
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-ffv1.3-420
@@ -0,0 +1,4 @@
+ed72c22374718589ffacd7ea15424687 *tests/data/fate/vsynth_lena-ffv1.3-420.avi
+3547792 tests/data/fate/vsynth_lena-ffv1.3-420.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth_lena-ffv1.3-420.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth_lena-ffv1.3-422p10 b/tests/ref/vsynth/vsynth_lena-ffv1.3-422p10
new file mode 100644
index 0000000..b523b3b
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-ffv1.3-422p10
@@ -0,0 +1,4 @@
+4ed38c1f370c1064be6167d1d6c1e925 *tests/data/fate/vsynth_lena-ffv1.3-422p10.avi
+5308734 tests/data/fate/vsynth_lena-ffv1.3-422p10.avi
+a627fb50c8276200fd71383977d87ca3 *tests/data/fate/vsynth_lena-ffv1.3-422p10.out.rawvideo
+stddev: 0.34 PSNR: 57.43 MAXDIFF: 6 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth_lena-ffv1.3-444p16 b/tests/ref/vsynth/vsynth_lena-ffv1.3-444p16
new file mode 100644
index 0000000..dbf4374
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-ffv1.3-444p16
@@ -0,0 +1,4 @@
+edae776367ec33cb06bbd62604949125 *tests/data/fate/vsynth_lena-ffv1.3-444p16.avi
+16053112 tests/data/fate/vsynth_lena-ffv1.3-444p16.avi
+05ccd9a38f9726030b3099c0c99d3a13 *tests/data/fate/vsynth_lena-ffv1.3-444p16.out.rawvideo
+stddev: 0.45 PSNR: 55.06 MAXDIFF: 7 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth_lena-ffv1.3-bgr b/tests/ref/vsynth/vsynth_lena-ffv1.3-bgr
new file mode 100644
index 0000000..1d1cb00
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-ffv1.3-bgr
@@ -0,0 +1,4 @@
+c5254b1e9d095595767422d8821da4e0 *tests/data/fate/vsynth_lena-ffv1.3-bgr.avi
+6258730 tests/data/fate/vsynth_lena-ffv1.3-bgr.avi
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth_lena-ffv1.3-bgr.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
--
1.9.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel