fate: add more tests for hue video filter

Adds tests for the hue angle and brightness filter parameters.
Renames the existing saturation parameter test for consistency.

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
pull/284/merge
Tobias Rapp 7 years ago
parent f995aa82d8
commit 66ba303c53
  1. 10
      tests/fate/filter-video.mak
  2. 1
      tests/ref/fate/filter-hue
  3. 1
      tests/ref/fate/filter-hue1
  4. 1
      tests/ref/fate/filter-hue2
  5. 1
      tests/ref/fate/filter-hue3

@ -499,8 +499,14 @@ fate-filter-edgedetect: CMD = video_filter "format=gray,perms=random,edgedetect"
FATE_FILTER_VSYNTH-$(call ALLYES, FORMAT_FILTER PERMS_FILTER EDGEDETECT_FILTER) += fate-filter-edgedetect-colormix
fate-filter-edgedetect-colormix: CMD = video_filter "format=gbrp,perms=random,edgedetect=mode=colormix" -frames:v 20
FATE_FILTER_VSYNTH-$(call ALLYES, PERMS_FILTER HUE_FILTER) += fate-filter-hue
fate-filter-hue: CMD = video_filter "perms=random,hue=s=sin(2*PI*t)+1" -frames:v 20
FATE_FILTER_VSYNTH-$(call ALLYES, PERMS_FILTER HUE_FILTER) += fate-filter-hue1
fate-filter-hue1: CMD = video_filter "perms=random,hue=s=sin(2*PI*t)+1" -frames:v 20
FATE_FILTER_VSYNTH-$(call ALLYES, PERMS_FILTER HUE_FILTER) += fate-filter-hue2
fate-filter-hue2: CMD = video_filter "perms=random,hue=h=18*n" -frames:v 20
FATE_FILTER_VSYNTH-$(call ALLYES, PERMS_FILTER HUE_FILTER) += fate-filter-hue3
fate-filter-hue3: CMD = video_filter "perms=random,hue=b=n-10" -frames:v 20
FATE_FILTER_VSYNTH-$(CONFIG_IDET_FILTER) += fate-filter-idet
fate-filter-idet: CMD = framecrc -flags bitexact -idct simple -i $(SRC) -vf idet -frames:v 25 -flags +bitexact

@ -1 +0,0 @@
hue 57463dd9bc17156a51b704dd7271c863

@ -0,0 +1 @@
hue1 57463dd9bc17156a51b704dd7271c863

@ -0,0 +1 @@
hue2 e951ae8ffb279552abc4354c4de7cb5b

@ -0,0 +1 @@
hue3 149dc22f5dc9f578f7d281dc3120c09b
Loading…
Cancel
Save