[libav-devel] [PATCH 2/3] fate: add select filter test

Vittorio Giovara vittorio.giovara at gmail.com
Mon Nov 18 14:44:37 CET 2013


---
 tests/fate/filter-video.mak  |    3 +++
 tests/ref/fate/filter-select |   26 ++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 tests/ref/fate/filter-select

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index beaaecb..921e129 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -47,6 +47,9 @@ FATE_FILTER_VSYNTH-$(call ALLYES, SETPTS_FILTER  SETTB_FILTER) += fate-filter-se
 fate-filter-setpts: tests/data/filtergraphs/setpts
 fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/setpts
 
+FATE_FILTER_VSYNTH-$(CONFIG_SELECT_FILTER) += fate-filter-select
+fate-filter-select: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf select="not(mod(n\,2))"
+
 FATE_FILTER_VSYNTH-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose
 fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
 
diff --git a/tests/ref/fate/filter-select b/tests/ref/fate/filter-select
new file mode 100644
index 0000000..0776694
--- /dev/null
+++ b/tests/ref/fate/filter-select
@@ -0,0 +1,26 @@
+#tb 0: 1/25
+0,          0,          0,        1,   152064, 0x05b789ef
+0,          2,          2,        1,   152064, 0x9dddf64a
+0,          4,          4,        1,   152064, 0x4de3b652
+0,          6,          6,        1,   152064, 0xe20f7c23
+0,          8,          8,        1,   152064, 0x1f1b8026
+0,         10,         10,        1,   152064, 0x02344760
+0,         12,         12,        1,   152064, 0xc711ad61
+0,         14,         14,        1,   152064, 0x52a48ddd
+0,         16,         16,        1,   152064, 0x8e364e18
+0,         18,         18,        1,   152064, 0xf25f6acc
+0,         20,         20,        1,   152064, 0xfc7bf570
+0,         22,         22,        1,   152064, 0x445d1d59
+0,         24,         24,        1,   152064, 0xce09f9d6
+0,         26,         26,        1,   152064, 0x43d796b5
+0,         28,         28,        1,   152064, 0x76d2a455
+0,         30,         30,        1,   152064, 0x0f9d6aca
+0,         32,         32,        1,   152064, 0xd766fc8d
+0,         34,         34,        1,   152064, 0x7fea4378
+0,         36,         36,        1,   152064, 0x4c9737ab
+0,         38,         38,        1,   152064, 0x0b07594c
+0,         40,         40,        1,   152064, 0xd2735925
+0,         42,         42,        1,   152064, 0x20cebfa9
+0,         44,         44,        1,   152064, 0xfd500471
+0,         46,         46,        1,   152064, 0x09ef53ff
+0,         48,         48,        1,   152064, 0xbb87b483
-- 
1.7.9.5



More information about the libav-devel mailing list