[FFmpeg-devel] [PATCHv2 2/2] fate: LEAD MCMP test case

Peter Ross pross at xvid.org
Mon Oct 16 00:44:22 EEST 2023


Signed-off-by: Peter Ross <pross at xvid.org>
---

Files:
https://trac.ffmpeg.org/raw-attachment/ticket/798/BeforeEmboss1.avi
https://trac.ffmpeg.org/raw-attachment/ticket/798/DaDa_CMP1.avi
https://trac.ffmpeg.org/raw-attachment/ticket/798/version320x240i1.avi

 tests/fate/video.mak             | 9 +++++++++
 tests/ref/fate/lead-yuv420p      | 6 ++++++
 tests/ref/fate/lead-yuv420p-half | 6 ++++++
 tests/ref/fate/lead-yuv444p      | 6 ++++++
 4 files changed, 27 insertions(+)
 create mode 100644 tests/ref/fate/lead-yuv420p
 create mode 100644 tests/ref/fate/lead-yuv420p-half
 create mode 100644 tests/ref/fate/lead-yuv444p

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 4e7a77537f..6757a6c7d1 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -376,6 +376,15 @@ fate-smvjpeg: CMD = framecrc -idct simple -flags +bitexact -i $(TARGET_SAMPLES)/
 FATE_VIDEO-$(call FRAMECRC, AVI, VQC) += fate-vqc
 fate-vqc: CMD = framecrc -i $(TARGET_SAMPLES)/vqc/samp1.avi
 
+FATE_VIDEO-$(call FRAMECRC, AVI, LEAD) += fate-lead-yuv420p
+fate-lead-yuv420p: CMD = framecrc -idct simple -fflags +bitexact -i $(TARGET_SAMPLES)/lead/BeforeEmboss1.avi -an
+
+FATE_VIDEO-$(call FRAMECRC, AVI, LEAD) += fate-lead-yuv420p-half
+fate-lead-yuv420p-half: CMD = framecrc -idct simple -fflags +bitexact -i $(TARGET_SAMPLES)/lead/DaDa_CMP1.avi -an
+
+FATE_VIDEO-$(call FRAMECRC, AVI, LEAD) += fate-lead-yuv444p
+fate-lead-yuv444p: CMD = framecrc -idct simple -fflags +bitexact -i $(TARGET_SAMPLES)/lead/version320x240i1.avi -an
+
 FATE_VIDEO += $(FATE_VIDEO-yes)
 
 FATE_SAMPLES_FFMPEG += $(FATE_VIDEO)
diff --git a/tests/ref/fate/lead-yuv420p b/tests/ref/fate/lead-yuv420p
new file mode 100644
index 0000000000..d5216cc626
--- /dev/null
+++ b/tests/ref/fate/lead-yuv420p
@@ -0,0 +1,6 @@
+#tb 0: 1/20
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 0/1
+0,          0,          0,        1,   115200, 0xf54ce70c
diff --git a/tests/ref/fate/lead-yuv420p-half b/tests/ref/fate/lead-yuv420p-half
new file mode 100644
index 0000000000..7586821d88
--- /dev/null
+++ b/tests/ref/fate/lead-yuv420p-half
@@ -0,0 +1,6 @@
+#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 480x320
+#sar 0: 0/1
+0,          0,          0,        1,   230400, 0xf2767ee6
diff --git a/tests/ref/fate/lead-yuv444p b/tests/ref/fate/lead-yuv444p
new file mode 100644
index 0000000000..68ddaae603
--- /dev/null
+++ b/tests/ref/fate/lead-yuv444p
@@ -0,0 +1,6 @@
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 0/1
+0,          0,          0,        1,   230400, 0xfe90096a
-- 
2.42.0

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- 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/20231016/2b940836/attachment.sig>


More information about the ffmpeg-devel mailing list