diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-08-24 07:43:04 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-08-25 10:13:03 +0000 |
commit | 1b1c4030ea86bd0f6ca877d6ef5ea7fcdd72db4e (patch) | |
tree | 27c4a4ea1bc638a22db123cd9777134669f480c4 | |
parent | 91619d195b371d9f8f39268fc00b9456f2fb8974 (diff) | |
download | ffmpeg-1b1c4030ea86bd0f6ca877d6ef5ea7fcdd72db4e.tar.gz |
fate: add tests for vectorscope filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | tests/fate/filter-video.mak | 15 | ||||
-rw-r--r-- | tests/ref/fate/filter-vectorscope_color | 4 | ||||
-rw-r--r-- | tests/ref/fate/filter-vectorscope_color2 | 4 | ||||
-rw-r--r-- | tests/ref/fate/filter-vectorscope_color3 | 4 | ||||
-rw-r--r-- | tests/ref/fate/filter-vectorscope_gray | 4 | ||||
-rw-r--r-- | tests/ref/fate/filter-vectorscope_xy | 4 |
6 files changed, 35 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 8aa419815b..5bd5c98cf4 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -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 index 0000000000..40165b6b0f --- /dev/null +++ b/tests/ref/fate/filter-vectorscope_color @@ -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 index 0000000000..be69443e76 --- /dev/null +++ b/tests/ref/fate/filter-vectorscope_color2 @@ -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 index 0000000000..f297efd994 --- /dev/null +++ b/tests/ref/fate/filter-vectorscope_color3 @@ -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 index 0000000000..ed41cc0637 --- /dev/null +++ b/tests/ref/fate/filter-vectorscope_gray @@ -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 index 0000000000..6a4b8f8502 --- /dev/null +++ b/tests/ref/fate/filter-vectorscope_xy @@ -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 |