fate: add tests for stereo3d filter
authorPaul B Mahol <onemda@gmail.com>
Sun, 12 May 2013 23:21:07 +0000 (23:21 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sat, 13 Jul 2013 05:41:04 +0000 (05:41 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tests/fate/filter-video.mak
tests/ref/fate/filter-stereo3d-abr-ml [new file with mode: 0644]
tests/ref/fate/filter-stereo3d-abr-mr [new file with mode: 0644]
tests/ref/fate/filter-stereo3d-al-sbsl [new file with mode: 0644]
tests/ref/fate/filter-stereo3d-ar-abl [new file with mode: 0644]
tests/ref/fate/filter-stereo3d-sbsl-abl [new file with mode: 0644]
tests/ref/fate/filter-stereo3d-sbsl-abr [new file with mode: 0644]
tests/ref/fate/filter-stereo3d-sbsl-al [new file with mode: 0644]
tests/ref/fate/filter-stereo3d-sbsl-sbsr [new file with mode: 0644]

index 42d7516..516966c 100644 (file)
@@ -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 (file)
index 0000000..1ed0fa1
--- /dev/null
@@ -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 (file)
index 0000000..9b71774
--- /dev/null
@@ -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 (file)
index 0000000..0ed2596
--- /dev/null
@@ -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 (file)
index 0000000..96cb337
--- /dev/null
@@ -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 (file)
index 0000000..311b260
--- /dev/null
@@ -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 (file)
index 0000000..a2828fc
--- /dev/null
@@ -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 (file)
index 0000000..5bb1da6
--- /dev/null
@@ -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 (file)
index 0000000..6c167d5
--- /dev/null
@@ -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