[FFmpeg-devel] [PATCH 3/3] fate: add Microsoft Paint (MSP) test cases

Peter Ross pross at xvid.org
Thu Oct 8 14:03:24 EEST 2020


---
 tests/fate/video.mak    | 6 ++++++
 tests/ref/fate/msp-msp1 | 6 ++++++
 tests/ref/fate/msp-msp2 | 6 ++++++
 3 files changed, 18 insertions(+)
 create mode 100644 tests/ref/fate/msp-msp1
 create mode 100644 tests/ref/fate/msp-msp2

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index f2e1eb3af8..6abf413b9e 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -248,6 +248,12 @@ fate-mpeg2-ticket6024: CMD = framecrc -flags +bitexact -idct simple -flags +trun
 FATE_VIDEO-$(call DEMDEC, MPEGVIDEO, MPEG2VIDEO) += fate-mpeg2-ticket6677
 fate-mpeg2-ticket6677: CMD = framecrc -flags +bitexact -idct simple -vsync drop -i $(TARGET_SAMPLES)/mpeg2/sony-ct3.bs
 
+FATE_VIDEO-$(call DEMDEC, MSP, RAWVIDEO) += fate-msp-msp1
+fate-msp-msp1: CMD = framecrc -i $(TARGET_SAMPLES)/msp/pirate.msp -an -pix_fmt monob -vf scale
+
+FATE_VIDEO-$(call DEMDEC, MSP, MSP2) += fate-msp-msp2
+fate-msp-msp2: CMD = framecrc -i $(TARGET_SAMPLES)/msp/mexhat1.msp -an -pix_fmt monob -vf scale
+
 FATE_VIDEO-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1
 fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/posture.mv -an -frames 25 -pix_fmt rgb555le -vf scale
 
diff --git a/tests/ref/fate/msp-msp1 b/tests/ref/fate/msp-msp1
new file mode 100644
index 0000000000..57ba8b8d6b
--- /dev/null
+++ b/tests/ref/fate/msp-msp1
@@ -0,0 +1,6 @@
+#tb 0: 1/90000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 576x720
+#sar 0: 1/1
+0,          0,          0,        0,    51840, 0x0f3a9a3a
diff --git a/tests/ref/fate/msp-msp2 b/tests/ref/fate/msp-msp2
new file mode 100644
index 0000000000..ca92a17eb5
--- /dev/null
+++ b/tests/ref/fate/msp-msp2
@@ -0,0 +1,6 @@
+#tb 0: 1/90000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 721x666
+#sar 0: 0/1
+0,          0,          0,        0,    60606, 0xf0d66d30
-- 
2.28.0

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pirate.msp
Type: application/octet-stream
Size: 51872 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201008/27a62bc0/attachment.msp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mexhat1.msp
Type: application/octet-stream
Size: 12351 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201008/27a62bc0/attachment-0001.msp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201008/27a62bc0/attachment.sig>


More information about the ffmpeg-devel mailing list