[FFmpeg-cvslog] fate: add tests for stereo3d filter

Paul B Mahol git at videolan.org
Sat Jul 13 22:18:25 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun May 12 23:21:07 2013 +0000| [673d4e82d4c528ac5044e682588d985e466ebc06] | committer: Paul B Mahol

fate: add tests for stereo3d filter

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=673d4e82d4c528ac5044e682588d985e466ebc06
---

 tests/fate/filter-video.mak              |   26 ++++++++++++++++++++++++++
 tests/ref/fate/filter-stereo3d-abr-ml    |    6 ++++++
 tests/ref/fate/filter-stereo3d-abr-mr    |    6 ++++++
 tests/ref/fate/filter-stereo3d-al-sbsl   |    6 ++++++
 tests/ref/fate/filter-stereo3d-ar-abl    |    6 ++++++
 tests/ref/fate/filter-stereo3d-sbsl-abl  |    6 ++++++
 tests/ref/fate/filter-stereo3d-sbsl-abr  |    6 ++++++
 tests/ref/fate/filter-stereo3d-sbsl-al   |    6 ++++++
 tests/ref/fate/filter-stereo3d-sbsl-sbsr |    6 ++++++
 9 files changed, 74 insertions(+)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 42d7516..516966c 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -195,6 +195,32 @@ fate-filter-setdar: CMD = video_filter "setdar=dar=16/9"
 FATE_FILTER_VSYNTH-$(CONFIG_SETSAR_FILTER) += fate-filter-setsar
 fate-filter-setsar: CMD = video_filter "setsar=sar=16/11"
 
+FATE_STEREO3D += fate-filter-stereo3d-al-sbsl
+fate-filter-stereo3d-al-sbsl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=al:sbsl
+
+FATE_STEREO3D += fate-filter-stereo3d-ar-abl
+fate-filter-stereo3d-ar-abl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=ar:abl
+
+FATE_STEREO3D += fate-filter-stereo3d-abr-mr
+fate-filter-stereo3d-abr-mr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=abr:mr
+
+FATE_STEREO3D += fate-filter-stereo3d-abr-ml
+fate-filter-stereo3d-abr-ml: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=abr:ml
+
+FATE_STEREO3D  += fate-filter-stereo3d-sbsl-abl
+fate-filter-stereo3d-sbsl-abl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=sbsl:abl
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-abr
+fate-filter-stereo3d-sbsl-abr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=sbsl:abr
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-al
+fate-filter-stereo3d-sbsl-al: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=sbsl:al
+
+FATE_STEREO3D += fate-filter-stereo3d-sbsl-sbsr
+fate-filter-stereo3d-sbsl-sbsr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=sbsl:sbsr
+
+FATE_FILTER_VSYNTH-$(CONFIG_STEREO3D_FILTER) += $(FATE_STEREO3D)
+
 FATE_FILTER_VSYNTH-$(CONFIG_THUMBNAIL_FILTER) += fate-filter-thumbnail
 fate-filter-thumbnail: CMD = video_filter "thumbnail=10"
 
diff --git a/tests/ref/fate/filter-stereo3d-abr-ml b/tests/ref/fate/filter-stereo3d-abr-ml
new file mode 100644
index 0000000..1ed0fa1
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-abr-ml
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x34769690
+0,          1,          1,        1,   152064, 0xd97fce5a
+0,          2,          2,        1,   152064, 0xbccdc588
+0,          3,          3,        1,   152064, 0xcef0ee1f
+0,          4,          4,        1,   152064, 0x801c76e8
diff --git a/tests/ref/fate/filter-stereo3d-abr-mr b/tests/ref/fate/filter-stereo3d-abr-mr
new file mode 100644
index 0000000..9b71774
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-abr-mr
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x68905a2e
+0,          1,          1,        1,   152064, 0x52e6c8f6
+0,          2,          2,        1,   152064, 0x3aae8670
+0,          3,          3,        1,   152064, 0x8e0b3a3b
+0,          4,          4,        1,   152064, 0xb52a6c9e
diff --git a/tests/ref/fate/filter-stereo3d-al-sbsl b/tests/ref/fate/filter-stereo3d-al-sbsl
new file mode 100644
index 0000000..0ed2596
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-al-sbsl
@@ -0,0 +1,6 @@
+#tb 0: 2/25
+0,          0,          0,        1,   608256, 0x09a9882c
+0,          1,          1,        1,   608256, 0xa6747470
+0,          2,          2,        1,   608256, 0x8c69aeeb
+0,          3,          3,        1,   608256, 0xa9d7e92e
+0,          4,          4,        1,   608256, 0xb1a875a5
diff --git a/tests/ref/fate/filter-stereo3d-ar-abl b/tests/ref/fate/filter-stereo3d-ar-abl
new file mode 100644
index 0000000..96cb337
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-ar-abl
@@ -0,0 +1,6 @@
+#tb 0: 2/25
+0,          0,          0,        1,   608256, 0x925a882c
+0,          1,          1,        1,   608256, 0x3ff67470
+0,          2,          2,        1,   608256, 0x5d1aaeeb
+0,          3,          3,        1,   608256, 0x7e9ee92e
+0,          4,          4,        1,   608256, 0x368375a5
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-abl b/tests/ref/fate/filter-stereo3d-sbsl-abl
new file mode 100644
index 0000000..311b260
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-abl
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   304128, 0x0b37f0be
+0,          1,          1,        1,   304128, 0xc435975f
+0,          2,          2,        1,   304128, 0x6a3b4c07
+0,          3,          3,        1,   304128, 0x31ff2869
+0,          4,          4,        1,   304128, 0xb57ee386
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-abr b/tests/ref/fate/filter-stereo3d-sbsl-abr
new file mode 100644
index 0000000..a2828fc
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-abr
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   304128, 0xb8c2f0be
+0,          1,          1,        1,   304128, 0x913d975f
+0,          2,          2,        1,   304128, 0xd5174c07
+0,          3,          3,        1,   304128, 0xd7932869
+0,          4,          4,        1,   304128, 0xbe9be386
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-al b/tests/ref/fate/filter-stereo3d-sbsl-al
new file mode 100644
index 0000000..5bb1da6
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-al
@@ -0,0 +1,6 @@
+#tb 0: 1/50
+0,          0,          0,        1,   152064, 0x41d6c6b9
+0,          1,          1,        1,   152064, 0x4f9a2a05
+0,          2,          2,        1,   152064, 0xe6a6c4e4
+0,          3,          3,        1,   152064, 0x4a0fd26c
+0,          4,          4,        1,   152064, 0x28cc1830
diff --git a/tests/ref/fate/filter-stereo3d-sbsl-sbsr b/tests/ref/fate/filter-stereo3d-sbsl-sbsr
new file mode 100644
index 0000000..6c167d5
--- /dev/null
+++ b/tests/ref/fate/filter-stereo3d-sbsl-sbsr
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+0,          0,          0,        1,   304128, 0xe722f0be
+0,          1,          1,        1,   304128, 0x2935975f
+0,          2,          2,        1,   304128, 0xd3ce4c07
+0,          3,          3,        1,   304128, 0x475b2869
+0,          4,          4,        1,   304128, 0xf43ce386



More information about the ffmpeg-cvslog mailing list