tests: Add pp7, spp tests based on pp test
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 18 Apr 2020 19:28:12 +0000 (21:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 May 2020 23:00:28 +0000 (01:00 +0200)
tests/fate/filter-video.mak
tests/ref/fate/filter-pp7 [new file with mode: 0644]
tests/ref/fate/filter-spp [new file with mode: 0644]

index df1675e..d18c91f 100644 (file)
@@ -543,6 +543,14 @@ fate-filter-pp4: CMD = video_filter "pp=be/ci"
 fate-filter-pp5: CMD = video_filter "pp=md"
 fate-filter-pp6: CMD = video_filter "pp=be/fd"
 
+FATE_FILTER_VSYNTH-$(CONFIG_PP7_FILTER) += fate-filter-pp7
+fate-filter-pp7: fate-vsynth1-mpeg4-qprd
+fate-filter-pp7: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "pp7"
+
+FATE_FILTER_VSYNTH-$(CONFIG_SPP_FILTER) += fate-filter-spp
+fate-filter-spp: fate-vsynth1-mpeg4-qprd
+fate-filter-spp: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "spp=idct=simple:dct=int"
+
 FATE_FILTER_VSYNTH-$(call ALLYES, QP_FILTER PP_FILTER) += fate-filter-qp
 fate-filter-qp: CMD = video_filter "qp=17,pp=be/hb/vb/tn/l5/al"
 
diff --git a/tests/ref/fate/filter-pp7 b/tests/ref/fate/filter-pp7
new file mode 100644 (file)
index 0000000..d8eefe9
--- /dev/null
@@ -0,0 +1,10 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
+0,          1,          1,        1,   152064, 0x4c5d7fe0
+0,          2,          2,        1,   152064, 0xc8857ae1
+0,          3,          3,        1,   152064, 0x3232f092
+0,          4,          4,        1,   152064, 0x5bc481c7
+0,          5,          5,        1,   152064, 0x91fec184
diff --git a/tests/ref/fate/filter-spp b/tests/ref/fate/filter-spp
new file mode 100644 (file)
index 0000000..e32159a
--- /dev/null
@@ -0,0 +1,10 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
+0,          1,          1,        1,   152064, 0xecd18291
+0,          2,          2,        1,   152064, 0xea34708a
+0,          3,          3,        1,   152064, 0xd73debe7
+0,          4,          4,        1,   152064, 0x47f57fbb
+0,          5,          5,        1,   152064, 0x508dba95