[FFmpeg-cvslog] tests: Add pp7, spp tests based on pp test

Michael Niedermayer git at videolan.org
Tue May 12 02:05:29 EEST 2020


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Apr 18 21:28:12 2020 +0200| [b1e9764c5e8af4fb855daa3230969d7e7988b39a] | committer: Michael Niedermayer

tests: Add pp7, spp tests based on pp test

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b1e9764c5e8af4fb855daa3230969d7e7988b39a
---

 tests/fate/filter-video.mak |  8 ++++++++
 tests/ref/fate/filter-pp7   | 10 ++++++++++
 tests/ref/fate/filter-spp   | 10 ++++++++++
 3 files changed, 28 insertions(+)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index df1675e1e7..d18c91f3e4 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



More information about the ffmpeg-cvslog mailing list