[FFmpeg-devel] [RFC PATCH] libavcodec/jpeg2000_parser: Add jpeg2000 parser

Michael Niedermayer michael at niedermayer.cc
Wed Jun 3 00:57:22 EEST 2020


On Wed, Jun 03, 2020 at 12:49:10AM +0530, Gautam Ramakrishnan wrote:
> On Tue, Jun 2, 2020 at 1:55 AM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> >
> > Am Mo., 1. Juni 2020 um 21:26 Uhr schrieb Gautam Ramakrishnan
> > <gautamramk at gmail.com>:
> >
> > > > > > can you add some test to fate for this ?
> > > > > > (doesnt need to be related to the tests you did, but can of course)
> > > > > > such a test would also make it easy for others to test the code on
> > > > > > less common hardware like big endian ...
> > > > > > This can also be very simple test if its not easy
> > > > > Small doubt, so the jpeg2000 stream to be parsed goes in the
> > > > > test-suite directory and the corresponding framecrc goes into the
> > > > > test/ref directory? Is my understanding right?
> > > >
> > > > ideally the teststream is generated by our muxers / encoders, that way
> > > > it doesnt need to be added to the fate suite
> > > > and it also teste more code as a side effect
> > > I did not understand this clearly. Do you mean the test should take some
> > > images already there in the test-suite, create a teststream, and run the test
> > > on that teststream?
> >
> > This is possible but using -f lavfi -i testsr2 as input may be simpler.
> I assume, this is the right link to refer to create the test
> https://trac.ffmpeg.org/wiki/FATE/AddingATest

> I could run the enc_dec_pcm, where I encode the
> lavfi generated stream and decode it using jpeg2000 codec?

enc_dec_pcm is for audio, but maybe i misunderstand your suggestion

thx

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

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200602/9f2e7e53/attachment.sig>


More information about the ffmpeg-devel mailing list