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

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Jun 1 22:28:48 EEST 2020


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.

Carl Eugen


More information about the ffmpeg-devel mailing list