summaryrefslogtreecommitdiff
path: root/libavcodec/jpeg2000.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* jpeg2000: Factor out prec initLuca Barbato2015-09-14
| | | | Makes debugging a little simpler.
* jpeg2000: Factor out band stepsize initializationLuca Barbato2015-09-14
|
* jpeg2000: Factor out band initializationLuca Barbato2015-09-14
|
* jpeg2000: do not compute the same value twiceVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1026771 / CID 1026772 / CID 1026773
* jpeg2000: fix dereferencing invalid pointers during cleanupVittorio Giovara2014-06-23
| | | | | | CC: libav-stable@libav.org Found-by: Laurent Butti <laurentb@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* jpeg2000: Mark static data init functions as av_coldDiego Biurrun2014-06-17
|
* jpeg2000: Proper cleanup on failure in decode_frame()Luca Barbato2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Compute corrections of sub-band coordinatesMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Remove unneeded variable initializationMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Use separate fields for int and float codepathsMichael Niedermayer2013-07-02
| | | | | | | Split stepsize and data into int and float variants. Eliminates a number of casts and simplifies spotting errors. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Compute quantization for 'scalar derived' in the correct case.Michael Niedermayer2013-07-02
| | | | | | Scalar derived case is represented by the JPEG2K_QSTY_SI define. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Calculate code-block coord in ff_jpeg2000_init_component()Michael Niedermayer2013-07-02
| | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Nicolas Bertrand <nicoinattendu@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Fix compute precedence error in lut_gain indexMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Initialize code blocks structures in precincts to 0Michael Niedermayer2013-07-02
| | | | | | | | Prevent use of uninitialized memory / valgrind failure. Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Remove unneeded returnsMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Check that nreslevels2decode has been initialized before useMichael Niedermayer2013-07-02
| | | | | | | Avoid buffer overread. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* JPEG 2000 decoder for DCinemaNicolas Bertrand2013-04-22
Based on the 2007 GSoC project from Kamil Nowosad <k.nowosad@students.mimuw.edu.pl> Updated to current programming standards, style and many more small fixes by Diego Biurrun <diego@biurrun.de>. Signed-off-by: Diego Biurrun <diego@biurrun.de>