summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-13 11:03:08 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-28 08:01:13 +0100
commit1a6d4bd7b60761bd7d955011ce7df4dd6b87b497 (patch)
tree747584a037be35055b7b9adc4e0851b335ea8157 /tests
parentfeb4922b257e4a98d52d2ac47cbb2b3ba8e050e8 (diff)
FATE: add a test for the fade filter
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter.mak3
-rw-r--r--tests/ref/fate/filter-fade51
2 files changed, 54 insertions, 0 deletions
diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index 66f406d746..4cba0981b1 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -40,6 +40,9 @@ FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo
FATE_FILTER_VSYNTH-$(CONFIG_DRAWBOX_FILTER) += fate-filter-drawbox
fate-filter-drawbox: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf drawbox=10:20:200:60:red@0.5
+FATE_FILTER_VSYNTH-$(CONFIG_FADE_FILTER) += fate-filter-fade
+fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out:25:25
+
FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun
diff --git a/tests/ref/fate/filter-fade b/tests/ref/fate/filter-fade
new file mode 100644
index 0000000000..131b614b0c
--- /dev/null
+++ b/tests/ref/fate/filter-fade
@@ -0,0 +1,51 @@
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xeb8105cd
+0, 1, 1, 1, 152064, 0x0bc0a27d
+0, 2, 2, 1, 152064, 0x9dcd3a04
+0, 3, 3, 1, 152064, 0xecd9e8ec
+0, 4, 4, 1, 152064, 0xdcc09bca
+0, 5, 5, 1, 152064, 0xbf1537ad
+0, 6, 6, 1, 152064, 0xf32214db
+0, 7, 7, 1, 152064, 0x9584ce5e
+0, 8, 8, 1, 152064, 0xbaa930e7
+0, 9, 9, 1, 152064, 0xce411a6c
+0, 10, 10, 1, 152064, 0xdbc2c004
+0, 11, 11, 1, 152064, 0x635a55df
+0, 12, 12, 1, 152064, 0x49d5807f
+0, 13, 13, 1, 152064, 0xd18734a6
+0, 14, 14, 1, 152064, 0xf9d3581f
+0, 15, 15, 1, 152064, 0x423dbdf7
+0, 16, 16, 1, 152064, 0x0c52a4a2
+0, 17, 17, 1, 152064, 0xf7a6a90e
+0, 18, 18, 1, 152064, 0x472441c2
+0, 19, 19, 1, 152064, 0x9470c09a
+0, 20, 20, 1, 152064, 0xce7da1a3
+0, 21, 21, 1, 152064, 0xdb01a0c9
+0, 22, 22, 1, 152064, 0x052e74cb
+0, 23, 23, 1, 152064, 0xab0eab85
+0, 24, 24, 1, 152064, 0x069c1d15
+0, 25, 25, 1, 152064, 0x95579936
+0, 26, 26, 1, 152064, 0x292dc6d4
+0, 27, 27, 1, 152064, 0x951d382d
+0, 28, 28, 1, 152064, 0x9ce23e7d
+0, 29, 29, 1, 152064, 0x5ceb17dd
+0, 30, 30, 1, 152064, 0xe0835003
+0, 31, 31, 1, 152064, 0x7b8a03ba
+0, 32, 32, 1, 152064, 0x1531b18c
+0, 33, 33, 1, 152064, 0xa4a2ee9a
+0, 34, 34, 1, 152064, 0xa5b0e442
+0, 35, 35, 1, 152064, 0x47e0554d
+0, 36, 36, 1, 152064, 0x9443792e
+0, 37, 37, 1, 152064, 0x1a3316ce
+0, 38, 38, 1, 152064, 0xbe8088d7
+0, 39, 39, 1, 152064, 0xd3013824
+0, 40, 40, 1, 152064, 0x342f2f5d
+0, 41, 41, 1, 152064, 0x638a816f
+0, 42, 42, 1, 152064, 0x0cf11a0f
+0, 43, 43, 1, 152064, 0xc4d87159
+0, 44, 44, 1, 152064, 0xa5c36b72
+0, 45, 45, 1, 152064, 0x17a9970d
+0, 46, 46, 1, 152064, 0x5479e51c
+0, 47, 47, 1, 152064, 0x2ae4382a
+0, 48, 48, 1, 152064, 0xab7097a6
+0, 49, 49, 1, 152064, 0xbc97d4bb