[FFmpeg-devel] [PATCH]lavc/jpeg2000dec: Scale 4-7bit output to 8 bits

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Apr 26 02:07:48 EEST 2020


Am So., 26. Apr. 2020 um 01:00 Uhr schrieb Michael Niedermayer
<michael at niedermayer.cc>:
>
> On Sat, Apr 25, 2020 at 07:26:08PM +0200, Carl Eugen Hoyos wrote:
> > Hi!
> >
> > Attached patch makes the output of the reference sample p0_03.j2k
> > bit-exact with opj_decompress and kdu_render and more similar to
> > jasper's output.
> >
> > Please comment, Carl Eugen
>
> can these per pixel computations be avoided by adjusting
> f_stepsize / i_stepsize ?

Sorry, I cannot answer this but I realize that the patch probably
only makes sense for the lossless transformation.

Carl Eugen


More information about the ffmpeg-devel mailing list