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 v2 1/2] fate/video: add DXV3 DXT1 encoding test
@ 2024-02-01 19:21 Connor Worley
  2024-02-01 19:21 ` [FFmpeg-devel] [PATCH v2 2/2] fate/video: add DXV3 HQ tests Connor Worley
  0 siblings, 1 reply; 3+ messages in thread
From: Connor Worley @ 2024-02-01 19:21 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Connor Worley

Signed-off-by: Connor Worley <connorbworley@gmail.com>
---
 tests/fate/video.mak        | 7 +++++++
 tests/ref/fate/dxv3enc-dxt1 | 6 ++++++
 2 files changed, 13 insertions(+)
 create mode 100644 tests/ref/fate/dxv3enc-dxt1

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 4e7a77537f..fbc8a1a682 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -155,6 +155,13 @@ fate-dxv3-dxt5: CMD = framecrc -i $(TARGET_SAMPLES)/dxv/dxv3-nqwa.mov
 FATE_VIDEO-$(call FRAMECRC, MOV, DXV) += $(FATE_DXV)
 fate-dxv: $(FATE_DXV)
 
+fate-dxv3enc%: FMT = $(word 3, $(subst -, ,$(@)))
+fate-dxv3enc%: CMD = framecrc -lavfi testsrc2=duration=1:rate=1:size=1920x1080 -c:v dxv -format $(FMT)
+
+FATE_DXVENC_FMT = dxt1
+FATE_VIDEO-$(call FILTERFRAMECRC, TESTSRC2, DXV_ENCODER) += $(FATE_DXVENC_FMT:%=fate-dxv3enc-%)
+fate-dxvenc: $(FATE_DXVENC_FMT:%=fate-dxv3enc-%)
+
 FATE_VIDEO-$(call FRAMECRC, SEGAFILM, CINEPAK) += fate-film-cvid
 fate-film-cvid: CMD = framecrc -i $(TARGET_SAMPLES)/film/logo-capcom.cpk -an
 
diff --git a/tests/ref/fate/dxv3enc-dxt1 b/tests/ref/fate/dxv3enc-dxt1
new file mode 100644
index 0000000000..3cfd73397e
--- /dev/null
+++ b/tests/ref/fate/dxv3enc-dxt1
@@ -0,0 +1,6 @@
+#tb 0: 1/1
+#media_type 0: video
+#codec_id 0: dxv
+#dimensions 0: 1920x1080
+#sar 0: 1/1
+0,          0,          0,        1,    76767, 0x932ecbfa
-- 
2.40.1

_______________________________________________
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] 3+ messages in thread

* [FFmpeg-devel] [PATCH v2 2/2] fate/video: add DXV3 HQ tests
  2024-02-01 19:21 [FFmpeg-devel] [PATCH v2 1/2] fate/video: add DXV3 DXT1 encoding test Connor Worley
@ 2024-02-01 19:21 ` Connor Worley
  2024-02-04 11:14   ` Connor Worley
  0 siblings, 1 reply; 3+ messages in thread
From: Connor Worley @ 2024-02-01 19:21 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Connor Worley

Signed-off-by: Connor Worley <connorbworley@gmail.com>
---
 tests/fate/video.mak     | 6 ++++++
 tests/ref/fate/dxv3-ycg6 | 6 ++++++
 tests/ref/fate/dxv3-yg10 | 6 ++++++
 3 files changed, 18 insertions(+)
 create mode 100644 tests/ref/fate/dxv3-ycg6
 create mode 100644 tests/ref/fate/dxv3-yg10

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index fbc8a1a682..8f51a42077 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -152,6 +152,12 @@ fate-dxv3-dxt1: CMD = framecrc -i $(TARGET_SAMPLES)/dxv/dxv3-nqna.mov
 FATE_DXV += fate-dxv3-dxt5
 fate-dxv3-dxt5: CMD = framecrc -i $(TARGET_SAMPLES)/dxv/dxv3-nqwa.mov
 
+FATE_DXV += fate-dxv3-ycg6
+fate-dxv3-ycg6: CMD = framecrc -i $(TARGET_SAMPLES)/dxv/dxv3-hqna.mov
+
+FATE_DXV += fate-dxv3-yg10
+fate-dxv3-yg10: CMD = framecrc -i $(TARGET_SAMPLES)/dxv/dxv3-hqwa.mov
+
 FATE_VIDEO-$(call FRAMECRC, MOV, DXV) += $(FATE_DXV)
 fate-dxv: $(FATE_DXV)
 
diff --git a/tests/ref/fate/dxv3-ycg6 b/tests/ref/fate/dxv3-ycg6
new file mode 100644
index 0000000000..9650f7ce5e
--- /dev/null
+++ b/tests/ref/fate/dxv3-ycg6
@@ -0,0 +1,6 @@
+#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 256x256
+#sar 0: 0/1
+0,          0,          0,        1,    98304, 0x22992f41
diff --git a/tests/ref/fate/dxv3-yg10 b/tests/ref/fate/dxv3-yg10
new file mode 100644
index 0000000000..541107bb9a
--- /dev/null
+++ b/tests/ref/fate/dxv3-yg10
@@ -0,0 +1,6 @@
+#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 256x256
+#sar 0: 0/1
+0,          0,          0,        1,   163840, 0x5f1d3e32
-- 
2.40.1

_______________________________________________
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] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH v2 2/2] fate/video: add DXV3 HQ tests
  2024-02-01 19:21 ` [FFmpeg-devel] [PATCH v2 2/2] fate/video: add DXV3 HQ tests Connor Worley
@ 2024-02-04 11:14   ` Connor Worley
  0 siblings, 0 replies; 3+ messages in thread
From: Connor Worley @ 2024-02-04 11:14 UTC (permalink / raw)
  To: ffmpeg-devel

Samples have been added to fate-suite and this series is ready to be merged.

-- 
Connor Worley
_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2024-02-04 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 19:21 [FFmpeg-devel] [PATCH v2 1/2] fate/video: add DXV3 DXT1 encoding test Connor Worley
2024-02-01 19:21 ` [FFmpeg-devel] [PATCH v2 2/2] fate/video: add DXV3 HQ tests Connor Worley
2024-02-04 11:14   ` Connor Worley

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