[FFmpeg-devel] [PATCH] fate/jpeg2000dec: add support for p0_10.j2k

Pierre-Anthony Lemieux pal at sandflow.com
Thu Jun 20 23:09:43 EEST 2024


On Wed, Jun 19, 2024 at 1:42 AM Tomas Härdin <git at 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 at haerdin.se> wrote:
> > >
> > > lör 2024-06-15 klockan 21:47 -0700 skrev pal at sandflow.com:
> > > > From: Pierre-Anthony Lemieux <pal at 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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list