summaryrefslogtreecommitdiff
path: root/libopenjpeg/j2k.c
AgeCommit message (Collapse)Author
2014-03-18[1.5] Check the number of tilesMathieu Malaterre
2014-03-18[1.5] Import portion of patch from issue 297Mathieu Malaterre
Run test suite on new datasets Update issue 297
2014-03-17[1.5] Remove another set of simple warningsMathieu Malaterre
2014-02-25[1.5] Remove addition from r1702 this introduced a regression as seen in ↵Mathieu Malaterre
issue 205 Fixes issue 205
2012-10-02[1.5] missing range check in j2k_read_coc et al.Mathieu Malaterre
Fixes issue 166
2012-10-02[1.5] division by zero in j2k_read_sizMathieu Malaterre
Fixes issue 169
2012-09-10[1.5] Fix Heap-based buffer-overflow when decoding openjpeg imageMathieu Malaterre
Thanks to Huzaifa Sidhpurwala of Red Hat Security Response Team for dataset to reproduce the issue. Fixes issue 170
2012-07-11[1.5] Fix r1727 (Issue 156) to compile on compilers where false is not defined.Mathieu Malaterre
2012-07-11[1.5] This fixes issues seen on PDF filesMathieu Malaterre
Fixes issue 156
2012-07-10[1.5] Fix heap buffer overflowMathieu Malaterre
Enforce sanity checks on tile number and tile length, even when the (rather broken) USE_JPWL code isn't enabled.
2012-05-29[1.5] Applying old patch from r1642, with further modification from ↵Mathieu Malaterre
winfried. Also enable failing test. Everything seems to be working well now. Fixes issue 150
2012-05-29[1.5] Apply private patch from Alex Macfarlane SmithMathieu Malaterre
This gets rids of a lot memory leaks when used on device with low memory
2012-04-23[1.5] Revert r1642, as explained on ↵Mathieu Malaterre
https://groups.google.com/group/openjpeg/msg/77a67fef94a0309b
2012-04-23[1.5] Integrate patch from winfried posted on the mailing list. See here for ↵Mathieu Malaterre
more info: https://groups.google.com/group/openjpeg/msg/1bbf7ae7ddee3a51
2011-12-16Remove some simple warnings about commentsMathieu Malaterre
2011-09-09BRANCH-1.5:added a new indexer functionality to the library. With the new ↵Antonin Descampe
-jpip option at encoding, the user can now generate a JP2 file including an XML box with the index used when browsing the image with JPIP
2011-08-11fixed build error with position of variable declaration after patch 856Mickael Savinaud
2011-08-10fixed glibc error with broken2 and broken4 imagesMickael Savinaud
2011-08-10removed unused parameters warnings with the solution proposed by myself and ↵Mickael Savinaud
Bob Friesenhahn
2011-07-28manage case 0 frames inside yuv_num_frames function and correct some ↵Mickael Savinaud
warnings with gcc4.5 (credit to Winfried)
2011-06-03adding partno and numpart info as part of the warning message (issue #69)Mathieu Malaterre
2011-05-18defined new type "opj_bool", and new constants OPJ_FALSE and OPJ_TRUE, to ↵Antonin Descampe
avoid having to deal with "stdbool.h" (patch from Winfried)
2011-05-16fixed part of issue 69, when tile-part index is inconsistent with the total ↵Antonin Descampe
number of tile-parts
2011-01-02bug fixes to enable cmake compilation on WIN32 platform (see CHANGES for ↵Antonin Descampe
details)
2010-06-22Also dump the image info as well as cp info.Mathieu Malaterre
2010-03-24Code improvements using 'g++-4.4.0' to trace the code (v1.4). Thanks to ↵Francois-Olivier Devaux
Winfried for this patch.
2008-05-22fixed a bug in j2k.c (j2k_write_sod) that allowed to get negative rates, ↵Antonin Descampe
thanks zhong1985624 for pointing this.
2008-05-22additional test to avoid crash due to invalid image size, patch by ↵Antonin Descampe
Christopher Layne
2007-12-19In pi.c, removed the Recursive function pi_check_next_level() and modified ↵Parvatha Elangovan
the code.
2007-11-27Fixed the maximum number of resolutions a user can discard while decoding.Francois-Olivier Devaux
Added an error state in J2K_STATE (j2k.c)
2007-11-14Patch by Callum Lerwick. Instead of reinventing realloc, j2k_read_sod now ↵Francois-Olivier Devaux
just uses opj_realloc in j2k.c
2007-11-05Fixed a bug which prevented JPWL from working on multi-tiled images; added ↵Giuseppe Baruffa
some more fields in the interface info structures (keep a list of markers, save start packet number for each tile)
2007-10-18Patch from Callum Lewick. Memset patch. See ChangeLog for more details. ↵Francois-Olivier Devaux
Thanks Callum !
2007-10-12Changed the way the image structure is allocated when the decoding ↵Francois-Olivier Devaux
parameters include some resolutions to discard. This should have a significant impact for the decoding of huge images when some resolutions are discarder (-r parameter) Warning: The output image size is now reduced when discarding resolutions !
2007-09-19Fixed issues with generation of SOP marker.Parvatha Elangovan
2007-09-17Fixed issues with cstr_info when codestream has components with different ↵Francois-Olivier Devaux
number of resolutions.
2007-09-11JPWL encoding is finalized correctly into the JP2 file format; added an ↵Giuseppe Baruffa
additional structure in opj_codestream_info, to keep a record of the written markers
2007-09-07Indexes can now be generated when decoding J2K codestreams.Francois-Olivier Devaux
2007-09-06One more field in the codestream_info struct for recording the number of ↵Giuseppe Baruffa
packets per tile part; JPWL now distributes the EPBs in all the tile part headers
2007-09-04Added some fields in the codestream_info structure: they are used to record ↵Giuseppe Baruffa
the position of single tile parts. Changed also the write_index function in the codec, to reflect the presence of this new information.
2007-09-03Added the knowledge of JPSEC SEC and INSEC markers (you have to compile the ↵Giuseppe Baruffa
JPWL project). Management of these markers is limited to skipping them without crashing: no real security function at this stage. Deprecated USE_JPSEC and USE_JPWL will be removed next
2007-08-30Changed the OpenJPEG library interface to enable users to access information ↵Francois-Olivier Devaux
regarding the codestream (also called index).
2007-08-28Fixed wrong destructors called in openjpeg.cFrancois-Olivier Devaux
Fixed bug in j2k_decode_jpt_stream
2007-08-24The end of main header is calculated after TLM and POC marker for Dcinema.Parvatha Elangovan
2007-08-21Memory leaks fixedFrancois-Olivier Devaux
2007-08-08Fixed the DCinema filesize allocation. It now includes the SOT marker sizeFrancois-Olivier Devaux
2007-07-13(no commit message)Francois-Olivier Devaux
2007-06-15Fixed the generation of index files. Now works with cinema formats. Francois-Olivier Devaux
2007-05-23Bug fixed by Sylvain Munaut. Change in the reading of the POC marker. Since ↵Francois-Olivier Devaux
COD/COC can be anywhere in the header, the decoder cannot always know while decoding the POC marker the value of numlayers and numresolution.
2007-05-10Possibility to choose to apply MCT (multiple component transform) enabled, ↵Francois-Olivier Devaux
and new decoding_limit: DECODE_ALL_BUT_PACKETS