summaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeg2000.c
Commit message (Collapse)AuthorAgeFilesLines
* jpeg2000: Factor out prec initLuca Barbato2015-09-141-96/+112
| | | | Makes debugging a little simpler.
* jpeg2000: Factor out band stepsize initializationLuca Barbato2015-09-141-14/+25
|
* jpeg2000: Factor out band initializationLuca Barbato2015-09-141-193/+213
|
* jpeg2000: do not compute the same value twiceVittorio Giovara2014-11-131-9/+6
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1026771 / CID 1026772 / CID 1026773
* jpeg2000: fix dereferencing invalid pointers during cleanupVittorio Giovara2014-06-231-8/+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-171-1/+2
|
* jpeg2000: Proper cleanup on failure in decode_frame()Luca Barbato2013-07-021-1/+3
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Compute corrections of sub-band coordinatesMichael Niedermayer2013-07-021-3/+7
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Remove unneeded variable initializationMichael Niedermayer2013-07-021-1/+1
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Use separate fields for int and float codepathsMichael Niedermayer2013-07-021-13/+22
| | | | | | | 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-021-8/+8
| | | | | | 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-021-0/+14
| | | | | | 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-021-1/+1
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Initialize code blocks structures in precincts to 0Michael Niedermayer2013-07-021-3/+3
| | | | | | | | 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-021-2/+0
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Check that nreslevels2decode has been initialized before useMichael Niedermayer2013-07-021-0/+5
| | | | | | | 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-221-0/+478
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>
OpenPOWER on IntegriCloud