diff mbox series

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

Message ID 54a8f4b30122c0dfa0f7437546d966fbcce29154.1602154882.git.pross@xvid.org
State New
Headers show
Series [FFmpeg-devel,1/3] avformat/mspdec: Microsoft Paint (MSP) demuxer
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate fail Make fate failed

Commit Message

Peter Ross Oct. 8, 2020, 11:03 a.m. UTC
---
 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 mbox series

Patch

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