Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Peter Ross <pross@xvid.org>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH 3/4] tests/fate/video: LEAD MCMP test case
Date: Sun, 6 Jul 2025 14:20:06 +1000
Message-ID: <7a4ca1cf340f8646a5a1862c4a46fe8093ac72f2.1751775562.git.pross@xvid.org> (raw)
In-Reply-To: <fa8c24f2f3414ddbc173e1463f5e557398681a57.1751775562.git.pross@xvid.org>


[-- Attachment #1.1: Type: text/plain, Size: 3403 bytes --]

---
 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)

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  parent reply	other threads:[~2025-07-06  4:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-06  4:19 [FFmpeg-devel] [PATCH 1/4] tests/fate/audio: G.728 " Peter Ross
2025-07-06  4:19 ` [FFmpeg-devel] [PATCH 2/4] tests/fate/demux: IFF ANIM " Peter Ross
2025-07-06  4:20 ` Peter Ross [this message]
2025-07-06  4:20 ` [FFmpeg-devel] [PATCH 4/4] tests/fate/audio: Sanyo LD-ADPCM " Peter Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7a4ca1cf340f8646a5a1862c4a46fe8093ac72f2.1751775562.git.pross@xvid.org \
    --to=pross@xvid.org \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git