[FFmpeg-devel] [PATCH 3/4] tests/fate/video: LEAD MCMP test case
Peter Ross
pross at xvid.org
Sun Jul 6 07:20:06 EEST 2025
---
tests/fate/video.mak | 15 +++++++++++++++
tests/ref/fate/lead-yuv420p | 6 ++++++
tests/ref/fate/lead-yuv420p-half | 6 ++++++
tests/ref/fate/lead-yuv420p-zero | 6 ++++++
tests/ref/fate/lead-yuv444p | 6 ++++++
5 files changed, 39 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-yuv420p-zero
create mode 100644 tests/ref/fate/lead-yuv444p
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index ba01b7438b..10d1b20cd5 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -223,6 +223,21 @@ fate-kgv1: CMD = framecrc -i $(TARGET_SAMPLES)/kega/kgv1.avi -pix_fmt rgb555le -
FATE_VIDEO-$(call FRAMECRC, AVI, KMVC, SCALE_FILTER) += fate-kmvc
fate-kmvc: CMD = framecrc -i $(TARGET_SAMPLES)/KMVC/LOGO1.AVI -an -t 3 -pix_fmt rgb24 -vf scale
+FATE_LEAD_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_LEAD_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_LEAD_VIDEO-$(call FRAMECRC, AVI, LEAD) += fate-lead-yuv420p-zero
+fate-lead-yuv420p-zero: CMD = framecrc -idct simple -fflags +bitexact -i $(TARGET_SAMPLES)/lead/lead_0x0.avi -an
+
+FATE_LEAD_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-yes += $(FATE_LEAD_VIDEO-yes)
+fate-lead: $(FATE_LEAD_VIDEO-yes)
+
FATE_VIDEO-$(call FRAMECRC, AVI, LSCR) += fate-lscr
fate-lscr: CMD = framecrc -i $(TARGET_SAMPLES)/lscr/lscr_compr9_short.avi
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-yuv420p-zero b/tests/ref/fate/lead-yuv420p-zero
new file mode 100644
index 0000000000..8903fb46eb
--- /dev/null
+++ b/tests/ref/fate/lead-yuv420p-zero
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
+0, 0, 0, 1, 152064, 0xf7c5eb37
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.47.2
-- 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/20250706/9b7fcf22/attachment.sig>
More information about the ffmpeg-devel
mailing list