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 0/1] RGB mjpeg FATE tests
@ 2023-05-16 14:41 Leo Izen
  2023-05-16 14:41 ` [FFmpeg-devel] [PATCH 1/1] fate/jpg: add RGB mjpeg fate tests Leo Izen
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Izen @ 2023-05-16 14:41 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Leo Izen

The samples required for these tests can be located at: https://traneptora.com/share/i.zip
(they were also sent to the samples mailing list).

Leo Izen (1):
  fate/jpg: add RGB mjpeg fate tests

 tests/fate/image.mak     | 11 +++++++++++
 tests/ref/fate/jpg-rgb-1 |  6 ++++++
 tests/ref/fate/jpg-rgb-2 |  6 ++++++
 tests/ref/fate/jpg-rgb-3 |  6 ++++++
 tests/ref/fate/jpg-rgb-4 |  6 ++++++
 tests/ref/fate/jpg-rgb-5 |  6 ++++++
 6 files changed, 41 insertions(+)
 create mode 100644 tests/ref/fate/jpg-rgb-1
 create mode 100644 tests/ref/fate/jpg-rgb-2
 create mode 100644 tests/ref/fate/jpg-rgb-3
 create mode 100644 tests/ref/fate/jpg-rgb-4
 create mode 100644 tests/ref/fate/jpg-rgb-5

-- 
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 1/1] fate/jpg: add RGB mjpeg fate tests
  2023-05-16 14:41 [FFmpeg-devel] [PATCH 0/1] RGB mjpeg FATE tests Leo Izen
@ 2023-05-16 14:41 ` Leo Izen
  2023-05-17 10:38   ` Thilo Borgmann
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Izen @ 2023-05-16 14:41 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Leo Izen

Adds FATE tests for RGB jpegs to test commit
0b352e350e773673f11ea380f3507923c70e1175.
---
 tests/fate/image.mak     | 11 +++++++++++
 tests/ref/fate/jpg-rgb-1 |  6 ++++++
 tests/ref/fate/jpg-rgb-2 |  6 ++++++
 tests/ref/fate/jpg-rgb-3 |  6 ++++++
 tests/ref/fate/jpg-rgb-4 |  6 ++++++
 tests/ref/fate/jpg-rgb-5 |  6 ++++++
 6 files changed, 41 insertions(+)
 create mode 100644 tests/ref/fate/jpg-rgb-1
 create mode 100644 tests/ref/fate/jpg-rgb-2
 create mode 100644 tests/ref/fate/jpg-rgb-3
 create mode 100644 tests/ref/fate/jpg-rgb-4
 create mode 100644 tests/ref/fate/jpg-rgb-5

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 93bc715ca3..400199c28a 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -346,6 +346,17 @@ fate-jpg-rgb-progressive: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/g
 FATE_JPG += fate-jpg-rgb-221
 fate-jpg-rgb-221: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/george-insect-rgb-xyb.jpg
 
+FATE_JPG += fate-jpg-rgb-1
+fate-jpg-rgb-1: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-1.jpg
+FATE_JPG += fate-jpg-rgb-2
+fate-jpg-rgb-2: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-2.jpg
+FATE_JPG += fate-jpg-rgb-3
+fate-jpg-rgb-3: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-3.jpg
+FATE_JPG += fate-jpg-rgb-4
+fate-jpg-rgb-4: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-4.jpg
+FATE_JPG += fate-jpg-rgb-5
+fate-jpg-rgb-5: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-5.jpg
+
 FATE_JPG_TRANSCODE-$(call TRANSCODE, MJPEG, MJPEG IMAGE_JPEG_PIPE, IMAGE_PNG_PIPE_DEMUXER PNG_DECODER SCALE_FILTER) += fate-jpg-icc
 fate-jpg-icc: CMD = transcode png_pipe $(TARGET_SAMPLES)/png1/lena-int_rgb24.png mjpeg "-vf scale" "" "-show_frames"
 
diff --git a/tests/ref/fate/jpg-rgb-1 b/tests/ref/fate/jpg-rgb-1
new file mode 100644
index 0000000000..4282f73bbd
--- /dev/null
+++ b/tests/ref/fate/jpg-rgb-1
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x64
+#sar 0: 1/1
+0,          0,          0,        1,    12288, 0x7d04bd46
diff --git a/tests/ref/fate/jpg-rgb-2 b/tests/ref/fate/jpg-rgb-2
new file mode 100644
index 0000000000..88507f5a2d
--- /dev/null
+++ b/tests/ref/fate/jpg-rgb-2
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x64
+#sar 0: 0/1
+0,          0,          0,        1,    12288, 0xa4986a3d
diff --git a/tests/ref/fate/jpg-rgb-3 b/tests/ref/fate/jpg-rgb-3
new file mode 100644
index 0000000000..6125ed34f2
--- /dev/null
+++ b/tests/ref/fate/jpg-rgb-3
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x64
+#sar 0: 1/1
+0,          0,          0,        1,    12288, 0xfdf5876c
diff --git a/tests/ref/fate/jpg-rgb-4 b/tests/ref/fate/jpg-rgb-4
new file mode 100644
index 0000000000..2a5938280c
--- /dev/null
+++ b/tests/ref/fate/jpg-rgb-4
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x64
+#sar 0: 0/1
+0,          0,          0,        1,    12288, 0x06d7603d
diff --git a/tests/ref/fate/jpg-rgb-5 b/tests/ref/fate/jpg-rgb-5
new file mode 100644
index 0000000000..aab650ca85
--- /dev/null
+++ b/tests/ref/fate/jpg-rgb-5
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x64
+#sar 0: 1/1
+0,          0,          0,        1,     8192, 0xcd87b5c6
-- 
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 1/1] fate/jpg: add RGB mjpeg fate tests
  2023-05-16 14:41 ` [FFmpeg-devel] [PATCH 1/1] fate/jpg: add RGB mjpeg fate tests Leo Izen
@ 2023-05-17 10:38   ` Thilo Borgmann
  0 siblings, 0 replies; 3+ messages in thread
From: Thilo Borgmann @ 2023-05-17 10:38 UTC (permalink / raw)
  To: ffmpeg-devel

Am 16.05.23 um 16:41 schrieb Leo Izen:
> Adds FATE tests for RGB jpegs to test commit
> 0b352e350e773673f11ea380f3507923c70e1175.
> ---
>   tests/fate/image.mak     | 11 +++++++++++
>   tests/ref/fate/jpg-rgb-1 |  6 ++++++
>   tests/ref/fate/jpg-rgb-2 |  6 ++++++
>   tests/ref/fate/jpg-rgb-3 |  6 ++++++
>   tests/ref/fate/jpg-rgb-4 |  6 ++++++
>   tests/ref/fate/jpg-rgb-5 |  6 ++++++
>   6 files changed, 41 insertions(+)
>   create mode 100644 tests/ref/fate/jpg-rgb-1
>   create mode 100644 tests/ref/fate/jpg-rgb-2
>   create mode 100644 tests/ref/fate/jpg-rgb-3
>   create mode 100644 tests/ref/fate/jpg-rgb-4
>   create mode 100644 tests/ref/fate/jpg-rgb-5
> 

Pushed, thanks!

-Thilo

_______________________________________________
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:[~2023-05-17 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-16 14:41 [FFmpeg-devel] [PATCH 0/1] RGB mjpeg FATE tests Leo Izen
2023-05-16 14:41 ` [FFmpeg-devel] [PATCH 1/1] fate/jpg: add RGB mjpeg fate tests Leo Izen
2023-05-17 10:38   ` Thilo Borgmann

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