Browse Source

fate: add tests for vectorscope filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.8
Paul B Mahol 9 years ago
parent
commit
1b1c4030ea
6 changed files with 35 additions and 0 deletions
  1. +15
    -0
      tests/fate/filter-video.mak
  2. +4
    -0
      tests/ref/fate/filter-vectorscope_color
  3. +4
    -0
      tests/ref/fate/filter-vectorscope_color2
  4. +4
    -0
      tests/ref/fate/filter-vectorscope_color3
  5. +4
    -0
      tests/ref/fate/filter-vectorscope_gray
  6. +4
    -0
      tests/ref/fate/filter-vectorscope_xy

+ 15
- 0
tests/fate/filter-video.mak View 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


+ 4
- 0
tests/ref/fate/filter-vectorscope_color View File

@@ -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

+ 4
- 0
tests/ref/fate/filter-vectorscope_color2 View File

@@ -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

+ 4
- 0
tests/ref/fate/filter-vectorscope_color3 View File

@@ -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

+ 4
- 0
tests/ref/fate/filter-vectorscope_gray View File

@@ -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

+ 4
- 0
tests/ref/fate/filter-vectorscope_xy View File

@@ -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

Loading…
Cancel
Save