[FFmpeg-devel] [PATCH 1/2] fate: add hue filter test.

Clément Bœsch ubitux at gmail.com
Sun Dec 2 01:52:30 CET 2012


---
 tests/fate/avfilter.mak   | 1 +
 tests/lavfi-regression.sh | 1 +
 tests/ref/lavfi/hue       | 1 +
 3 files changed, 3 insertions(+)
 create mode 100644 tests/ref/lavfi/hue

diff --git a/tests/fate/avfilter.mak b/tests/fate/avfilter.mak
index 9a59251..e69d6a1 100644
--- a/tests/fate/avfilter.mak
+++ b/tests/fate/avfilter.mak
@@ -40,6 +40,7 @@ FATE_LAVFI = fate-lavfi-alphaextract_rgb                                \
 
 FATE_LAVFI-$(CONFIG_GPL) += fate-lavfi-colormatrix1                     \
                             fate-lavfi-colormatrix2                     \
+                            fate-lavfi-hue                              \
                             fate-lavfi-pixfmts_super2xsai               \
                             fate-lavfi-tinterlace_merge                 \
                             fate-lavfi-tinterlace_pad                   \
diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index 13c394e..36586ef 100755
--- a/tests/lavfi-regression.sh
+++ b/tests/lavfi-regression.sh
@@ -44,6 +44,7 @@ do_lavfi "crop_vflip"         "crop=iw-100:ih-100:100:100,vflip"
 do_lavfi "drawbox"            "drawbox=224:24:88:72:#FF8010 at 0.5"
 do_lavfi "edgedetect"         "edgedetect"
 do_lavfi "fade"               "fade=in:5:15,fade=out:30:15"
+do_lavfi "hue"                "hue=s=sin(2*PI*t)+1"
 do_lavfi "idet"               "idet"
 do_lavfi "null"               "null"
 do_lavfi "overlay"            "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16"
diff --git a/tests/ref/lavfi/hue b/tests/ref/lavfi/hue
new file mode 100644
index 0000000..ab412a7
--- /dev/null
+++ b/tests/ref/lavfi/hue
@@ -0,0 +1 @@
+hue                 faddb090f2eefa663b9539fd67451352
-- 
1.8.0.1



More information about the ffmpeg-devel mailing list