aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-05 19:37:10 +0200
committerDiego Biurrun <diego@biurrun.de>2013-07-29 19:20:27 +0200
commitc47037c7a17e4026d38dfa41da27b9f91506725b (patch)
treead24a2d296ecc17401a5278739e5391c5856aa76 /tests
parent06205b5efdcf0bc4c5463bfdd02f09b5f79fc4cd (diff)
downloadffmpeg-c47037c7a17e4026d38dfa41da27b9f91506725b.tar.gz
fate: Add timefilter test
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile1
-rw-r--r--tests/fate/libavdevice.mak6
-rw-r--r--tests/ref/fate/timefilter6
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 4153a7002e..132a1a739b 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -80,6 +80,7 @@ include $(SRC_PATH)/tests/fate/h264.mak
include $(SRC_PATH)/tests/fate/image.mak
include $(SRC_PATH)/tests/fate/indeo.mak
include $(SRC_PATH)/tests/fate/libavcodec.mak
+include $(SRC_PATH)/tests/fate/libavdevice.mak
include $(SRC_PATH)/tests/fate/libavformat.mak
include $(SRC_PATH)/tests/fate/libavutil.mak
include $(SRC_PATH)/tests/fate/lossless-audio.mak
diff --git a/tests/fate/libavdevice.mak b/tests/fate/libavdevice.mak
new file mode 100644
index 0000000000..cb6af5162f
--- /dev/null
+++ b/tests/fate/libavdevice.mak
@@ -0,0 +1,6 @@
+FATE_LIBAVDEVICE-yes += fate-timefilter
+fate-timefilter: libavdevice/timefilter-test$(EXESUF)
+fate-timefilter: CMD = run libavdevice/timefilter-test
+
+FATE-$(CONFIG_AVDEVICE) += $(FATE_LIBAVDEVICE-yes)
+fate-libavdevice: $(FATE_LIBAVDEVICE-yes)
diff --git a/tests/ref/fate/timefilter b/tests/ref/fate/timefilter
new file mode 100644
index 0000000000..57c1209042
--- /dev/null
+++ b/tests/ref/fate/timefilter
@@ -0,0 +1,6 @@
+ [0.800000 0.000800 0.000000] [1.021025 0.998922 0.000000] [1.021025 0.998922 0.000000] [1.021025 0.998922 0.000000]
+ [0.001003 0.000000 0.004341] [0.041562 0.000996 0.045245] [0.081175 0.002874 0.074431] [0.118380 0.006568 0.108913]
+ [0.001003 0.000000 0.039073] [0.013619 0.000455 0.224390] [0.041562 0.000996 0.407205] [0.068719 0.002305 0.600848]
+ [0.001003 0.000000 0.212729] [0.022518 0.000060 0.941262] [0.015889 0.000507 1.391585] [0.041562 0.000996 2.217003]
+ [0.001003 0.000000 0.976818] [0.014412 0.000021 2.712350] [0.013691 0.000370 4.648765] [0.018915 0.000542 6.709646]
+ [0.001003 0.000000 4.172097] [0.010677 0.000007 7.809261] [0.018915 0.000032 14.578784] [0.013619 0.000387 20.628496]