[FFmpeg-cvslog] FATE: add a test for the overlay filter

Anton Khirnov git at videolan.org
Thu Mar 28 14:34:56 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Mar 13 11:03:08 2013 +0100| [3d8c80b611aa1e2f800dd9c8d8f350407f95c042] | committer: Anton Khirnov

FATE: add a test for the overlay filter

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d8c80b611aa1e2f800dd9c8d8f350407f95c042
---

 tests/fate/filter.mak         |    3 +++
 tests/filtergraphs/overlay    |    2 ++
 tests/ref/fate/filter-overlay |   51 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index d07cdcb..c753e24 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_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
+
 FATE_FILTER_VSYNTH-$(call ALLYES, SETPTS_FILTER  SETTB_FILTER) += fate-filter-setpts
 fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(SRC_PATH)/tests/filtergraphs/setpts
 
diff --git a/tests/filtergraphs/overlay b/tests/filtergraphs/overlay
new file mode 100644
index 0000000..d646463
--- /dev/null
+++ b/tests/filtergraphs/overlay
@@ -0,0 +1,2 @@
+[1:v] scale=50:50 [over];
+[0:v][over] overlay=20:20
diff --git a/tests/ref/fate/filter-overlay b/tests/ref/fate/filter-overlay
new file mode 100644
index 0000000..d988a2e
--- /dev/null
+++ b/tests/ref/fate/filter-overlay
@@ -0,0 +1,51 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0xf6f773b6
+0,          1,          1,        1,   152064, 0x8e67618e
+0,          2,          2,        1,   152064, 0xc8eff2ef
+0,          3,          3,        1,   152064, 0xcf39936c
+0,          4,          4,        1,   152064, 0xaf18c4d1
+0,          5,          5,        1,   152064, 0x7e69911e
+0,          6,          6,        1,   152064, 0x1b70214f
+0,          7,          7,        1,   152064, 0xc8032176
+0,          8,          8,        1,   152064, 0xefb42ecc
+0,          9,          9,        1,   152064, 0xfb210e4b
+0,         10,         10,        1,   152064, 0x2ee24b11
+0,         11,         11,        1,   152064, 0x0dac02a5
+0,         12,         12,        1,   152064, 0x9a5ce483
+0,         13,         13,        1,   152064, 0x6bb7c758
+0,         14,         14,        1,   152064, 0xcbb545e5
+0,         15,         15,        1,   152064, 0x81c1b339
+0,         16,         16,        1,   152064, 0xfa38d624
+0,         17,         17,        1,   152064, 0x56c5e63e
+0,         18,         18,        1,   152064, 0x419d194d
+0,         19,         19,        1,   152064, 0xed1a92b8
+0,         20,         20,        1,   152064, 0xd2c0aa39
+0,         21,         21,        1,   152064, 0x6214ddd5
+0,         22,         22,        1,   152064, 0xa978e19f
+0,         23,         23,        1,   152064, 0x676422a2
+0,         24,         24,        1,   152064, 0x5213dd62
+0,         25,         25,        1,   152064, 0x13c1a404
+0,         26,         26,        1,   152064, 0xa543a1a2
+0,         27,         27,        1,   152064, 0x8d0d0bed
+0,         28,         28,        1,   152064, 0x000304cf
+0,         29,         29,        1,   152064, 0x7f75b0ab
+0,         30,         30,        1,   152064, 0x68d07ce6
+0,         31,         31,        1,   152064, 0xb88c9852
+0,         32,         32,        1,   152064, 0x4be5ae13
+0,         33,         33,        1,   152064, 0x85b3f7b1
+0,         34,         34,        1,   152064, 0x9facb7d5
+0,         35,         35,        1,   152064, 0x9f11617e
+0,         36,         36,        1,   152064, 0x43393f46
+0,         37,         37,        1,   152064, 0xd45c3b92
+0,         38,         38,        1,   152064, 0x53de7e1b
+0,         39,         39,        1,   152064, 0xd1c685a7
+0,         40,         40,        1,   152064, 0x21e1778f
+0,         41,         41,        1,   152064, 0xe2b1abe1
+0,         42,         42,        1,   152064, 0x8623b5aa
+0,         43,         43,        1,   152064, 0xfc700aa3
+0,         44,         44,        1,   152064, 0x30a2d120
+0,         45,         45,        1,   152064, 0xa35e4d15
+0,         46,         46,        1,   152064, 0xa3fb11c5
+0,         47,         47,        1,   152064, 0x034f8fb7
+0,         48,         48,        1,   152064, 0x921c7d85
+0,         49,         49,        1,   152064, 0x7a94b9bf



More information about the ffmpeg-cvslog mailing list