OSDN Git Service

fate: add framepack filter test
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 5 Nov 2013 15:00:49 +0000 (16:00 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 9 Jan 2014 22:13:05 +0000 (23:13 +0100)
tests/fate/filter-video.mak
tests/ref/fate/filter-framepack-columns [new file with mode: 0644]
tests/ref/fate/filter-framepack-frameseq [new file with mode: 0644]
tests/ref/fate/filter-framepack-lines [new file with mode: 0644]
tests/ref/fate/filter-framepack-sbs [new file with mode: 0644]
tests/ref/fate/filter-framepack-tab [new file with mode: 0644]

index 4191af3..8920701 100644 (file)
@@ -24,6 +24,14 @@ fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out
 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 -sws_flags +accurate_rnd+bitexact
 
+define FATE_FPFILTER_SUITE
+FATE_FILTER_VSYNTH-$(CONFIG_FRAMEPACK_FILTER) += fate-filter-framepack-$(1)
+fate-filter-framepack-$(1): CMD = framecrc -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -filter_complex framepack=$(1) -frames 15
+endef
+
+FPMODES = columns frameseq lines sbs tab
+$(foreach MODE,$(FPMODES),$(eval $(call FATE_FPFILTER_SUITE,$(MODE))))
+
 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-framepack-columns b/tests/ref/fate/filter-framepack-columns
new file mode 100644 (file)
index 0000000..f387632
--- /dev/null
@@ -0,0 +1,16 @@
+#tb 0: 1/25
+0,          0,          0,        1,   304128, 0x8cde13ed
+0,          1,          1,        1,   304128, 0xc97fcaa2
+0,          2,          2,        1,   304128, 0x8139eca3
+0,          3,          3,        1,   304128, 0x295c016f
+0,          4,          4,        1,   304128, 0x813a6cb3
+0,          5,          5,        1,   304128, 0x0e1b51db
+0,          6,          6,        1,   304128, 0x0c46f846
+0,          7,          7,        1,   304128, 0xdf281767
+0,          8,          8,        1,   304128, 0xfc37005b
+0,          9,          9,        1,   304128, 0x0be5722a
+0,         10,         10,        1,   304128, 0xc1618ec0
+0,         11,         11,        1,   304128, 0xc6f0f9b9
+0,         12,         12,        1,   304128, 0x6f015ad1
+0,         13,         13,        1,   304128, 0xf17e4455
+0,         14,         14,        1,   304128, 0xbcb31bc9
diff --git a/tests/ref/fate/filter-framepack-frameseq b/tests/ref/fate/filter-framepack-frameseq
new file mode 100644 (file)
index 0000000..83c08a0
--- /dev/null
@@ -0,0 +1,16 @@
+#tb 0: 1/50
+0,          0,          0,        1,   152064, 0x05b789ef
+0,          1,          1,        1,   152064, 0x05b789ef
+0,          2,          2,        1,   152064, 0x4bb46551
+0,          3,          3,        1,   152064, 0x4bb46551
+0,          4,          4,        1,   152064, 0x9dddf64a
+0,          5,          5,        1,   152064, 0x9dddf64a
+0,          6,          6,        1,   152064, 0x2a8380b0
+0,          7,          7,        1,   152064, 0x2a8380b0
+0,          8,          8,        1,   152064, 0x4de3b652
+0,          9,          9,        1,   152064, 0x4de3b652
+0,         10,         10,        1,   152064, 0xedb5a8e6
+0,         11,         11,        1,   152064, 0xedb5a8e6
+0,         12,         12,        1,   152064, 0xe20f7c23
+0,         13,         13,        1,   152064, 0xe20f7c23
+0,         14,         14,        1,   152064, 0x5ab58bac
diff --git a/tests/ref/fate/filter-framepack-lines b/tests/ref/fate/filter-framepack-lines
new file mode 100644 (file)
index 0000000..d714462
--- /dev/null
@@ -0,0 +1,16 @@
+#tb 0: 1/25
+0,          0,          0,        1,   304128, 0x901a13ed
+0,          1,          1,        1,   304128, 0x793ccaa2
+0,          2,          2,        1,   304128, 0x9eafeca3
+0,          3,          3,        1,   304128, 0x18f0016f
+0,          4,          4,        1,   304128, 0xc90f6cb3
+0,          5,          5,        1,   304128, 0x82d751db
+0,          6,          6,        1,   304128, 0x7cd2f846
+0,          7,          7,        1,   304128, 0xb3801767
+0,          8,          8,        1,   304128, 0x3372005b
+0,          9,          9,        1,   304128, 0x822a722a
+0,         10,         10,        1,   304128, 0x05908ec0
+0,         11,         11,        1,   304128, 0xabbbf9b9
+0,         12,         12,        1,   304128, 0x1b345ad1
+0,         13,         13,        1,   304128, 0x6ccd4455
+0,         14,         14,        1,   304128, 0xad541bc9
diff --git a/tests/ref/fate/filter-framepack-sbs b/tests/ref/fate/filter-framepack-sbs
new file mode 100644 (file)
index 0000000..d714462
--- /dev/null
@@ -0,0 +1,16 @@
+#tb 0: 1/25
+0,          0,          0,        1,   304128, 0x901a13ed
+0,          1,          1,        1,   304128, 0x793ccaa2
+0,          2,          2,        1,   304128, 0x9eafeca3
+0,          3,          3,        1,   304128, 0x18f0016f
+0,          4,          4,        1,   304128, 0xc90f6cb3
+0,          5,          5,        1,   304128, 0x82d751db
+0,          6,          6,        1,   304128, 0x7cd2f846
+0,          7,          7,        1,   304128, 0xb3801767
+0,          8,          8,        1,   304128, 0x3372005b
+0,          9,          9,        1,   304128, 0x822a722a
+0,         10,         10,        1,   304128, 0x05908ec0
+0,         11,         11,        1,   304128, 0xabbbf9b9
+0,         12,         12,        1,   304128, 0x1b345ad1
+0,         13,         13,        1,   304128, 0x6ccd4455
+0,         14,         14,        1,   304128, 0xad541bc9
diff --git a/tests/ref/fate/filter-framepack-tab b/tests/ref/fate/filter-framepack-tab
new file mode 100644 (file)
index 0000000..0346f06
--- /dev/null
@@ -0,0 +1,16 @@
+#tb 0: 1/25
+0,          0,          0,        1,   304128, 0x0b6b13ed
+0,          1,          1,        1,   304128, 0x406bcaa2
+0,          2,          2,        1,   304128, 0xb0deeca3
+0,          3,          3,        1,   304128, 0x5781016f
+0,          4,          4,        1,   304128, 0xff6c6cb3
+0,          5,          5,        1,   304128, 0x197151db
+0,          6,          6,        1,   304128, 0xca1cf846
+0,          7,          7,        1,   304128, 0x396e1767
+0,          8,          8,        1,   304128, 0x0215005b
+0,          9,          9,        1,   304128, 0xd9ae722a
+0,         10,         10,        1,   304128, 0xd0f98ec0
+0,         11,         11,        1,   304128, 0x1d0ef9b9
+0,         12,         12,        1,   304128, 0xef005ad1
+0,         13,         13,        1,   304128, 0x00564455
+0,         14,         14,        1,   304128, 0xe3eb1bc9