[FFmpeg-devel] [PATCH] fate: add tests for stereo3d anaglyph modes

Paul B Mahol onemda at gmail.com
Sun Jul 12 01:07:32 CEST 2015


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 tests/fate/filter-video.mak              | 43 ++++++++++++++++++++++++++++++++
 tests/ref/fate/filter-stereo3d-sbsl-agmc |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-agmd |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-agmg |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-agmh |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-arbg |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-arcc |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-arcd |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-arcg |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-arch |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-argg |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-aybc |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-aybd |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-aybg |  6 +++++
 tests/ref/fate/filter-stereo3d-sbsl-aybh |  6 +++++
 15 files changed, 127 insertions(+)
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-agmc
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-agmd
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-agmg
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-agmh
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-arbg
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-arcc
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-arcd
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-arcg
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-arch
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-argg
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-aybc
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-aybd
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-aybg
 create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-aybh

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 76fa0f2..e8e9d78 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -393,6 +393,49 @@ fate-filter-stereo3d-sbsl-al: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -f
 FATE_STEREO3D += fate-filter-stereo3d-sbsl-sbsr
 fate-filter-stereo3d-sbsl-sbsr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:sbsr
 
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-agmc
+fate-filter-stereo3d-sbsl-agmc: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:agmc
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-agmd
+fate-filter-stereo3d-sbsl-agmd: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:agmd
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-agmg
+fate-filter-stereo3d-sbsl-agmg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:agmg
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-agmh
+fate-filter-stereo3d-sbsl-agmh: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:agmh
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-arbg
+fate-filter-stereo3d-sbsl-arbg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arbg
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-arcc
+fate-filter-stereo3d-sbsl-arcc: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arcc
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-arcd
+fate-filter-stereo3d-sbsl-arcd: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arcd
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-arcg
+fate-filter-stereo3d-sbsl-arcg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arcg
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-arch
+fate-filter-stereo3d-sbsl-arch: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arch
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-argg
+fate-filter-stereo3d-sbsl-argg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:argg
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-aybc
+fate-filter-stereo3d-sbsl-aybc: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:aybc
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-aybd
+fate-filter-stereo3d-sbsl-aybd: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:aybd
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-aybg
+fate-filter-stereo3d-sbsl-aybg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:aybg
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-aybh
+fate-filter-stereo3d-sbsl-aybh: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:aybh
+
+fate-filter-stereo3d: $(FATE_STEREO3D)
 FATE_FILTER_VSYNTH-$(CONFIG_STEREO3D_FILTER) += $(FATE_STEREO3D)
 
 FATE_FILTER_VSYNTH-$(CONFIG_THUMBNAIL_FILTER) += fate-filter-thumbnail
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-agmc b/tests/ref/fate/filter-stereo3d-sbsl-agmc
new file mode 100644
index 0000000..3a515b8
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-agmc
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0xa950d0d9
+0,          1,          1,        1,   152064, 0x6a6933c3
+0,          2,          2,        1,   152064, 0x66a1da3a
+0,          3,          3,        1,   152064, 0xe591aa12
+0,          4,          4,        1,   152064, 0x42413288
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-agmd b/tests/ref/fate/filter-stereo3d-sbsl-agmd
new file mode 100644
index 0000000..7d188d4
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-agmd
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x962d1371
+0,          1,          1,        1,   152064, 0xe7db1d51
+0,          2,          2,        1,   152064, 0x3bb0c409
+0,          3,          3,        1,   152064, 0xcc213557
+0,          4,          4,        1,   152064, 0x913e1048
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-agmg b/tests/ref/fate/filter-stereo3d-sbsl-agmg
new file mode 100644
index 0000000..3cae6f3
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-agmg
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x45a6c9a8
+0,          1,          1,        1,   152064, 0xe7ba65fc
+0,          2,          2,        1,   152064, 0x88ab8fcc
+0,          3,          3,        1,   152064, 0x91478b9d
+0,          4,          4,        1,   152064, 0xb7ecc7cf
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-agmh b/tests/ref/fate/filter-stereo3d-sbsl-agmh
new file mode 100644
index 0000000..e6853a6
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-agmh
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x96464057
+0,          1,          1,        1,   152064, 0x58c4e280
+0,          2,          2,        1,   152064, 0xaf76fd24
+0,          3,          3,        1,   152064, 0xa4dacf0d
+0,          4,          4,        1,   152064, 0x964a2110
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-arbg b/tests/ref/fate/filter-stereo3d-sbsl-arbg
new file mode 100644
index 0000000..1e87271
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-arbg
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x4d83ea30
+0,          1,          1,        1,   152064, 0xa4a3be5b
+0,          2,          2,        1,   152064, 0x21032989
+0,          3,          3,        1,   152064, 0xa201194b
+0,          4,          4,        1,   152064, 0x9b7980cc
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-arcc b/tests/ref/fate/filter-stereo3d-sbsl-arcc
new file mode 100644
index 0000000..56f17fd
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-arcc
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x2760b14a
+0,          1,          1,        1,   152064, 0xcf94baaf
+0,          2,          2,        1,   152064, 0x9b5e0e0a
+0,          3,          3,        1,   152064, 0x6bfb8127
+0,          4,          4,        1,   152064, 0xa0293fed
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-arcd b/tests/ref/fate/filter-stereo3d-sbsl-arcd
new file mode 100644
index 0000000..fd9806b
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-arcd
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0xa0261570
+0,          1,          1,        1,   152064, 0x678403c8
+0,          2,          2,        1,   152064, 0x1087e7b6
+0,          3,          3,        1,   152064, 0xa3909df3
+0,          4,          4,        1,   152064, 0x87e4c4d4
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-arcg b/tests/ref/fate/filter-stereo3d-sbsl-arcg
new file mode 100644
index 0000000..68f3f54
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-arcg
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x70f5c9a8
+0,          1,          1,        1,   152064, 0x56f165fc
+0,          2,          2,        1,   152064, 0xe59f8fcc
+0,          3,          3,        1,   152064, 0xc5df8b9d
+0,          4,          4,        1,   152064, 0xaab2c7cf
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-arch b/tests/ref/fate/filter-stereo3d-sbsl-arch
new file mode 100644
index 0000000..9c2fcd1
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-arch
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x81ab8dad
+0,          1,          1,        1,   152064, 0x820fd98a
+0,          2,          2,        1,   152064, 0x1ccc712b
+0,          3,          3,        1,   152064, 0x0d278740
+0,          4,          4,        1,   152064, 0x13eaa8e2
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-argg b/tests/ref/fate/filter-stereo3d-sbsl-argg
new file mode 100644
index 0000000..91fb064
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-argg
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x2cfbea30
+0,          1,          1,        1,   152064, 0x4c44be5b
+0,          2,          2,        1,   152064, 0x87462989
+0,          3,          3,        1,   152064, 0x1462194b
+0,          4,          4,        1,   152064, 0xe27c80cc
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-aybc b/tests/ref/fate/filter-stereo3d-sbsl-aybc
new file mode 100644
index 0000000..72bd15c
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-aybc
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0xae8c985d
+0,          1,          1,        1,   152064, 0x489e1535
+0,          2,          2,        1,   152064, 0x01a83b2b
+0,          3,          3,        1,   152064, 0x3870ffd6
+0,          4,          4,        1,   152064, 0x3d5b0cc4
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-aybd b/tests/ref/fate/filter-stereo3d-sbsl-aybd
new file mode 100644
index 0000000..d963480
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-aybd
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x7dc98468
+0,          1,          1,        1,   152064, 0xf72db6c9
+0,          2,          2,        1,   152064, 0x1630f53f
+0,          3,          3,        1,   152064, 0xc1765599
+0,          4,          4,        1,   152064, 0x12e35db1
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-aybg b/tests/ref/fate/filter-stereo3d-sbsl-aybg
new file mode 100644
index 0000000..53f7f72
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-aybg
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x1a57c9a8
+0,          1,          1,        1,   152064, 0x789265fc
+0,          2,          2,        1,   152064, 0x2bb78fcc
+0,          3,          3,        1,   152064, 0x5caf8b9d
+0,          4,          4,        1,   152064, 0xc526c7cf
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-aybh b/tests/ref/fate/filter-stereo3d-sbsl-aybh
new file mode 100644
index 0000000..c6fdd14
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-aybh
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0xf3ee182f
+0,          1,          1,        1,   152064, 0x8b1c25f1
+0,          2,          2,        1,   152064, 0xe78de2ac
+0,          3,          3,        1,   152064, 0x3eb08db6
+0,          4,          4,        1,   152064, 0x852eae5c
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list