summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-10-20 07:45:51 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-01-05 10:25:32 +0100
commit014056635944b7b22cd25aef44f0cdc4c237e9b6 (patch)
treecadfbf37a7ca6ef179f99ef94bed9e58a18718b3 /tests
parent172505b8bc361e4b08c75baf2d4d94e6c2ac94b9 (diff)
downloadffmpeg-streaming-014056635944b7b22cd25aef44f0cdc4c237e9b6.zip
ffmpeg-streaming-014056635944b7b22cd25aef44f0cdc4c237e9b6.tar.gz
lavfi: add histeq filter
This is a port of virtual dub's histogram equalization filter by Donald A. Graft. Based on the work by Jérémy Tran <tran.jeremy.av@gmail.com>, done for SOCIS 2012.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/avfilter.mak1
-rwxr-xr-xtests/lavfi-regression.sh1
-rw-r--r--tests/ref/lavfi/histeq6
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/avfilter.mak b/tests/fate/avfilter.mak
index ad865df..773873a 100644
--- a/tests/fate/avfilter.mak
+++ b/tests/fate/avfilter.mak
@@ -41,6 +41,7 @@ FATE_LAVFI = fate-lavfi-alphaextract_rgb \
FATE_LAVFI-$(CONFIG_GPL) += fate-lavfi-colormatrix1 \
fate-lavfi-colormatrix2 \
+ fate-lavfi-histeq \
fate-lavfi-hue \
fate-lavfi-pixfmts_super2xsai \
fate-lavfi-tinterlace_merge \
diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index a22331f..d9542e1 100755
--- a/tests/lavfi-regression.sh
+++ b/tests/lavfi-regression.sh
@@ -105,6 +105,7 @@ do_lavfi_pixfmts(){
# all these filters have exactly one input and exactly one output
do_lavfi_pixfmts "field" "field" "bottom"
+do_lavfi_pixfmts "histeq" "histeq" "antibanding=strong"
do_lavfi_pixfmts "kerndeint" "kerndeint" "" "tinterlace=interleave_top,"
do_lavfi_pixfmts "pixfmts_copy" "copy" ""
do_lavfi_pixfmts "pixfmts_crop" "crop" "100:100:100:100"
diff --git a/tests/ref/lavfi/histeq b/tests/ref/lavfi/histeq
new file mode 100644
index 0000000..a250902
--- /dev/null
+++ b/tests/ref/lavfi/histeq
@@ -0,0 +1,6 @@
+abgr a538e1221c94a12fb4e60b47b5358f67
+argb d0ef008d603d67a6a7d698d2a8f53d6a
+bgr24 9ef3c69a658490c4fbc807272372e73a
+bgra 716e70fdf7413d9a3b83e0365c2b0a99
+rgb24 8423322bbc66bc5050f6b93fdab23433
+rgba a960c9423bbb3925c3511362348b38e2
OpenPOWER on IntegriCloud