aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-04-04 15:39:40 +0200
committerAnton Khirnov <anton@khirnov.net>2013-04-11 21:33:58 +0200
commit25882a7ff642e83f606071a568214c210b7b7ff1 (patch)
tree72dedb04755324531ba987d3f880d33be6711122 /tests
parent3fce13679837ce9b43b50a4843c30ee989566bf8 (diff)
downloadffmpeg-25882a7ff642e83f606071a568214c210b7b7ff1.tar.gz
FATE: add a test for the interlace filter
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter.mak3
-rw-r--r--tests/ref/fate/filter-interlace26
2 files changed, 29 insertions, 0 deletions
diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index 904b85cead..13053736f6 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -63,6 +63,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_INTERLACE_FILTER) += fate-filter-interlace
+fate-filter-interlace: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace
+
FATE_FILTER-$(call FILTERDEMDECENCMUX, JOIN, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-join
fate-filter-join: SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
fate-filter-join: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-3.wav
diff --git a/tests/ref/fate/filter-interlace b/tests/ref/fate/filter-interlace
new file mode 100644
index 0000000000..4659942590
--- /dev/null
+++ b/tests/ref/fate/filter-interlace
@@ -0,0 +1,26 @@
+#tb 0: 2/25
+0, 0, 0, 1, 152064, 0x6077db38
+0, 1, 1, 1, 152064, 0x3d4f1b15
+0, 2, 2, 1, 152064, 0x447594f6
+0, 3, 3, 1, 152064, 0xb6258a38
+0, 4, 4, 1, 152064, 0x296abb09
+0, 5, 5, 1, 152064, 0x0fad069d
+0, 6, 6, 1, 152064, 0x92c78c0d
+0, 7, 7, 1, 152064, 0x645531fd
+0, 8, 8, 1, 152064, 0xe7652880
+0, 9, 9, 1, 152064, 0x496e1151
+0, 10, 10, 1, 152064, 0x7f7cfb06
+0, 11, 11, 1, 152064, 0x45e9affe
+0, 12, 12, 1, 152064, 0xaedb2d3a
+0, 13, 13, 1, 152064, 0x03fd9ae6
+0, 14, 14, 1, 152064, 0x2084e84d
+0, 15, 15, 1, 152064, 0xcf05faf6
+0, 16, 16, 1, 152064, 0x84c746c2
+0, 17, 17, 1, 152064, 0x898a6321
+0, 18, 18, 1, 152064, 0xe12b7fe9
+0, 19, 19, 1, 152064, 0x12feb756
+0, 20, 20, 1, 152064, 0xd813601a
+0, 21, 21, 1, 152064, 0xc0f3d385
+0, 22, 22, 1, 152064, 0xfca3a63f
+0, 23, 23, 1, 152064, 0xa0796f44
+0, 24, 24, 1, 152064, 0x1d26af11