From 0bdbd85e47f2a50619e6a371c226e77f39cd606d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 13 Mar 2013 11:03:08 +0100 Subject: [PATCH] FATE: add a test for the transpose filter --- tests/fate/filter.mak | 3 +++ tests/ref/fate/filter-transpose | 51 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 tests/ref/fate/filter-transpose diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak index 3c6bb7b..ab84111 100644 --- a/tests/fate/filter.mak +++ b/tests/fate/filter.mak @@ -46,6 +46,9 @@ fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun +FATE_FILTER_VSYNTH-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose +fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose + FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp diff --git a/tests/ref/fate/filter-transpose b/tests/ref/fate/filter-transpose new file mode 100644 index 0000000..0f23423 --- /dev/null +++ b/tests/ref/fate/filter-transpose @@ -0,0 +1,51 @@ +#tb 0: 1/25 +0, 0, 0, 1, 152064, 0xab5889ef +0, 1, 1, 1, 152064, 0x898b6551 +0, 2, 2, 1, 152064, 0x231bf64a +0, 3, 3, 1, 152064, 0x0b8c80b0 +0, 4, 4, 1, 152064, 0x8b3cb652 +0, 5, 5, 1, 152064, 0x0100a8e6 +0, 6, 6, 1, 152064, 0x55df7c23 +0, 7, 7, 1, 152064, 0x91bd8bac +0, 8, 8, 1, 152064, 0xf5508026 +0, 9, 9, 1, 152064, 0xa7ec3915 +0, 10, 10, 1, 152064, 0x4e304760 +0, 11, 11, 1, 152064, 0x98ccfcd5 +0, 12, 12, 1, 152064, 0x00edad61 +0, 13, 13, 1, 152064, 0x01a0a223 +0, 14, 14, 1, 152064, 0x840e8ddd +0, 15, 15, 1, 152064, 0x52280f05 +0, 16, 16, 1, 152064, 0x75064e18 +0, 17, 17, 1, 152064, 0xf41638c8 +0, 18, 18, 1, 152064, 0x258d6acc +0, 19, 19, 1, 152064, 0x9d73dbff +0, 20, 20, 1, 152064, 0x80e0f570 +0, 21, 21, 1, 152064, 0x3a912412 +0, 22, 22, 1, 152064, 0xaf241d59 +0, 23, 23, 1, 152064, 0xe73568ef +0, 24, 24, 1, 152064, 0xc739f9d6 +0, 25, 25, 1, 152064, 0xc8c19936 +0, 26, 26, 1, 152064, 0x47dd96b5 +0, 27, 27, 1, 152064, 0x5329d887 +0, 28, 28, 1, 152064, 0x5b46a455 +0, 29, 29, 1, 152064, 0xfd8c650e +0, 30, 30, 1, 152064, 0x85c86aca +0, 31, 31, 1, 152064, 0x46a6c51e +0, 32, 32, 1, 152064, 0x220dfc8d +0, 33, 33, 1, 152064, 0xdbe27a30 +0, 34, 34, 1, 152064, 0xb8cc4378 +0, 35, 35, 1, 152064, 0xb6cf94fb +0, 36, 36, 1, 152064, 0xeaa937ab +0, 37, 37, 1, 152064, 0x335401f8 +0, 38, 38, 1, 152064, 0xdb3d594c +0, 39, 39, 1, 152064, 0x211c4edd +0, 40, 40, 1, 152064, 0xc3725925 +0, 41, 41, 1, 152064, 0x8f389e08 +0, 42, 42, 1, 152064, 0xc62cbfa9 +0, 43, 43, 1, 152064, 0x803820ec +0, 44, 44, 1, 152064, 0x0d860471 +0, 45, 45, 1, 152064, 0xf6997e73 +0, 46, 46, 1, 152064, 0x6c2153ff +0, 47, 47, 1, 152064, 0x1bb2c5c2 +0, 48, 48, 1, 152064, 0x39d1b483 +0, 49, 49, 1, 152064, 0x2b50d8ea -- 2.7.4