aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-10-13 10:41:47 +0000
committerLuca Barbato <lu_zero@gentoo.org>2013-10-22 10:59:03 +0200
commit157dc0b489d472e4fc6eca7a2eb92b847f5b88dd (patch)
tree9e3b6be55503eda0093dd9c73cb69a3d4f205e34 /tests
parent00d7369de06a16f7c8770a899fcb16bcb94b1e20 (diff)
downloadffmpeg-157dc0b489d472e4fc6eca7a2eb92b847f5b88dd.tar.gz
fate: add fieldorder filter test
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-video.mak3
-rw-r--r--tests/ref/fate/filter-fieldorder26
2 files changed, 29 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 42b9356571..20cd617d9f 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -21,6 +21,9 @@ fate-filter-drawbox: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf drawbox=10:20:200:
FATE_FILTER_VSYNTH-$(CONFIG_FADE_FILTER) += fate-filter-fade
fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out:25:25
+FATE_FILTER_VSYNTH-$(call ALLYES, INTERLACE_FILTER FIELDORDER_FILTER) += fate-filter-fieldorder
+fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,fieldorder=bff
+
FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun
diff --git a/tests/ref/fate/filter-fieldorder b/tests/ref/fate/filter-fieldorder
new file mode 100644
index 0000000000..1504255f7b
--- /dev/null
+++ b/tests/ref/fate/filter-fieldorder
@@ -0,0 +1,26 @@
+#tb 0: 2/25
+0, 0, 0, 1, 202752, 0x136ad937
+0, 1, 1, 1, 202752, 0xd8500359
+0, 2, 2, 1, 202752, 0xe7784d3b
+0, 3, 3, 1, 202752, 0x49b2f58e
+0, 4, 4, 1, 202752, 0x12548c8e
+0, 5, 5, 1, 202752, 0x244f500e
+0, 6, 6, 1, 202752, 0x98c5506e
+0, 7, 7, 1, 202752, 0xe7131398
+0, 8, 8, 1, 202752, 0xc0e7c1ec
+0, 9, 9, 1, 202752, 0x0113d766
+0, 10, 10, 1, 202752, 0x8439cc42
+0, 11, 11, 1, 202752, 0x8db397b9
+0, 12, 12, 1, 202752, 0x7648eb88
+0, 13, 13, 1, 202752, 0xe6a513b3
+0, 14, 14, 1, 202752, 0x3c6f3b29
+0, 15, 15, 1, 202752, 0x5e4f3ef1
+0, 16, 16, 1, 202752, 0x261e0778
+0, 17, 17, 1, 202752, 0xb2ce0274
+0, 18, 18, 1, 202752, 0x849d7746
+0, 19, 19, 1, 202752, 0xadf7b1b1
+0, 20, 20, 1, 202752, 0xc4041125
+0, 21, 21, 1, 202752, 0x78e4cce8
+0, 22, 22, 1, 202752, 0x2f306542
+0, 23, 23, 1, 202752, 0x4b4bebc6
+0, 24, 24, 1, 202752, 0xb9bfbb17