From 8112710f17b5ad0eda2798b4d9ddcc5d774bad02 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 9 Jul 2012 12:09:58 +0200 Subject: [PATCH] FATE: add a test for delogo video filter. --- tests/fate/filter.mak | 5 ++ tests/ref/fate/filter-delogo | 110 +++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 tests/ref/fate/filter-delogo diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak index 2ba51ed9e1..f1185ed425 100644 --- a/tests/fate/filter.mak +++ b/tests/fate/filter.mak @@ -29,4 +29,9 @@ fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm FATE_FILTER += $(FATE_ASYNCTS) FATE_SAMPLES_AVCONV += $(FATE_ASYNCTS) +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 += fate-filter-delogo +FATE_SAMPLES_AVCONV += fate-filter-delogo + fate-filter: $(FATE_FILTER) diff --git a/tests/ref/fate/filter-delogo b/tests/ref/fate/filter-delogo new file mode 100644 index 0000000000..00226982b2 --- /dev/null +++ b/tests/ref/fate/filter-delogo @@ -0,0 +1,110 @@ +#tb 0: 1/1000 +0, 1, 1, 0, 126720, 0x689de87e +0, 33, 33, 0, 126720, 0x3db9e91c +0, 66, 66, 0, 126720, 0x3db9e91c +0, 100, 100, 0, 126720, 0x3db9e91c +0, 133, 133, 0, 126720, 0xfa6ae95e +0, 166, 166, 0, 126720, 0x5bcbf0e6 +0, 200, 200, 0, 126720, 0x94a0f126 +0, 233, 233, 0, 126720, 0x0250f106 +0, 266, 266, 0, 126720, 0xcf6ab4bc +0, 300, 300, 0, 126720, 0x44aeb57c +0, 333, 333, 0, 126720, 0x33b0b5bc +0, 367, 367, 0, 126720, 0xc4bab591 +0, 400, 400, 0, 126720, 0xa492b5ec +0, 433, 433, 0, 126720, 0x1459b85c +0, 467, 467, 0, 126720, 0x806fb8dc +0, 500, 500, 0, 126720, 0xd241b871 +0, 533, 533, 0, 126720, 0x698eb5cc +0, 567, 567, 0, 126720, 0x4719aa98 +0, 600, 600, 0, 126720, 0x9ca1962c +0, 633, 633, 0, 126720, 0x18cda460 +0, 667, 667, 0, 126720, 0xc230b716 +0, 700, 700, 0, 126720, 0x8451a4e2 +0, 734, 734, 0, 126720, 0x59e9a7ea +0, 767, 767, 0, 126720, 0xc77ca73d +0, 800, 800, 0, 126720, 0x725fb976 +0, 834, 834, 0, 126720, 0xb30da3b3 +0, 867, 867, 0, 126720, 0x7af2ea86 +0, 900, 900, 0, 126720, 0x40d4b4eb +0, 934, 934, 0, 126720, 0x49d00307 +0, 967, 967, 0, 126720, 0x44c8848e +0, 1000, 1000, 0, 126720, 0xc6990101 +0, 1034, 1034, 0, 126720, 0x2e01b963 +0, 1067, 1067, 0, 126720, 0xd0e903f0 +0, 1101, 1101, 0, 126720, 0x3457d592 +0, 1134, 1134, 0, 126720, 0x4f1ddb3c +0, 1167, 1167, 0, 126720, 0x3980ace5 +0, 1201, 1201, 0, 126720, 0xb1e37954 +0, 1234, 1234, 0, 126720, 0x619fc554 +0, 1267, 1267, 0, 126720, 0x945fb39e +0, 1301, 1301, 0, 126720, 0xb1d5e0ce +0, 1334, 1334, 0, 126720, 0xf26e1dcc +0, 1368, 1368, 0, 126720, 0x04d5783e +0, 1401, 1401, 0, 126720, 0xbaa0479e +0, 1434, 1434, 0, 126720, 0x20d88b01 +0, 1468, 1468, 0, 126720, 0x59d99901 +0, 1501, 1501, 0, 126720, 0x1c6e09f6 +0, 1534, 1534, 0, 126720, 0xeec50fc5 +0, 1568, 1568, 0, 126720, 0xb3a92827 +0, 1601, 1601, 0, 126720, 0xf62dd2b6 +0, 1634, 1634, 0, 126720, 0x75b1e619 +0, 1668, 1668, 0, 126720, 0x6bbce2c0 +0, 1701, 1701, 0, 126720, 0xd93e023c +0, 1735, 1735, 0, 126720, 0xbbe8e7c2 +0, 1768, 1768, 0, 126720, 0x2272ec17 +0, 1801, 1801, 0, 126720, 0xf5e4ee6e +0, 1835, 1835, 0, 126720, 0x751d2607 +0, 1868, 1868, 0, 126720, 0x44c499c9 +0, 1901, 1901, 0, 126720, 0xddccd842 +0, 1935, 1935, 0, 126720, 0x508dd214 +0, 1968, 1968, 0, 126720, 0x8eb10272 +0, 2001, 2001, 0, 126720, 0x7224b1c6 +0, 2035, 2035, 0, 126720, 0x50ff456c +0, 2068, 2068, 0, 126720, 0xa81e2731 +0, 2102, 2102, 0, 126720, 0x7e50456d +0, 2135, 2135, 0, 126720, 0x44802978 +0, 2168, 2168, 0, 126720, 0x86e88743 +0, 2202, 2202, 0, 126720, 0x0b1087d6 +0, 2235, 2235, 0, 126720, 0xb0227d21 +0, 2268, 2268, 0, 126720, 0x29d10bd2 +0, 2302, 2302, 0, 126720, 0x04b43afa +0, 2335, 2335, 0, 126720, 0xb48e9698 +0, 2369, 2369, 0, 126720, 0x75d760fb +0, 2402, 2402, 0, 126720, 0xa2ab1fdb +0, 2435, 2435, 0, 126720, 0xec30a5ee +0, 2469, 2469, 0, 126720, 0xbdab7c8c +0, 2502, 2502, 0, 126720, 0xac5c3f2c +0, 2535, 2535, 0, 126720, 0xce6350be +0, 2569, 2569, 0, 126720, 0xb109657a +0, 2602, 2602, 0, 126720, 0x723865a4 +0, 2635, 2635, 0, 126720, 0xa9869124 +0, 2669, 2669, 0, 126720, 0xc41af558 +0, 2702, 2702, 0, 126720, 0xcbe6a402 +0, 2736, 2736, 0, 126720, 0xb6735ecb +0, 2769, 2769, 0, 126720, 0xba3059f2 +0, 2802, 2802, 0, 126720, 0xe7d63b8d +0, 2836, 2836, 0, 126720, 0x8f115906 +0, 2869, 2869, 0, 126720, 0xaf6a8dcb +0, 2902, 2902, 0, 126720, 0xb73e846e +0, 2936, 2936, 0, 126720, 0xedd6380f +0, 2969, 2969, 0, 126720, 0xd9026acf +0, 3002, 3002, 0, 126720, 0xa03a650b +0, 3036, 3036, 0, 126720, 0x262765bc +0, 3069, 3069, 0, 126720, 0xaaa9ded1 +0, 3103, 3103, 0, 126720, 0xe4f42665 +0, 3136, 3136, 0, 126720, 0x78daf760 +0, 3169, 3169, 0, 126720, 0x3b0c6ef8 +0, 3203, 3203, 0, 126720, 0xb745df80 +0, 3236, 3236, 0, 126720, 0x08e57b90 +0, 3269, 3269, 0, 126720, 0x6f883ab0 +0, 3303, 3303, 0, 126720, 0x934b4dd5 +0, 3336, 3336, 0, 126720, 0x762f108f +0, 3370, 3370, 0, 126720, 0x91ee0f2b +0, 3403, 3403, 0, 126720, 0x9af6e5e8 +0, 3436, 3436, 0, 126720, 0xdcd95e0a +0, 3470, 3470, 0, 126720, 0x22c33a6e +0, 3503, 3503, 0, 126720, 0x21c1b7f4 +0, 3536, 3536, 0, 126720, 0x0a66a1ed +0, 3570, 3570, 0, 126720, 0x53fea81b +0, 3603, 3603, 0, 126720, 0x597f5567