* [FFmpeg-devel] [PATCH] fate/jpeg2000dec: add support for p0_10.j2k
@ 2024-06-16 4:47 pal
2024-06-18 14:24 ` Tomas Härdin
0 siblings, 1 reply; 5+ messages in thread
From: pal @ 2024-06-16 4:47 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Pierre-Anthony Lemieux
From: Pierre-Anthony Lemieux <pal@palemieux.com>
p0_10.j2k is one of the reference codestreams included in Rec. ITU-T T.803 | ISO/IEC 15444-4.
---
tests/fate/jpeg2000.mak | 3 +++
tests/ref/fate/jpeg2000dec-p0_10 | 6 ++++++
2 files changed, 9 insertions(+)
create mode 100644 tests/ref/fate/jpeg2000dec-p0_10
diff --git a/tests/fate/jpeg2000.mak b/tests/fate/jpeg2000.mak
index 2969d2cf0a..a99b0c4e0c 100644
--- a/tests/fate/jpeg2000.mak
+++ b/tests/fate/jpeg2000.mak
@@ -42,6 +42,9 @@ fate-jpeg2000dec-p0_08: CMD = framecrc -flags +bitexact -auto_conversion_filters
FATE_JPEG2000DEC += fate-jpeg2000dec-p0_09
fate-jpeg2000dec-p0_09: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/jpeg2000/itu-iso/codestreams_profile0/p0_09.j2k
+FATE_JPEG2000DEC += fate-jpeg2000dec-p0_10
+fate-jpeg2000dec-p0_10: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/jpeg2000/itu-iso/codestreams_profile0/p0_10.j2k
+
FATE_JPEG2000DEC += fate-jpeg2000dec-p0_11
fate-jpeg2000dec-p0_11: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/jpeg2000/itu-iso/codestreams_profile0/p0_11.j2k
diff --git a/tests/ref/fate/jpeg2000dec-p0_10 b/tests/ref/fate/jpeg2000dec-p0_10
new file mode 100644
index 0000000000..16c4e5e39d
--- /dev/null
+++ b/tests/ref/fate/jpeg2000dec-p0_10
@@ -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, 0x68638483
--
2.25.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] 5+ messages in thread
* Re: [FFmpeg-devel] [PATCH] fate/jpeg2000dec: add support for p0_10.j2k
2024-06-16 4:47 [FFmpeg-devel] [PATCH] fate/jpeg2000dec: add support for p0_10.j2k pal
@ 2024-06-18 14:24 ` Tomas Härdin
2024-06-18 14:59 ` Pierre-Anthony Lemieux
0 siblings, 1 reply; 5+ messages in thread
From: Tomas Härdin @ 2024-06-18 14:24 UTC (permalink / raw)
To: FFmpeg development discussions and patches
lör 2024-06-15 klockan 21:47 -0700 skrev pal@sandflow.com:
> From: Pierre-Anthony Lemieux <pal@palemieux.com>
>
> p0_10.j2k is one of the reference codestreams included in Rec. ITU-T
> T.803 | ISO/IEC 15444-4.
> ---
> tests/fate/jpeg2000.mak | 3 +++
> tests/ref/fate/jpeg2000dec-p0_10 | 6 ++++++
> 2 files changed, 9 insertions(+)
> create mode 100644 tests/ref/fate/jpeg2000dec-p0_10
Sounds good, assuming it decodes correctly
If there are more files like this, could we add all of them in one go?
/Tomas
_______________________________________________
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] 5+ messages in thread
* Re: [FFmpeg-devel] [PATCH] fate/jpeg2000dec: add support for p0_10.j2k
2024-06-18 14:24 ` Tomas Härdin
@ 2024-06-18 14:59 ` Pierre-Anthony Lemieux
2024-06-19 8:42 ` Tomas Härdin
0 siblings, 1 reply; 5+ messages in thread
From: Pierre-Anthony Lemieux @ 2024-06-18 14:59 UTC (permalink / raw)
To: FFmpeg development discussions and patches
On Tue, Jun 18, 2024 at 7:25 AM Tomas Härdin <git@haerdin.se> wrote:
>
> lör 2024-06-15 klockan 21:47 -0700 skrev pal@sandflow.com:
> > From: Pierre-Anthony Lemieux <pal@palemieux.com>
> >
> > p0_10.j2k is one of the reference codestreams included in Rec. ITU-T
> > T.803 | ISO/IEC 15444-4.
> > ---
> > tests/fate/jpeg2000.mak | 3 +++
> > tests/ref/fate/jpeg2000dec-p0_10 | 6 ++++++
> > 2 files changed, 9 insertions(+)
> > create mode 100644 tests/ref/fate/jpeg2000dec-p0_10
>
> Sounds good, assuming it decodes correctly
>
> If there are more files like this, could we add all of them in one go?
I expect significantly more files to be added once the "Add support
for placeholder passes, CAP, and CPF markers" patch is merged. In the
meantime, I do not see a downside to updating FATE since it addresses
a specific bug in trac.
>
> /Tomas
> _______________________________________________
> 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".
_______________________________________________
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] 5+ messages in thread
* Re: [FFmpeg-devel] [PATCH] fate/jpeg2000dec: add support for p0_10.j2k
2024-06-18 14:59 ` Pierre-Anthony Lemieux
@ 2024-06-19 8:42 ` Tomas Härdin
2024-06-20 20:09 ` Pierre-Anthony Lemieux
0 siblings, 1 reply; 5+ messages in thread
From: Tomas Härdin @ 2024-06-19 8:42 UTC (permalink / raw)
To: FFmpeg development discussions and patches
tis 2024-06-18 klockan 07:59 -0700 skrev Pierre-Anthony Lemieux:
> On Tue, Jun 18, 2024 at 7:25 AM Tomas Härdin <git@haerdin.se> wrote:
> >
> > lör 2024-06-15 klockan 21:47 -0700 skrev pal@sandflow.com:
> > > From: Pierre-Anthony Lemieux <pal@palemieux.com>
> > >
> > > p0_10.j2k is one of the reference codestreams included in Rec.
> > > ITU-T
> > > T.803 | ISO/IEC 15444-4.
> > > ---
> > > tests/fate/jpeg2000.mak | 3 +++
> > > tests/ref/fate/jpeg2000dec-p0_10 | 6 ++++++
> > > 2 files changed, 9 insertions(+)
> > > create mode 100644 tests/ref/fate/jpeg2000dec-p0_10
> >
> > Sounds good, assuming it decodes correctly
> >
> > If there are more files like this, could we add all of them in one
> > go?
>
> I expect significantly more files to be added once the "Add support
> for placeholder passes, CAP, and CPF markers" patch is merged. In the
> meantime, I do not see a downside to updating FATE since it addresses
> a specific bug in trac.
Alright, fair enough
/Tomas
_______________________________________________
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] 5+ messages in thread
* Re: [FFmpeg-devel] [PATCH] fate/jpeg2000dec: add support for p0_10.j2k
2024-06-19 8:42 ` Tomas Härdin
@ 2024-06-20 20:09 ` Pierre-Anthony Lemieux
0 siblings, 0 replies; 5+ messages in thread
From: Pierre-Anthony Lemieux @ 2024-06-20 20:09 UTC (permalink / raw)
To: FFmpeg development discussions and patches
On Wed, Jun 19, 2024 at 1:42 AM Tomas Härdin <git@haerdin.se> wrote:
>
> tis 2024-06-18 klockan 07:59 -0700 skrev Pierre-Anthony Lemieux:
> > On Tue, Jun 18, 2024 at 7:25 AM Tomas Härdin <git@haerdin.se> wrote:
> > >
> > > lör 2024-06-15 klockan 21:47 -0700 skrev pal@sandflow.com:
> > > > From: Pierre-Anthony Lemieux <pal@palemieux.com>
> > > >
> > > > p0_10.j2k is one of the reference codestreams included in Rec.
> > > > ITU-T
> > > > T.803 | ISO/IEC 15444-4.
> > > > ---
> > > > tests/fate/jpeg2000.mak | 3 +++
> > > > tests/ref/fate/jpeg2000dec-p0_10 | 6 ++++++
> > > > 2 files changed, 9 insertions(+)
> > > > create mode 100644 tests/ref/fate/jpeg2000dec-p0_10
> > >
> > > Sounds good, assuming it decodes correctly
My methodology:
convert build/c1p0_10-0.pgx build/c1p0_10-1.pgx build/c1p0_10-2.pgx
build/c1p0_10.png
./ffmpeg -i build/p0_10.j2k build/out.png
compare -verbose -metric psnr build/c1p0_10.png build/out.png build/diff.png
c1p0_10-i.pgx are from the ISO/ITU standard.
> > >
> > > If there are more files like this, could we add all of them in one
> > > go?
> >
> > I expect significantly more files to be added once the "Add support
> > for placeholder passes, CAP, and CPF markers" patch is merged. In the
> > meantime, I do not see a downside to updating FATE since it addresses
> > a specific bug in trac.
>
> Alright, fair enough
Thanks. Will merge over the weekend.
>
> /Tomas
> _______________________________________________
> 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".
_______________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2024-06-20 20:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-16 4:47 [FFmpeg-devel] [PATCH] fate/jpeg2000dec: add support for p0_10.j2k pal
2024-06-18 14:24 ` Tomas Härdin
2024-06-18 14:59 ` Pierre-Anthony Lemieux
2024-06-19 8:42 ` Tomas Härdin
2024-06-20 20:09 ` Pierre-Anthony Lemieux
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