efa5f7977cCreated the file index.c in the codec directory. This file handles the creation of index files, at encoding and decoding. Fixed bugs during the creation of the index (PCRL progression order)
Francois-Olivier Devaux
2007-11-27 12:38:52 +0000
c458af9cd6Avoided ABI breakage
Francois-Olivier Devaux
2007-11-14 11:34:48 +0000
010ae27471Patch by Callum Lerwick. The opj_tcd_cblk array is one of the largest 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.
Francois-Olivier Devaux
2007-11-14 10:52:02 +0000
24e189e4d8Patch by Callum Lerwick. This patch rearranges the largest memory 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.
Francois-Olivier Devaux
2007-11-14 08:45:00 +0000
61a15672bbPatch by Callum Lerwick. Instead of reinventing realloc, j2k_read_sod now just uses opj_realloc in j2k.c
Francois-Olivier Devaux
2007-11-14 08:29:12 +0000
dbeebe72b9Patch by Dzonatas and Callum Lerwick. Fp/vectorization patch which 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.
Francois-Olivier Devaux
2007-11-13 17:35:12 +0000
014694b04fBUG: Fix name of project
Mathieu Malaterre
2007-11-08 14:52:45 +0000
6a1588c78eENH: remove hardcoded value. It is a user-configurable option, which default to the same...
Mathieu Malaterre
2007-11-08 14:46:53 +0000
6d7f5ccc8dENH: do not set ffast-math for all configurations, please
Mathieu Malaterre
2007-11-08 14:41:45 +0000
4bb067642fPatches from Callum Lewick: Fixed some spelling errors in dwt.c.
Francois-Olivier Devaux
2007-11-08 14:29:39 +0000
c38de0728dIn t1.c, small change to avoid calling twice t1_getwmsedec() Patch from Callum Lewick. Basic gcc optimization flags in cmake and makefile match.
Francois-Olivier Devaux
2007-11-08 14:26:03 +0000
b93c12564dRestoring wrap_j2k_in_mj2.c, which I did not want to commit at all in rev469
Giuseppe Baruffa
2007-11-05 13:14:51 +0000
95d760a173Fixed a bug which prevented JPWL from working on multi-tiled images; added some more fields in the interface info structures (keep a list of markers, save start packet number for each tile)
Giuseppe Baruffa
2007-11-05 13:05:07 +0000
123a680669Improved success for the linux build; OPJViewer shows all the COM contents
Giuseppe Baruffa
2007-10-23 14:33:40 +0000
9e114bcaa4Patch from Callum Lewick. Memset patch. See ChangeLog for more details. Thanks Callum !
Francois-Olivier Devaux
2007-10-18 12:26:11 +0000
5fdc05d18dChanged the ROI parameter in the image_to_j2k codec to make it correspond to the documentation (i.e. -ROI c=0,U=25)
Francois-Olivier Devaux
2007-10-18 08:14:43 +0000
1f11a4fe90Changed the way the image structure is allocated when the decoding 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 !
Francois-Olivier Devaux
2007-10-12 15:04:34 +0000
ab0473aa42*Patch from Callum Lewick. Clean up of j2klib.h for the aligned malloc stuff. *convert.c: Changed some error comments for TIFF images
Francois-Olivier Devaux
2007-10-10 06:17:28 +0000
4b60f17bbaPatch from Callum Lewick. Fixed dwt.c where an alignment in buffer was problematic under x86_64.
Francois-Olivier Devaux
2007-09-27 12:20:12 +0000
6265dcfb11BUG: Fix previous patch from Callum Lerwick. I have no clue what 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)
Mathieu Malaterre
2007-09-25 14:54:49 +0000
7e40a9475aFixed issues with generation of SOP marker.
Parvatha Elangovan
2007-09-19 14:56:19 +0000
a6ba04cdf4Fixed issues with Reading and Writing TIF images in convert.c to avoid segmentation fault. Fixed issues relating to using user specified rates for CINEMA option for multiple images.
Parvatha Elangovan
2007-09-18 13:07:29 +0000
55c4c14352OpenJPEG library interface modified to retain compatibility with version 1.2. Sorry if some of you already adapted their code to the previous interface, but we want to avoid a ABI break....
Francois-Olivier Devaux
2007-09-17 15:11:20 +0000
569bbb0077Fixed issues with cstr_info when codestream has components with different number of resolutions.
Francois-Olivier Devaux
2007-09-17 14:00:43 +0000
abfba20b99Patch from Callum Lerwick. Fixed the library linking so it links with the 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.
Francois-Olivier Devaux
2007-09-12 09:04:03 +0000
09231c317dUpdated the MJ2 codec to be compatible with the recent changes in the OpenJPEG library.
Francois-Olivier Devaux
2007-09-12 08:52:18 +0000
1e705438e4JPWL encoding is finalized correctly into the JP2 file format; added an additional structure in opj_codestream_info, to keep a record of the written markers
Giuseppe Baruffa
2007-09-11 15:21:12 +0000
d70a0415b9Adapted the JPWL and OPJViewer code to new interface; fixed a samll bug in JPWL which created large EPBs even when null protection was specified
Giuseppe Baruffa
2007-09-07 23:16:31 +0000
3816e0edf4Indexes can now be generated when decoding J2K codestreams.
Francois-Olivier Devaux
2007-09-07 15:01:55 +0000
e7149e0c56ENH: license.txt was dos on my linux box. Make it native instead.
Mathieu Malaterre
2007-09-07 13:52:43 +0000
3392d99487BUG: cannot run tests if EXAMPLES are not built
Mathieu Malaterre
2007-09-07 13:49:57 +0000
263e0f3bb2ENH: make it a little more user friendly
Mathieu Malaterre
2007-09-07 13:27:16 +0000
b29cff9b9cENH: Add cmake code to do testing if user has properly setup a testimages directory
Mathieu Malaterre
2007-09-07 13:21:17 +0000
53471a76f1ENH: Fix unitialized read in img_fol (we may need a smarter initialize than memset)
Mathieu Malaterre
2007-09-06 16:49:15 +0000
8ac5e7023cENH: Add very simple tests (simply run command line with no option)
Mathieu Malaterre
2007-09-06 16:38:06 +0000
dfcacb8247One more field in the codestream_info struct for recording the number of packets per tile part; JPWL now distributes the EPBs in all the tile part headers
Giuseppe Baruffa
2007-09-06 15:59:39 +0000
be5db9489eENH: add Java j2kviewer but do not compile it using cmake since cmake has too poor support for Java. Should create a custom command running ant instead.
Mathieu Malaterre
2007-09-06 14:56:23 +0000
f3456a27e7ENH: add Java j2kviewer but do not compile it using cmake since cmake has too poor support for Java. Should create a custom command running ant instead.
Mathieu Malaterre
2007-09-06 14:56:00 +0000
fdf20c7b7aENH: add cmake for jp3d
Mathieu Malaterre
2007-09-06 10:51:38 +0000
b4dc6fc133ENH: add cmake for jp3d
Mathieu Malaterre
2007-09-06 10:51:38 +0000
6f22934c5aMove include file that collides with system include to the correct directory (no need to be present for the lib, only codec need it)
Mathieu Malaterre
2007-09-06 10:49:19 +0000
0533b5b78eMove include file that collides with system include to the correct directory (no need to be present for the lib, only codec need it)
Mathieu Malaterre
2007-09-06 10:49:19 +0000
976ca18103ENH: Add jpwl. Also remove old deprecated way of linking lib math on unix
Mathieu Malaterre
2007-09-06 10:23:40 +0000
7e874368f7ENH: Start building mj2
Mathieu Malaterre
2007-09-06 10:13:05 +0000
d3d2a36fbcAdded some fields in the codestream_info structure: they are used to record the position of single tile parts. Changed also the write_index function in the codec, to reflect the presence of this new information.
Giuseppe Baruffa
2007-09-04 14:19:55 +0000
564e16d5ceAdded the knowledge of JPSEC SEC and INSEC markers (you have to compile the 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
Giuseppe Baruffa
2007-09-03 13:30:59 +0000
c4313f0b39Fixed save capabilities in OPJViewer due to recent code upgrade
Giuseppe Baruffa
2007-08-31 10:55:15 +0000
7a2d96efe1Added information regarding the end of packet position in the index
Francois-Olivier Devaux
2007-08-30 15:32:51 +0000
acfe0ad645Changed the OpenJPEG library interface to enable users to access information regarding the codestream (also called index).
Francois-Olivier Devaux
2007-08-30 09:51:20 +0000
d07fa5d9d0Fixed wrong destructors called in openjpeg.c Fixed bug in j2k_decode_jpt_stream
Francois-Olivier Devaux
2007-08-28 10:13:58 +0000
c101f8049cThe end of main header is calculated after TLM and POC marker for Dcinema.
Parvatha Elangovan
2007-08-24 15:11:01 +0000
bd0b6ec2fdFixed problem with _mm_malloc under OSX. Thanks to Callum Lerwick for solving that issue.
Francois-Olivier Devaux
2007-08-24 13:46:44 +0000
1d02a8b595Use <xmmintrin.h> for WIN32, else use <mm_malloc.h>
Francois-Olivier Devaux
2007-08-21 12:57:39 +0000
07be749bf2Moved the orient flipping into the ctxno_zc table. Thanks to Callum Lerwick who provided all these great patches !
Francois-Olivier Devaux
2007-08-21 12:51:57 +0000
2952874cb8Replaced the large ctxno_mag lookup table with a small bit of inline-able branchless code
Francois-Olivier Devaux
2007-08-21 12:42:55 +0000
1cfbdcc9ceConsolidated some calls to mqc_setcurctx. Cleaned up t1_generate_luts to output the proper types.
Francois-Olivier Devaux
2007-08-21 12:36:05 +0000
d4d23c7eb5Reworks of t1_updateflags to get rid of the shift operation. mqc_setcurctx moved to the header to allow it to be inlined into the t1.
Francois-Olivier Devaux
2007-08-21 12:30:08 +0000
3810e943b1Aligned malloc using Intel's _mm_malloc(), cleanup on the t1 memory allocation, getting rid of some leftover debug code
Francois-Olivier Devaux
2007-08-21 12:13:54 +0000
ca2a0114a2Minor cleanup patch, that gets rid of a bunch of "old style declaration" warnings from Intel's compiler
Francois-Olivier Devaux
2007-08-21 12:02:23 +0000
2c75c27ee8Solved problems with codec reading from image file directory when filename had more than one "." in name
Francois-Olivier Devaux
2007-08-21 10:50:47 +0000
c45b8e6c38Updated libtiff library version to 3.8.2 (for WIN32) Updated BMP and PxM truncation when decoding J2K files with more than 8 bits (convert.c)
Francois-Olivier Devaux
2007-07-19 13:44:04 +0000
64d72b7bfdFixed raw option to encode raw images with more than three components.
Francois-Olivier Devaux
2007-07-18 09:45:59 +0000
b7ce19709dAdded support for RAW images. This module has been developped by the University of Perugia team. Thanks to them !
Francois-Olivier Devaux
2007-07-17 16:19:41 +0000
4a50efe542Fixed a bug in JPWL module, which prevented to exploit the full error 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)
Giuseppe Baruffa
2007-07-12 08:31:01 +0000
bdb18ab19cfixed the size of the memory allocation in cio.c (confusion between bits and bytes)
Antonin Descampe
2007-07-08 16:38:51 +0000
167fb6337bPrevious, home, and next frame buttons for exploring MJ2 files in OPJViewer
Giuseppe Baruffa
2007-06-21 14:00:32 +0000
c924975434Output image color space set when decoding a JP2 file
Francois-Olivier Devaux
2007-06-21 08:26:03 +0000
92398409a5Reload image doesn't crash in OPJViewer; more settings saved to registry
Giuseppe Baruffa
2007-06-18 13:05:28 +0000
c647671607added toolbar to OPJViewer
Giuseppe Baruffa
2007-06-17 23:13:04 +0000
2845d9bf64Possibility to disable parsing in OPJViewer; also, saves common settings to the registry; automatic build numbering
Giuseppe Baruffa
2007-06-16 17:28:47 +0000
3d626da232Fixed the generation of index files. Now works with cinema formats.
Francois-Olivier Devaux
2007-06-15 13:27:43 +0000
f428a306a1changed the dylib-version to 1.2.0
Antonin Descampe
2007-06-05 09:00:34 +0000
42ad5bb05aOpenJPEG version 1.2
version.1.2
Francois-Olivier Devaux
2007-06-04 14:01:59 +0000
21f2cab710Release of version 1.2.0
Francois-Olivier Devaux
2007-06-04 13:27:25 +0000
ea9335ff48Bugs corrected in decoding of command line (getopt.c), in the handling of 16 bit files (t1.c and tcd.c) and the calculation of elapsed time for multiple tiles parts (tcd.c and tdc.h).
Francois-Olivier Devaux
2007-06-04 13:23:26 +0000
adc1aacb60OPJViewer opens now BMP, PNG, GIF, PNM, TIFF (with wxWidgets internals); added an encoder settings tab, for future integration with "save file as..." in JPEG 2000 format
Giuseppe Baruffa
2007-06-03 17:34:46 +0000
814bab6900Fixed the handling of 16bit TIFF files for cinema compression. Modified "convert.c". Fixed the parameters used for cinema compression (9-7 transform used instead of 5-3). Modified "image_to_j2k.c"
Francois-Olivier Devaux
2007-05-31 09:13:44 +0000
1f55aaf4a6Bug fixed by Sylvain Munaut. Change in the reading of the POC marker. Since COD/COC can be anywhere in the header, the decoder cannot always know while decoding the POC marker the value of numlayers and numresolution.
Francois-Olivier Devaux
2007-05-23 16:04:50 +0000
8be8111008Patch suggested by Callum Lerwick <seg@haxxed.com>: "This makes the t1 data arrays dynamic, which greatly reduces cache thrashing. Also, some minor cleanup to prevent unnecessary casts"
Francois-Olivier Devaux
2007-05-22 13:14:13 +0000
1bec8fe082Patch suggested by Callum Lerwick <seg@haxxed.com>: "Some formatting cleanups, so that the long function definitions and calls fit on screen. Use of prefix increment which is theoretically faster, in practice any sane compiler can optimize a postfix increment but its best not to count on such things. Consolidation of some redundant calculations in the inner loops, which becomes very useful in the future autovectorize patch."
Francois-Olivier Devaux
2007-05-21 13:08:10 +0000
7d06d7fb5dPatch suggested by Callum Lerwick <seg@haxxed.com>: "This changes the flag code in t1 to use a flag_t type, which can then be changed to reduce RAM usage. It is now typedef to a short."
Francois-Olivier Devaux
2007-05-21 12:50:03 +0000
e0ee9becb4Patch suggested by Callum Lerwick <seg@haxxed.com>: "This patch makes the t1 LUTs static. I actually intend this as a prelude to possibly eliminating some or all of the LUTs entirely."
Francois-Olivier Devaux
2007-05-21 09:44:10 +0000