fate: add tests for vectorscope filter
authorPaul B Mahol <onemda@gmail.com>
Mon, 24 Aug 2015 07:43:04 +0000 (07:43 +0000)
committerPaul B Mahol <onemda@gmail.com>
Tue, 25 Aug 2015 10:13:03 +0000 (10:13 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tests/fate/filter-video.mak
tests/ref/fate/filter-vectorscope_color [new file with mode: 0644]
tests/ref/fate/filter-vectorscope_color2 [new file with mode: 0644]
tests/ref/fate/filter-vectorscope_color3 [new file with mode: 0644]
tests/ref/fate/filter-vectorscope_gray [new file with mode: 0644]
tests/ref/fate/filter-vectorscope_xy [new file with mode: 0644]

index 8aa4198..5bd5c98 100644 (file)
@@ -123,6 +123,21 @@ fate-filter-waveform_envelope: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform
 FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_uv
 fate-filter-waveform_uv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=c=6 -flags +bitexact -sws_flags +accurate_rnd+bitexact
 
+FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_gray
+fate-filter-vectorscope_gray: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=gray -sws_flags +accurate_rnd+bitexact -vframes 3
+
+FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color
+fate-filter-vectorscope_color: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color -sws_flags +accurate_rnd+bitexact -vframes 3
+
+FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color2
+fate-filter-vectorscope_color2: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color2 -sws_flags +accurate_rnd+bitexact -vframes 3
+
+FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color3
+fate-filter-vectorscope_color3: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color3 -sws_flags +accurate_rnd+bitexact -vframes 3
+
+FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_xy
+fate-filter-vectorscope_xy: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=x=0:y=1 -sws_flags +accurate_rnd+bitexact -vframes 3
+
 FATE_FILTER_VSYNTH-$(CONFIG_MERGEPLANES_FILTER) += fate-filter-mergeplanes
 fate-filter-mergeplanes: tests/data/filtergraphs/mergeplanes
 fate-filter-mergeplanes: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/mergeplanes
diff --git a/tests/ref/fate/filter-vectorscope_color b/tests/ref/fate/filter-vectorscope_color
new file mode 100644 (file)
index 0000000..40165b6
--- /dev/null
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   196608, 0x9d705c63
+0,          1,          1,        1,   196608, 0x9fbf6f2c
+0,          2,          2,        1,   196608, 0x257b7290
diff --git a/tests/ref/fate/filter-vectorscope_color2 b/tests/ref/fate/filter-vectorscope_color2
new file mode 100644 (file)
index 0000000..be69443
--- /dev/null
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   196608, 0x9bfcfae5
+0,          1,          1,        1,   196608, 0x1ac6fcbf
+0,          2,          2,        1,   196608, 0x31cb1088
diff --git a/tests/ref/fate/filter-vectorscope_color3 b/tests/ref/fate/filter-vectorscope_color3
new file mode 100644 (file)
index 0000000..f297efd
--- /dev/null
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   196608, 0x6e698770
+0,          1,          1,        1,   196608, 0x374d74a7
+0,          2,          2,        1,   196608, 0x3d817143
diff --git a/tests/ref/fate/filter-vectorscope_gray b/tests/ref/fate/filter-vectorscope_gray
new file mode 100644 (file)
index 0000000..ed41cc0
--- /dev/null
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   196608, 0x8e4171e2
+0,          1,          1,        1,   196608, 0xf3d371e2
+0,          2,          2,        1,   196608, 0xb9cb71e2
diff --git a/tests/ref/fate/filter-vectorscope_xy b/tests/ref/fate/filter-vectorscope_xy
new file mode 100644 (file)
index 0000000..6a4b8f8
--- /dev/null
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   196608, 0xa0939af1
+0,          1,          1,        1,   196608, 0x43699af1
+0,          2,          2,        1,   196608, 0x69a19af1