[FFmpeg-devel] [PATCH 3/4] tests: Add pp7, spp tests based on pp test
Michael Niedermayer
michael at niedermayer.cc
Sun Apr 19 01:37:46 EEST 2020
---
tests/fate/filter-video.mak | 8 ++++++++
tests/ref/fate/filter-pp7 | 10 ++++++++++
tests/ref/fate/filter-spp | 10 ++++++++++
3 files changed, 28 insertions(+)
create mode 100644 tests/ref/fate/filter-pp7
create mode 100644 tests/ref/fate/filter-spp
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 2da27f714a..bca5e3510a 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -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
index 0000000000..d8eefe98ac
--- /dev/null
+++ b/tests/ref/fate/filter-pp7
@@ -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
index 0000000000..e32159a702
--- /dev/null
+++ b/tests/ref/fate/filter-spp
@@ -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
--
2.17.1
More information about the ffmpeg-devel
mailing list