From a222997650eb5e158b600c5d7341e236866d6228 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 13 Mar 2013 11:03:08 +0100 Subject: FATE: add a test for the boxblur filter --- tests/fate/filter.mak | 3 +++ tests/ref/fate/filter-boxblur | 51 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 tests/ref/fate/filter-boxblur (limited to 'tests') diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak index 84ee89a7cc..d3d401c14f 100644 --- a/tests/fate/filter.mak +++ b/tests/fate/filter.mak @@ -30,6 +30,9 @@ fate-filter-asyncts: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af asyncts fate-filter-asyncts: CMP = oneoff fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm +FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur +fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1 + fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo diff --git a/tests/ref/fate/filter-boxblur b/tests/ref/fate/filter-boxblur new file mode 100644 index 0000000000..acb2beb022 --- /dev/null +++ b/tests/ref/fate/filter-boxblur @@ -0,0 +1,51 @@ +#tb 0: 1/25 +0, 0, 0, 1, 152064, 0x113489f8 +0, 1, 1, 1, 152064, 0x650a64ca +0, 2, 2, 1, 152064, 0x29ecf6b1 +0, 3, 3, 1, 152064, 0x5cb98169 +0, 4, 4, 1, 152064, 0x4f46b6d7 +0, 5, 5, 1, 152064, 0x793ba919 +0, 6, 6, 1, 152064, 0x6caf7c14 +0, 7, 7, 1, 152064, 0xca638b2e +0, 8, 8, 1, 152064, 0xf6df803d +0, 9, 9, 1, 152064, 0x907b386f +0, 10, 10, 1, 152064, 0xbb8d47f9 +0, 11, 11, 1, 152064, 0x17befd28 +0, 12, 12, 1, 152064, 0xf29eae1e +0, 13, 13, 1, 152064, 0xb08ba1e6 +0, 14, 14, 1, 152064, 0x39948df7 +0, 15, 15, 1, 152064, 0x841d0e7e +0, 16, 16, 1, 152064, 0x21d64dd6 +0, 17, 17, 1, 152064, 0x18af38e9 +0, 18, 18, 1, 152064, 0x1f946a26 +0, 19, 19, 1, 152064, 0x0d9cdc4e +0, 20, 20, 1, 152064, 0xaf2af54d +0, 21, 21, 1, 152064, 0x09e724e1 +0, 22, 22, 1, 152064, 0xff7d1e4b +0, 23, 23, 1, 152064, 0xd49d68ad +0, 24, 24, 1, 152064, 0x7ea4f96b +0, 25, 25, 1, 152064, 0xd2f698b9 +0, 26, 26, 1, 152064, 0xc2a696ac +0, 27, 27, 1, 152064, 0x1e8ed7b4 +0, 28, 28, 1, 152064, 0x980ba498 +0, 29, 29, 1, 152064, 0x47c364f2 +0, 30, 30, 1, 152064, 0x1a196ada +0, 31, 31, 1, 152064, 0x4847c564 +0, 32, 32, 1, 152064, 0xa959fc15 +0, 33, 33, 1, 152064, 0x7d1a79d3 +0, 34, 34, 1, 152064, 0xae7e438d +0, 35, 35, 1, 152064, 0xc32794b4 +0, 36, 36, 1, 152064, 0x6ef43744 +0, 37, 37, 1, 152064, 0xa06a01d0 +0, 38, 38, 1, 152064, 0xc94b5847 +0, 39, 39, 1, 152064, 0xb7514f04 +0, 40, 40, 1, 152064, 0xf0c959e8 +0, 41, 41, 1, 152064, 0xe6439e5e +0, 42, 42, 1, 152064, 0xd347bf8d +0, 43, 43, 1, 152064, 0x40822107 +0, 44, 44, 1, 152064, 0xe0ad044a +0, 45, 45, 1, 152064, 0x05f77e73 +0, 46, 46, 1, 152064, 0xbeaa536d +0, 47, 47, 1, 152064, 0xb0edc576 +0, 48, 48, 1, 152064, 0x35fcb4fa +0, 49, 49, 1, 152064, 0x8d9ad8fa -- cgit v1.2.3