From f917420378634708976f1638b282a34325d82cc6 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 negate filter --- tests/fate/filter.mak | 3 +++ tests/ref/fate/filter-negate | 51 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 tests/ref/fate/filter-negate diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak index c753e24..120dc61 100644 --- a/tests/fate/filter.mak +++ b/tests/fate/filter.mak @@ -49,6 +49,9 @@ fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun FATE_FILTER_VSYNTH-$(CONFIG_HQDN3D_FILTER) += fate-filter-hqdn3d fate-filter-hqdn3d: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf hqdn3d +FATE_FILTER_VSYNTH-$(CONFIG_NEGATE_FILTER) += fate-filter-negate +fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf negate + FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/overlay diff --git a/tests/ref/fate/filter-negate b/tests/ref/fate/filter-negate new file mode 100644 index 0000000..1d2ea73 --- /dev/null +++ b/tests/ref/fate/filter-negate @@ -0,0 +1,51 @@ +#tb 0: 1/25 +0, 0, 0, 1, 152064, 0xef20e1ec +0, 1, 1, 1, 152064, 0x899606ec +0, 2, 2, 1, 152064, 0xaea175d2 +0, 3, 3, 1, 152064, 0x5201eb55 +0, 4, 4, 1, 152064, 0xf02bb525 +0, 5, 5, 1, 152064, 0x99fdc305 +0, 6, 6, 1, 152064, 0x3a8fefe7 +0, 7, 7, 1, 152064, 0x005edfbf +0, 8, 8, 1, 152064, 0xe37aea50 +0, 9, 9, 1, 152064, 0xa5ad32f9 +0, 10, 10, 1, 152064, 0xb1e52485 +0, 11, 11, 1, 152064, 0x55b06e56 +0, 12, 12, 1, 152064, 0xdfb7be97 +0, 13, 13, 1, 152064, 0x191bca13 +0, 14, 14, 1, 152064, 0xa554dd3c +0, 15, 15, 1, 152064, 0x36075b77 +0, 16, 16, 1, 152064, 0xbf6b1cbd +0, 17, 17, 1, 152064, 0xf33432b6 +0, 18, 18, 1, 152064, 0x5d7100c3 +0, 19, 19, 1, 152064, 0x376f8f0c +0, 20, 20, 1, 152064, 0x07ca75fa +0, 21, 21, 1, 152064, 0xe3984704 +0, 22, 22, 1, 152064, 0xa8fb4e4c +0, 23, 23, 1, 152064, 0xe8e102d8 +0, 24, 24, 1, 152064, 0xcc6771c9 +0, 25, 25, 1, 152064, 0xf646d238 +0, 26, 26, 1, 152064, 0xa52cd41e +0, 27, 27, 1, 152064, 0x536d92c2 +0, 28, 28, 1, 152064, 0x7058c6a1 +0, 29, 29, 1, 152064, 0xcc6c05d0 +0, 30, 30, 1, 152064, 0x1fc2ffb8 +0, 31, 31, 1, 152064, 0x041ea59c +0, 32, 32, 1, 152064, 0xfc006e07 +0, 33, 33, 1, 152064, 0x0246efe1 +0, 34, 34, 1, 152064, 0x079428e5 +0, 35, 35, 1, 152064, 0x64d9d773 +0, 36, 36, 1, 152064, 0x914d3454 +0, 37, 37, 1, 152064, 0xef69686e +0, 38, 38, 1, 152064, 0x3c91129f +0, 39, 39, 1, 152064, 0x2a611ca7 +0, 40, 40, 1, 152064, 0xaf56124f +0, 41, 41, 1, 152064, 0xce48cd45 +0, 42, 42, 1, 152064, 0x75feac29 +0, 43, 43, 1, 152064, 0xfd2b4b5b +0, 44, 44, 1, 152064, 0x8d2f675c +0, 45, 45, 1, 152064, 0x1573ed3b +0, 46, 46, 1, 152064, 0xb0fc17ca +0, 47, 47, 1, 152064, 0x53e5a654 +0, 48, 48, 1, 152064, 0xe0cbb786 +0, 49, 49, 1, 152064, 0xcaa092fe -- 2.7.4