[FFmpeg-devel] [PATCH] fate: add tblend filter test

Paul B Mahol onemda at gmail.com
Sat Jul 18 04:31:58 CEST 2015


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 tests/fate/filter-video.mak  |  3 +++
 tests/ref/fate/filter-tblend | 50 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 tests/ref/fate/filter-tblend

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 909aa29..641546e 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -238,6 +238,9 @@ fate-filter-shuffleplanes-swapuv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf shuff
 
 FATE_FILTER_VSYNTH-$(CONFIG_SHUFFLEPLANES_FILTER) += $(FATE_SHUFFLEPLANES)
 
+FATE_FILTER_VSYNTH-$(CONFIG_TBLEND_FILTER) += fate-filter-tblend
+fate-filter-tblend: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf tblend=all_mode=difference128
+
 FATE_FILTER_VSYNTH-$(CONFIG_TELECINE_FILTER) += fate-filter-telecine
 fate-filter-telecine: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf telecine
 
diff --git a/tests/ref/fate/filter-tblend b/tests/ref/fate/filter-tblend
new file mode 100644
index 0000000..3ff689a
--- /dev/null
+++ b/tests/ref/fate/filter-tblend
@@ -0,0 +1,50 @@
+#tb 0: 1/25
+0,          1,          1,        1,   152064, 0x8e50e5e5
+0,          2,          2,        1,   152064, 0x7187a95e
+0,          3,          3,        1,   152064, 0xbd73863e
+0,          4,          4,        1,   152064, 0xabaefc78
+0,          5,          5,        1,   152064, 0xf080523f
+0,          6,          6,        1,   152064, 0x2ba7c11c
+0,          7,          7,        1,   152064, 0x1bfe0964
+0,          8,          8,        1,   152064, 0xe081d9db
+0,          9,          9,        1,   152064, 0x26eee75b
+0,         10,         10,        1,   152064, 0xcc28e18c
+0,         11,         11,        1,   152064, 0x3d2ed08b
+0,         12,         12,        1,   152064, 0x4567acbe
+0,         13,         13,        1,   152064, 0xa22f09db
+0,         14,         14,        1,   152064, 0xe4438e6f
+0,         15,         15,        1,   152064, 0x34d02799
+0,         16,         16,        1,   152064, 0x4c9230b3
+0,         17,         17,        1,   152064, 0x08e6c23c
+0,         18,         18,        1,   152064, 0xa0a475a5
+0,         19,         19,        1,   152064, 0x47f5d5e9
+0,         20,         20,        1,   152064, 0x0713219a
+0,         21,         21,        1,   152064, 0x9e4434a2
+0,         22,         22,        1,   152064, 0xc06a2482
+0,         23,         23,        1,   152064, 0xba321552
+0,         24,         24,        1,   152064, 0x74070b31
+0,         25,         25,        1,   152064, 0x92188f27
+0,         26,         26,        1,   152064, 0x29cf1fae
+0,         27,         27,        1,   152064, 0x04fd06ea
+0,         28,         28,        1,   152064, 0xcbbded09
+0,         29,         29,        1,   152064, 0x7f731df8
+0,         30,         30,        1,   152064, 0x9fd5b56f
+0,         31,         31,        1,   152064, 0x82217442
+0,         32,         32,        1,   152064, 0x95496106
+0,         33,         33,        1,   152064, 0xb9c50804
+0,         34,         34,        1,   152064, 0xa7051cba
+0,         35,         35,        1,   152064, 0x76bc5e88
+0,         36,         36,        1,   152064, 0x8276cfb2
+0,         37,         37,        1,   152064, 0x88bbf936
+0,         38,         38,        1,   152064, 0x160c5d4e
+0,         39,         39,        1,   152064, 0x0b61942a
+0,         40,         40,        1,   152064, 0x4a4aae9b
+0,         41,         41,        1,   152064, 0x049978fa
+0,         42,         42,        1,   152064, 0x12584f81
+0,         43,         43,        1,   152064, 0xada82b80
+0,         44,         44,        1,   152064, 0x3a4876ef
+0,         45,         45,        1,   152064, 0x7ccb86f2
+0,         46,         46,        1,   152064, 0x11bef54d
+0,         47,         47,        1,   152064, 0xb1714cd0
+0,         48,         48,        1,   152064, 0x950a3388
+0,         49,         49,        1,   152064, 0x1c1cc3ec
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list