summaryrefslogtreecommitdiff
path: root/libopenjpeg
AgeCommit message (Collapse)Author
2007-12-21Bug fixed by David Bruken. Fixed memory allocation issue in opj_malloc.h.Francois-Olivier Devaux
Possible errors in pi_create_encode handled
2007-12-19changed variables names alpha, beta, gamma, delta in dwt.c to avoid ↵Antonin Descampe
re-declarations on Macosx
2007-12-19Fixed allocation problem in pi.cFrancois-Olivier Devaux
2007-12-19In pi.c, removed the Recursive function pi_check_next_level() and modified ↵Parvatha Elangovan
the code.
2007-12-19In mqc.h, changed MQC_NUMCTXS from 32 to 19 as JPEG 2000 only allows 19 ↵Francois-Olivier Devaux
possible contexts
2007-12-10First import of JAVAOpenJPEG, a Java wrapper of OpenJPEG, developed by ↵Francois-Olivier Devaux
Patrick Piscaglia of Telemis (www.telemis.com). Thank you Patrick for this new module !
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-14Avoided ABI breakageFrancois-Olivier Devaux
2007-11-14Patch by Callum Lerwick. The opj_tcd_cblk array is one of the largest ↵Francois-Olivier Devaux
allocations, because it contains a bunch of static buffers. This also makes it a major source of cache thrashing. This patch allocates the buffers from the heap, and dynamically sizes them in the decoder. I have not yet managed to dynamically size them in the encoder, getting the decoder to do it was tricky enough... I also split opj_tcd_cblk_t into separate encode and decode versions. A lot of fields were not used by both, so this cuts its size even further.
2007-11-14Patch by Callum Lerwick. This patch rearranges the largest memory ↵Francois-Olivier Devaux
allocations so they're allocated as late as possible, and freed as soon as possible. This cuts memory usage by about half on two large test images.
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-13Patch by Dzonatas and Callum Lerwick. Fp/vectorization patch which ↵Francois-Olivier Devaux
basically converts most of the irreversible decode codepath to floating point, eliminating a few rounds of int/fp conversion, resulting in a vast performance improvement, and an increase in accuracy.
2007-11-08Patches from Callum Lewick: Fixed some spelling errors in dwt.c.Francois-Olivier Devaux
2007-11-08In t1.c, small change to avoid calling twice t1_getwmsedec()Francois-Olivier Devaux
Patch from Callum Lewick. Basic gcc optimization flags in cmake and makefile match.
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-10-10*Patch from Callum Lewick. Clean up of j2klib.h for the aligned malloc stuff. Francois-Olivier Devaux
*convert.c: Changed some error comments for TIFF images
2007-09-27Patch from Callum Lewick. Fixed dwt.c where an alignment in buffer was ↵Francois-Olivier Devaux
problematic under x86_64.
2007-09-25BUG: Fix previous patch from Callum Lerwick. I have no clue what ↵Mathieu Malaterre
CMAKE_INSTALL_LIBDIR refers too. Bump up cmake 2.2 restriction to cmake 2.4 because of previous patch not backward compatible. Properly set the SOVERSION in a cross plateform way (yes WIN32 is a plateform)
2007-09-19Fixed issues with generation of SOP marker.Parvatha Elangovan
2007-09-18Fixed issues with Reading and Writing TIF images in convert.c to avoid ↵Parvatha Elangovan
segmentation fault. Fixed issues relating to using user specified rates for CINEMA option for multiple images.
2007-09-17OpenJPEG library interface modified to retain compatibility with version ↵Francois-Olivier Devaux
1.2. Sorry if some of you already adapted their code to the previous interface, but we want to avoid a ABI break....
2007-09-17Fixed issues with cstr_info when codestream has components with different ↵Francois-Olivier Devaux
number of resolutions.
2007-09-12Patch from Callum Lerwick. Fixed the library linking so it links with the ↵Francois-Olivier Devaux
soversion properly set. Fixes up the install targets so that it interacts properly with RPM. Install target for MJ2. Sets some necessary and useful CFLAGS if gcc is in use.
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-30Added information regarding the end of packet position in the index Francois-Olivier Devaux
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-24Fixed problem with _mm_malloc under OSX. Thanks to Callum Lerwick for ↵Francois-Olivier Devaux
solving that issue.
2007-08-21Use <xmmintrin.h> for WIN32, else use <mm_malloc.h> Francois-Olivier Devaux
2007-08-21Moved the orient flipping into the ctxno_zc table.Francois-Olivier Devaux
Thanks to Callum Lerwick who provided all these great patches !
2007-08-21Replaced the large ctxno_mag lookup table with a small bit of inline-able ↵Francois-Olivier Devaux
branchless code
2007-08-21Consolidated some calls to mqc_setcurctx. Cleaned up t1_generate_luts to ↵Francois-Olivier Devaux
output the proper types.
2007-08-21Reworks of t1_updateflags to get rid of the shift operation. mqc_setcurctx ↵Francois-Olivier Devaux
moved to the header to allow it to be inlined into the t1.
2007-08-21Memory leaks fixedFrancois-Olivier Devaux
2007-08-21Aligned malloc using Intel's _mm_malloc(), cleanup on the t1 memory ↵Francois-Olivier Devaux
allocation, getting rid of some leftover debug code
2007-08-21Minor cleanup patch, that gets rid of a bunch of "old style declaration" ↵Francois-Olivier Devaux
warnings from Intel's compiler
2007-08-21Corrected allocation to take into account the EOC markerFrancois-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-07-12Fixed a bug in JPWL module, which prevented to exploit the full error ↵Giuseppe Baruffa
correction capability of RS codes (e.g. it gave up at 5 errors, even if 6 were correctable); defined a JPWL_MAXIMUM_EPB_ROOM for better customization of the maximum dimension of EPBs (the dimension is pre-calculated on an hypothesis, if it goes beyond 65535 there will be problems, thus we give a little less than the max, let's say 65450)
2007-07-08fixed the size of the memory allocation in cio.c (confusion between bits and ↵Antonin Descampe
bytes)
2007-06-21Output image color space set when decoding a JP2 fileFrancois-Olivier Devaux
2007-06-15Fixed the generation of index files. Now works with cinema formats. Francois-Olivier Devaux