Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] Add SMC vsynth tests
@ 2023-07-02 15:28 Tomas Härdin
  2023-07-02 15:49 ` James Almer
  0 siblings, 1 reply; 6+ messages in thread
From: Tomas Härdin @ 2023-07-02 15:28 UTC (permalink / raw)
  To: ffmpeg-devel

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



[-- Attachment #2: 0001-Add-SMC-vsynth-tests.patch --]
[-- Type: text/x-patch, Size: 3090 bytes --]

From 121890df70fe77a646527df71c5a15cb74e24543 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Sun, 2 Jul 2023 16:58:11 +0200
Subject: [PATCH] Add SMC vsynth tests

---
 tests/fate/vcodec.mak            | 3 +++
 tests/ref/vsynth/vsynth1-smc     | 4 ++++
 tests/ref/vsynth/vsynth2-smc     | 4 ++++
 tests/ref/vsynth/vsynth3-smc     | 4 ++++
 tests/ref/vsynth/vsynth_lena-smc | 4 ++++
 5 files changed, 19 insertions(+)
 create mode 100644 tests/ref/vsynth/vsynth1-smc
 create mode 100644 tests/ref/vsynth/vsynth2-smc
 create mode 100644 tests/ref/vsynth/vsynth3-smc
 create mode 100644 tests/ref/vsynth/vsynth_lena-smc

diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index ef8904613a..833dde86ab 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -404,6 +404,9 @@ FATE_VCODEC-$(call ENCDEC, RV20, RM)    += rv20
 fate-vsynth%-rv20:               ENCOPTS = -qscale 10
 fate-vsynth%-rv20:               FMT     = rm
 
+FATE_VCODEC_SCALE-$(call ENCDEC, SMC, MOV) += smc
+fate-vsynth%-smc:                CODEC   = smc
+
 FATE_VCODEC_SCALE-$(call ENCDEC, SNOW, AVI) += snow snow-hpel
 fate-vsynth%-snow:               ENCOPTS = -qscale 2 -flags +qpel \
                                            -motion_est iter -dia_size 2      \
diff --git a/tests/ref/vsynth/vsynth1-smc b/tests/ref/vsynth/vsynth1-smc
new file mode 100644
index 0000000000..d45b78d72e
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-smc
@@ -0,0 +1,4 @@
+448fbbcb6a311fce9489081925a1df07 *tests/data/fate/vsynth1-smc.avi
+4618210 tests/data/fate/vsynth1-smc.avi
+5af05d8c97257442877c45e9ac412a07 *tests/data/fate/vsynth1-smc.out.rawvideo
+stddev:   82.04 PSNR:  9.85 MAXDIFF:  239 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-smc b/tests/ref/vsynth/vsynth2-smc
new file mode 100644
index 0000000000..58d5ceb671
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-smc
@@ -0,0 +1,4 @@
+0deb655a3f142cc128d6bd06b93a4553 *tests/data/fate/vsynth2-smc.avi
+3480126 tests/data/fate/vsynth2-smc.avi
+6d7dc705f762a7ee1f8139cdc99feba6 *tests/data/fate/vsynth2-smc.out.rawvideo
+stddev:  103.76 PSNR:  7.81 MAXDIFF:  228 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth3-smc b/tests/ref/vsynth/vsynth3-smc
new file mode 100644
index 0000000000..cec8995f9e
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-smc
@@ -0,0 +1,4 @@
+bcb01dfa0c66294bf8b367b441dca966 *tests/data/fate/vsynth3-smc.avi
+70446 tests/data/fate/vsynth3-smc.avi
+0293080027cfea20a539a9947c335ca3 *tests/data/fate/vsynth3-smc.out.rawvideo
+stddev:   62.19 PSNR: 12.26 MAXDIFF:  231 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth_lena-smc b/tests/ref/vsynth/vsynth_lena-smc
new file mode 100644
index 0000000000..647aedf34d
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-smc
@@ -0,0 +1,4 @@
+ce75739815134bdfc68fce38d8ea95e8 *tests/data/fate/vsynth_lena-smc.avi
+3507608 tests/data/fate/vsynth_lena-smc.avi
+7c756aa5cc4e7983259e830d2024050c *tests/data/fate/vsynth_lena-smc.out.rawvideo
+stddev:   77.95 PSNR: 10.29 MAXDIFF:  221 bytes:  7603200/  7603200
-- 
2.39.2


[-- Attachment #3: 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".

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-02 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-02 15:28 [FFmpeg-devel] [PATCH] Add SMC vsynth tests Tomas Härdin
2023-07-02 15:49 ` James Almer
2023-07-02 16:36   ` Tomas Härdin
2023-07-02 16:39     ` Tomas Härdin
2023-07-02 18:57       ` Paul B Mahol
2023-07-02 19:17         ` Tomas Härdin

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