Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v2 2/2] fate/jpeg2000dec: add missing ISO/IEC 15444-4 conformance tests
Date: Thu, 30 Jan 2025 23:54:53 +0100
Message-ID: <20250130225453.GE4991@pb2> (raw)
In-Reply-To: <20250127032907.14181-2-pal@sandflow.com>


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

On Sun, Jan 26, 2025 at 07:29:07PM -0800, pal@sandflow.com wrote:
> From: Pierre-Anthony Lemieux <pal@palemieux.com>
> 
> ---
>  tests/fate/jpeg2000.mak                  | 130 ++++++++++++++++++++++-
>  tests/ref/fate/jpeg2000dec-ds0_hm_15_b8  |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_02_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_02_b12 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_03_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_03_b14 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_04_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_04_b12 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_05_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_05_b12 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_07_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_07_b15 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_07_b16 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_08_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_08_b15 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_08_b16 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_09_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_10_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_11_b10 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_12_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_14_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_15_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_15_b14 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds0_ht_16_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds1_ht_01_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds1_ht_01_b12 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds1_ht_02_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds1_ht_02_b12 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds1_ht_03_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds1_ht_03_b12 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds1_ht_04_b9  |   2 +
>  tests/ref/fate/jpeg2000dec-ds1_ht_05_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-ds1_ht_06_b11 |   6 ++
>  tests/ref/fate/jpeg2000dec-hifi_ht1_02   |   6 ++
>  tests/ref/fate/jpeg2000dec-hifi_p1_02    |   6 ++
>  tests/ref/fate/jpeg2000dec-p1_01         |   6 ++
>  tests/ref/fate/jpeg2000dec-p1_02         |   6 ++
>  tests/ref/fate/jpeg2000dec-p1_03         |   6 ++
>  tests/ref/fate/jpeg2000dec-p1_04         |   2 +
>  tests/ref/fate/jpeg2000dec-p1_05         |   6 ++
>  tests/ref/fate/jpeg2000dec-p1_06         |   6 ++
>  41 files changed, 361 insertions(+), 1 deletion(-)
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_hm_15_b8
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_02_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_02_b12
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_03_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_03_b14
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_04_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_04_b12
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_05_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_05_b12
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_07_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_07_b15
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_07_b16
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_08_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_08_b15
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_08_b16
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_09_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_10_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_11_b10
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_12_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_14_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_15_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_15_b14
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds0_ht_16_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_01_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_01_b12
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_02_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_02_b12
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_03_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_03_b12
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_04_b9
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_05_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-ds1_ht_06_b11
>  create mode 100644 tests/ref/fate/jpeg2000dec-hifi_ht1_02
>  create mode 100644 tests/ref/fate/jpeg2000dec-hifi_p1_02
>  create mode 100644 tests/ref/fate/jpeg2000dec-p1_01
>  create mode 100644 tests/ref/fate/jpeg2000dec-p1_02
>  create mode 100644 tests/ref/fate/jpeg2000dec-p1_03
>  create mode 100644 tests/ref/fate/jpeg2000dec-p1_04
>  create mode 100644 tests/ref/fate/jpeg2000dec-p1_05
>  create mode 100644 tests/ref/fate/jpeg2000dec-p1_06

on x86-32

--- src/tests/ref/fate/jpeg2000dec-p1_04	2025-01-30 02:58:59.128736579 +0100
+++ tests/data/fate/jpeg2000dec-p1_04	2025-01-30 03:02:43.354527895 +0100
@@ -1,2 +1,2 @@
 psnr_log_version:3 fields:n,mse_avg,mse_y,psnr_avg,psnr_y,max_avg,max_y,peak_y
-n:1 mse_avg:14434.96 mse_y:14434.96 psnr_avg:54.74 psnr_y:54.74 max_avg:65535 max_y:65535 peak_y:4048
+n:1 mse_avg:14435.37 mse_y:14435.37 psnr_avg:54.74 psnr_y:54.74 max_avg:65535 max_y:65535 peak_y:4048
Test jpeg2000dec-p1_04 failed. Look at tests/data/fate/jpeg2000dec-p1_04.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-p1_04] Error 1
make: *** Waiting for unfinished jobs....
TEST    lossless-monkeysaudio-399
--- src/tests/ref/fate/jpeg2000dec-ds1_ht_04_b9	2025-01-30 02:58:59.124736547 +0100
+++ tests/data/fate/jpeg2000dec-ds1_ht_04_b9	2025-01-30 03:02:43.502529075 +0100
@@ -1,2 +1,2 @@
 psnr_log_version:3 fields:n,mse_avg,mse_y,psnr_avg,psnr_y,max_avg,max_y,peak_y
-n:1 mse_avg:14434.96 mse_y:14434.96 psnr_avg:54.74 psnr_y:54.74 max_avg:65535 max_y:65535 peak_y:4048
+n:1 mse_avg:14435.37 mse_y:14435.37 psnr_avg:54.74 psnr_y:54.74 max_avg:65535 max_y:65535 peak_y:4048
Test jpeg2000dec-ds1_ht_04_b9 failed. Look at tests/data/fate/jpeg2000dec-ds1_ht_04_b9.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-ds1_ht_04_b9] Error 1


on mips (big endian)
(probably BE/LE pix format issue)

--- src/tests/ref/fate/jpeg2000dec-hifi_ht1_02	2025-01-30 02:58:59.128736579 +0100
+++ tests/data/fate/jpeg2000dec-hifi_ht1_02	2025-01-30 23:53:21.305575490 +0100
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 128x128
 #sar 0: 0/1
-0,          0,          0,        1,    98304, 0xb6a6f1d6
+0,          0,          0,        1,    98304, 0xba7ff1d6
Test jpeg2000dec-hifi_ht1_02 failed. Look at tests/data/fate/jpeg2000dec-hifi_ht1_02.err for details.
make: *** [src/tests/Makefile:311: fate-jpeg2000dec-hifi_ht1_02] Error 1
make: *** Waiting for unfinished jobs....
--- src/tests/ref/fate/jpeg2000dec-hifi_p1_02	2025-01-30 02:58:59.128736579 +0100
+++ tests/data/fate/jpeg2000dec-hifi_p1_02	2025-01-30 23:53:21.325575648 +0100
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 128x128
 #sar 0: 0/1
-0,          0,          0,        1,    98304, 0xc740c83c
+0,          0,          0,        1,    98304, 0xf5bfc83c
Test jpeg2000dec-hifi_p1_02 failed. Look at tests/data/fate/jpeg2000dec-hifi_p1_02.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-hifi_p1_02] Error 1
--- src/tests/ref/fate/jpeg2000dec-ds0_ht_08_b16	2025-01-30 02:58:59.124736547 +0100
+++ tests/data/fate/jpeg2000dec-ds0_ht_08_b16	2025-01-30 23:53:21.637578152 +0100
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 513x3072
 #sar 0: 0/1
-0,          0,          0,        1,  9455616, 0x0af3ab70
+0,          0,          0,        1,  9455616, 0x3c49ab70
Test jpeg2000dec-ds0_ht_08_b16 failed. Look at tests/data/fate/jpeg2000dec-ds0_ht_08_b16.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-ds0_ht_08_b16] Error 1
--- src/tests/ref/fate/jpeg2000dec-ds0_ht_08_b15	2025-01-30 02:58:59.124736547 +0100
+++ tests/data/fate/jpeg2000dec-ds0_ht_08_b15	2025-01-30 23:53:21.697578634 +0100
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 513x3072
 #sar 0: 0/1
-0,          0,          0,        1,  9455616, 0xade3bd10
+0,          0,          0,        1,  9455616, 0xcd99bd10
Test jpeg2000dec-ds0_ht_08_b15 failed. Look at tests/data/fate/jpeg2000dec-ds0_ht_08_b15.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-ds0_ht_08_b15] Error 1
--- src/tests/ref/fate/jpeg2000dec-ds0_ht_08_b11	2025-01-30 02:58:59.124736547 +0100
+++ tests/data/fate/jpeg2000dec-ds0_ht_08_b11	2025-01-30 23:53:21.765579179 +0100
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 513x3072
 #sar 0: 0/1
-0,          0,          0,        1,  9455616, 0xe9e06d04
+0,          0,          0,        1,  9455616, 0x51436d04
Test jpeg2000dec-ds0_ht_08_b11 failed. Look at tests/data/fate/jpeg2000dec-ds0_ht_08_b11.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-ds0_ht_08_b11] Error 1
--- src/tests/ref/fate/jpeg2000dec-ds0_ht_07_b11	2025-01-30 02:58:59.124736547 +0100
+++ tests/data/fate/jpeg2000dec-ds0_ht_07_b11	2025-01-30 23:53:22.485584953 +0100
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 2048x2048
 #sar 0: 0/1
-0,          0,          0,        1, 25165824, 0x5992b06f
+0,          0,          0,        1, 25165824, 0xb047b06f
Test jpeg2000dec-ds0_ht_07_b11 failed. Look at tests/data/fate/jpeg2000dec-ds0_ht_07_b11.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-ds0_ht_07_b11] Error 1
--- src/tests/ref/fate/jpeg2000dec-ds0_ht_07_b16	2025-01-30 02:58:59.124736547 +0100
+++ tests/data/fate/jpeg2000dec-ds0_ht_07_b16	2025-01-30 23:53:22.529585306 +0100
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 2048x2048
 #sar 0: 0/1
-0,          0,          0,        1, 25165824, 0x9685aad6
+0,          0,          0,        1, 25165824, 0x4860aad6
Test jpeg2000dec-ds0_ht_07_b16 failed. Look at tests/data/fate/jpeg2000dec-ds0_ht_07_b16.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-ds0_ht_07_b16] Error 1
--- src/tests/ref/fate/jpeg2000dec-ds0_ht_07_b15	2025-01-30 02:58:59.124736547 +0100
+++ tests/data/fate/jpeg2000dec-ds0_ht_07_b15	2025-01-30 23:53:22.577585689 +0100
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 2048x2048
 #sar 0: 0/1
-0,          0,          0,        1, 25165824, 0x17b04b02
+0,          0,          0,        1, 25165824, 0x2d574b02
Test jpeg2000dec-ds0_ht_07_b15 failed. Look at tests/data/fate/jpeg2000dec-ds0_ht_07_b15.err for details.
make: *** [src/tests/Makefile:310: fate-jpeg2000dec-ds0_ht_07_b15] Error 1

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Any man who breaks a law that conscience tells him is unjust and willingly 
accepts the penalty by staying in jail in order to arouse the conscience of 
the community on the injustice of the law is at that moment expressing the 
very highest respect for law. - Martin Luther King Jr

[-- 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".

      reply	other threads:[~2025-01-30 22:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-27  3:29 [FFmpeg-devel] [PATCH v2 1/2] fate: add peak error to psnr filter pal
2025-01-27  3:29 ` [FFmpeg-devel] [PATCH v2 2/2] fate/jpeg2000dec: add missing ISO/IEC 15444-4 conformance tests pal
2025-01-30 22:54   ` Michael Niedermayer [this message]

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=20250130225453.GE4991@pb2 \
    --to=michael@niedermayer.cc \
    --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