Antonin Descampe [Tue, 12 Apr 2011 17:24:30 +0000 (17:24 +0000)]
Fixed internal function names conflict with Jasper (code.google.com/p/openjpeg/issues/detail?id=30)
Antonin Descampe [Thu, 25 Nov 2010 12:15:07 +0000 (12:15 +0000)]
Fix leak in jp2_read_header_procedure() (from even.rouault, see issue 29 on googlecode)
Mathieu Malaterre [Thu, 7 Oct 2010 17:45:04 +0000 (17:45 +0000)]
The original v1.3 branch had:
((int*)tiledp)[(j * tile_w) + i] = tmp / 2;
while v2 had:
((OPJ_INT32*)tiledp)[(j * tile_w) + i] = tmp >> 1;
Divide by two and a right shift operation are only equivalent when the data
is unsigned. In this case the data is signed, so the right shift operation
is incorrectly clearing the sign bit.
Patch from: Sheet Spotter
Antonin Descampe [Tue, 5 Oct 2010 20:58:04 +0000 (20:58 +0000)]
minor bugs fixed (see issue 31 on googlecode - Thanks to winfried)
Antonin Descampe [Tue, 5 Oct 2010 20:25:01 +0000 (20:25 +0000)]
fixed problems with partial decodes (non-zero value for cp_reduce) that can cause corrupted images and crashes (issue 41) - thanks to Sheet Spotter
Antonin Descampe [Tue, 5 Oct 2010 20:22:17 +0000 (20:22 +0000)]
fixed minor problems that prevented the solution file from building in Windows (issue 40) - thanks to Sheet Spotter
Luis Ibanez [Sun, 22 Aug 2010 18:58:28 +0000 (18:58 +0000)]
The lrintf function should use "long" instead of "int"
for the type of its internal variable.
Luis Ibanez [Sun, 22 Aug 2010 00:30:23 +0000 (00:30 +0000)]
BUG: The _asm directive is not available in Visual Studio 9, 64bits.
An alternative vainilla implementation has been added here, based
on code from VXL, vnl_math.h.
Luis Ibanez [Sun, 22 Aug 2010 00:29:14 +0000 (00:29 +0000)]
Fix contributed by Bill Lorensen, to make it build in MinGW.
Luis Ibanez [Fri, 20 Aug 2010 21:33:43 +0000 (21:33 +0000)]
BUG: Fixing case in which the pointer the data buffers doesn't
get positioned at the beginning of the buffer after a new
buffer load. This case only happens when the pointer happens
to be at the end of the buffer when the request for the new
block arrives. Fix contributed by Bill Hoffman.
Mathieu Malaterre [Wed, 11 Aug 2010 09:45:39 +0000 (09:45 +0000)]
For backward compatibility
Mathieu Malaterre [Wed, 11 Aug 2010 08:47:58 +0000 (08:47 +0000)]
Fix case
Mathieu Malaterre [Thu, 1 Jul 2010 17:41:44 +0000 (17:41 +0000)]
fix compilation with freeimage
Mathieu Malaterre [Thu, 1 Jul 2010 17:40:57 +0000 (17:40 +0000)]
Prevent segfault later down in the pipeline
Mathieu Malaterre [Thu, 1 Jul 2010 17:35:20 +0000 (17:35 +0000)]
backport from trunk
Mathieu Malaterre [Wed, 23 Jun 2010 13:22:03 +0000 (13:22 +0000)]
Attempt to fix win32 compilation
Mathieu Malaterre [Tue, 22 Jun 2010 19:27:35 +0000 (19:27 +0000)]
Finish fixing up bugs with png i/o
Mathieu Malaterre [Tue, 22 Jun 2010 19:06:01 +0000 (19:06 +0000)]
add more test. prevent segfault
Mathieu Malaterre [Tue, 22 Jun 2010 18:26:15 +0000 (18:26 +0000)]
Import j2k_dump from trunk (much faster)
Mathieu Malaterre [Tue, 22 Jun 2010 17:29:21 +0000 (17:29 +0000)]
Start merging change from svn trunk
Mathieu Malaterre [Mon, 21 Jun 2010 13:54:49 +0000 (13:54 +0000)]
Start using cmake API for easy packaging
Mathieu Malaterre [Mon, 21 Jun 2010 13:41:12 +0000 (13:41 +0000)]
Fix installation
Mathieu Malaterre [Mon, 21 Jun 2010 12:52:56 +0000 (12:52 +0000)]
minor change
Mathieu Malaterre [Mon, 21 Jun 2010 12:48:43 +0000 (12:48 +0000)]
test all codecs. Adding forgotten file to search for freeimage
Mathieu Malaterre [Mon, 21 Jun 2010 12:30:28 +0000 (12:30 +0000)]
increase coverage by testing all codecs
Mathieu Malaterre [Mon, 21 Jun 2010 12:26:06 +0000 (12:26 +0000)]
make j2k_to_image return errors
Mathieu Malaterre [Mon, 21 Jun 2010 12:15:51 +0000 (12:15 +0000)]
add some more documentation
Mathieu Malaterre [Mon, 21 Jun 2010 12:13:35 +0000 (12:13 +0000)]
add some documentation on how to use it
Mathieu Malaterre [Mon, 21 Jun 2010 12:10:49 +0000 (12:10 +0000)]
adding a template ctest file
Mathieu Malaterre [Mon, 21 Jun 2010 11:50:46 +0000 (11:50 +0000)]
Minor tweaks to cmake files
Luis Ibanez [Sat, 12 Jun 2010 22:51:15 +0000 (22:51 +0000)]
Addression Windows warnings about mismatch between signed and unsigned.
Luis Ibanez [Wed, 2 Jun 2010 04:16:09 +0000 (04:16 +0000)]
ENH: Fixing compilation warnings on gcc 4.4.
Luis Ibanez [Wed, 2 Jun 2010 04:15:27 +0000 (04:15 +0000)]
ENH: Disable the set of CMAKE_C_FLAGS. It precluded the use of flags for performing code coverage.
Luis Ibanez [Wed, 26 May 2010 23:40:46 +0000 (23:40 +0000)]
ENH: Added custom configuration for CTest. This allows to filter out
files for Code Coverage, and to filter out acceptable warnings
messages.
Luis Ibanez [Wed, 26 May 2010 23:16:15 +0000 (23:16 +0000)]
ENH: Enabling the lines that configure testing for the Dashboard.
Luis Ibanez [Wed, 26 May 2010 23:10:49 +0000 (23:10 +0000)]
ENH: Adding configuration for submitting builds to the CDash Dasboard
Francois-Olivier Devaux [Thu, 8 Apr 2010 20:20:34 +0000 (20:20 +0000)]
[v2.0] Fixed problem with Borland C++ Builder (Borland C do not have lrintf). Thanks Marek Mauder for this fix.
Francois-Olivier Devaux [Thu, 8 Apr 2010 18:43:29 +0000 (18:43 +0000)]
[v2.0] Fixed pi.c bug (issue 15 on google code). Thanks to Anton Lionel for catching this.
Francois-Olivier Devaux [Thu, 8 Apr 2010 18:01:45 +0000 (18:01 +0000)]
[v2.0] Fixed MJ2 codec bugs (issues 23-24 on google code). Thanks to Winfried for these patches.
Francois-Olivier Devaux [Fri, 26 Mar 2010 16:09:46 +0000 (16:09 +0000)]
Added support for "jpc" codestreams which are equivalent to "j2c" codestreams [v2.0]. Thanks to Winfried for this patch
Francois-Olivier Devaux [Wed, 24 Mar 2010 11:21:19 +0000 (11:21 +0000)]
Code improvements using 'g++-4.4.0' to trace the code (v2.0). Thanks to Winfried for this patch.
Francois-Olivier Devaux [Sun, 7 Mar 2010 21:10:47 +0000 (21:10 +0000)]
Fixed small compatibility issues with win32 in codec (moved include <strings.h>)
Francois-Olivier Devaux [Fri, 5 Mar 2010 21:28:38 +0000 (21:28 +0000)]
Updated makefiles for v1.4 and v2.0
Francois-Olivier Devaux [Tue, 16 Feb 2010 11:08:55 +0000 (11:08 +0000)]
* [FOD] Fixed libopenjpeg Makefile
Francois-Olivier Devaux [Wed, 20 Jan 2010 15:44:59 +0000 (15:44 +0000)]
[FOD] Created a new constant in openjpeg.h to differentiate the case when the colorspace is not supported by the library and when it is not specified in the codestream. Suggested by Matteo Italia.
Antonin Descampe [Thu, 10 Sep 2009 15:02:51 +0000 (15:02 +0000)]
V2 branch : modified the xcode project name for V2
Antonin Descampe [Thu, 10 Sep 2009 13:35:04 +0000 (13:35 +0000)]
V2 branch : removed t1_generate_luts.c from xcode project file
Antonin Descampe [Thu, 10 Sep 2009 13:34:19 +0000 (13:34 +0000)]
V2 branch :
- found a bug in tcd.c that was preventing to find the correct threshold in tcd_rateallocate.c for high-precision images. Applied a temporary patch but a better solution should be found.
- Modified the way raw images with more that 8bpp are read and written
Antonin Descampe [Thu, 10 Sep 2009 13:10:09 +0000 (13:10 +0000)]
fixed minor bugs which were triggering warnings at compilation (different signedness, wrong pointer type, etc)
Mathieu Malaterre [Sat, 2 Aug 2008 16:49:04 +0000 (16:49 +0000)]
ENH: attempt to recommit license with proper eol (match svn info)
Mathieu Malaterre [Sat, 2 Aug 2008 16:40:10 +0000 (16:40 +0000)]
ENH: remove INLINE from forward decl. Fix CMakeLists.txt for UNIX platforms
Antonin Descampe [Fri, 1 Aug 2008 15:01:24 +0000 (15:01 +0000)]
Antonin Descampe [Fri, 1 Aug 2008 14:10:34 +0000 (14:10 +0000)]
removed t1_generate_luts.c, useless in version 2 ; updated XCode project file for mac users.
Antonin Descampe [Thu, 31 Jul 2008 18:47:41 +0000 (18:47 +0000)]
Deleting obsolete files and directories, adding v2-specific files and directories, updating existing files to v2. See README.v2 for more info
Antonin Descampe [Thu, 31 Jul 2008 11:24:31 +0000 (11:24 +0000)]
Creating a branch of openjpeg trunk to host v2
Antonin Descampe [Thu, 31 Jul 2008 11:22:44 +0000 (11:22 +0000)]
Deleting v2 directory... Will be re-created as a branch
Parvatha Elangovan [Wed, 9 Jul 2008 11:43:02 +0000 (11:43 +0000)]
Added the default lossless parameter to opj_set_default_encoder_parameters in openjpeg.c
Antonin Descampe [Fri, 4 Jul 2008 11:27:40 +0000 (11:27 +0000)]
Initial commit of openjpeg version 2. Temprarily added as a separate directory in the trunk (will maybe be moved to a branch of version 1.3, this has to be investigated).
Antonin Descampe [Thu, 12 Jun 2008 14:55:12 +0000 (14:55 +0000)]
fixed a bug in dirent.h that prevented codec on Linux Alpha Systems to compile correctly. Thanks to RobinC.
Antonin Descampe [Thu, 22 May 2008 16:39:40 +0000 (16:39 +0000)]
fixed a bug in j2k.c (j2k_write_sod) that allowed to get negative rates, thanks zhong1985624 for pointing this.
Antonin Descampe [Thu, 22 May 2008 12:34:29 +0000 (12:34 +0000)]
additional test to avoid crash due to invalid image size, patch by Christopher Layne
Antonin Descampe [Thu, 22 May 2008 09:54:44 +0000 (09:54 +0000)]
memory leak fixed in openjpeg.c (opj_destroy_cstr_info()), patch by Carsten Juttner
Antonin Descampe [Tue, 20 May 2008 16:46:14 +0000 (16:46 +0000)]
updated XCode project file
Giuseppe Baruffa [Wed, 12 Mar 2008 10:40:42 +0000 (10:40 +0000)]
Added help line for the -F option in j2k_to_image
Francois-Olivier Devaux [Tue, 4 Mar 2008 10:56:03 +0000 (10:56 +0000)]
Changed Java files copyright in JavaOpenJPEG module
Francois-Olivier Devaux [Fri, 29 Feb 2008 09:36:12 +0000 (09:36 +0000)]
Corrected the wrong syntax of calloc()...
Francois-Olivier Devaux [Fri, 29 Feb 2008 09:33:41 +0000 (09:33 +0000)]
Fixed openjpeg.c for proper initialization of codec context structures (dinfo in opj_create_compress() and opj_create_decompress(). Bug fix suggested by Andrey V. Kiselev
Clean up of opj_aligned_malloc(), to just forgo the use of posix_memalign(), as apparently memalign() is what is working better for everyone. Patch by Callum.
Francois-Olivier Devaux [Thu, 28 Feb 2008 11:26:04 +0000 (11:26 +0000)]
Removed the J2KViewer module, which has been replaced by OPJViewer and fixed the error handling of j2k_decode in jp2.c, thanks to Robin Cornelius
Giuseppe Baruffa [Mon, 11 Feb 2008 14:43:11 +0000 (14:43 +0000)]
Minor style modifications to comply with c99 compiler flag; removed Microsoft-specific "union-in-struct" syntax; Re-enabled cstr_info struct creation when -W switch is specified. Changed a number of things in opjviewer (e.g., decoding thread does not execute GUI calls anymore), to have it running under linux --> it is better than before, but still crashes
Parvatha Elangovan [Tue, 5 Feb 2008 15:15:38 +0000 (15:15 +0000)]
In convert.c, corrected imagetobmp() conversion for grayscale. In tcd.c, corrected Rate modification in tcd_init_encode().
Giuseppe Baruffa [Thu, 31 Jan 2008 14:36:06 +0000 (14:36 +0000)]
In opjviewer, unification of JPEG 2000 family handlers (*.jp2, *.mj2, *.j2k) in a single file
Francois-Olivier Devaux [Tue, 22 Jan 2008 10:35:26 +0000 (10:35 +0000)]
In image.c, changed the opj_image_create0() memory allocation from malloc() to calloc() in order to avoid segfaults when freeing the memory allocated for the coding of bad images. Thanks to Christopher Layne for this improvement.
Antonin Descampe [Fri, 18 Jan 2008 10:30:24 +0000 (10:30 +0000)]
update of openjpeg XCode project file (2)
Antonin Descampe [Fri, 18 Jan 2008 10:29:16 +0000 (10:29 +0000)]
update of openjpeg XCode project file
Francois-Olivier Devaux [Thu, 17 Jan 2008 11:57:04 +0000 (11:57 +0000)]
SVN server problem. Added again MJ2 project files to try to solve issue.
Francois-Olivier Devaux [Thu, 17 Jan 2008 11:52:32 +0000 (11:52 +0000)]
SVN server problem. Removed MJ2 project files to try to solve issue.
Antonin Descampe [Thu, 17 Jan 2008 10:48:51 +0000 (10:48 +0000)]
Initial commit of Xcode project directory (XCode 2.5 for macosx). Available targets : libopenjpeg (stat and dyn), image_to_j2k, j2k_to_image
Antonin Descampe [Wed, 16 Jan 2008 19:01:13 +0000 (19:01 +0000)]
fixed opj_malloc.h for macosx (bugfix provided by janpeder, thanks)
Antonin Descampe [Wed, 16 Jan 2008 17:54:47 +0000 (17:54 +0000)]
remove obsolete directory "CVSROOT"
Antonin Descampe [Wed, 16 Jan 2008 17:17:05 +0000 (17:17 +0000)]
update makefile.osx and readme.osx to comply with version 1.3
Francois-Olivier Devaux [Fri, 11 Jan 2008 09:33:45 +0000 (09:33 +0000)]
Added missing files to JavaOpenJPEG project (files from Patrick Piscaglia)
Parvatha Elangovan [Fri, 4 Jan 2008 15:43:57 +0000 (15:43 +0000)]
Patch by Callum Lerwick. Fixed error during encoding using tile option in tcd.c
Francois-Olivier Devaux [Fri, 21 Dec 2007 10:39:41 +0000 (10:39 +0000)]
VERSION 1.3.0 RELEASE
Francois-Olivier Devaux [Fri, 21 Dec 2007 10:19:01 +0000 (10:19 +0000)]
Bug fixed by David Bruken. Fixed memory allocation issue in opj_malloc.h.
Possible errors in pi_create_encode handled
Antonin Descampe [Wed, 19 Dec 2007 14:45:35 +0000 (14:45 +0000)]
changed variables names alpha, beta, gamma, delta in dwt.c to avoid re-declarations on Macosx
Francois-Olivier Devaux [Wed, 19 Dec 2007 13:57:57 +0000 (13:57 +0000)]
Fixed allocation problem in pi.c
Parvatha Elangovan [Wed, 19 Dec 2007 12:28:40 +0000 (12:28 +0000)]
In pi.c, removed the Recursive function pi_check_next_level() and modified the code.
Francois-Olivier Devaux [Wed, 19 Dec 2007 09:13:52 +0000 (09:13 +0000)]
In mqc.h, changed MQC_NUMCTXS from 32 to 19 as JPEG 2000 only allows 19 possible contexts
Francois-Olivier Devaux [Mon, 10 Dec 2007 13:16:01 +0000 (13:16 +0000)]
First import of JAVAOpenJPEG, a Java wrapper of OpenJPEG, developed by Patrick Piscaglia of Telemis (telemis.com). Thank you Patrick for this new module !
Giuseppe Baruffa [Thu, 29 Nov 2007 14:38:26 +0000 (14:38 +0000)]
Added index.h and index.c in VC6 projects; wrapped index.h in the C++ preprocessor; modified OPJViewer project and some files.
Francois-Olivier Devaux [Tue, 27 Nov 2007 14:00:45 +0000 (14:00 +0000)]
Fixed the maximum number of resolutions a user can discard while decoding.
Added an error state in J2K_STATE (j2k.c)
Francois-Olivier Devaux [Tue, 27 Nov 2007 12:38:52 +0000 (12:38 +0000)]
Created 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 [Wed, 14 Nov 2007 11:34:48 +0000 (11:34 +0000)]
Avoided ABI breakage
Francois-Olivier Devaux [Wed, 14 Nov 2007 10:52:02 +0000 (10:52 +0000)]
Patch 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 [Wed, 14 Nov 2007 08:45:00 +0000 (08:45 +0000)]
Patch 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 [Wed, 14 Nov 2007 08:29:12 +0000 (08:29 +0000)]
Patch by Callum Lerwick. Instead of reinventing realloc, j2k_read_sod now just uses opj_realloc in j2k.c
Francois-Olivier Devaux [Tue, 13 Nov 2007 17:35:12 +0000 (17:35 +0000)]
Patch 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.
Mathieu Malaterre [Thu, 8 Nov 2007 14:52:45 +0000 (14:52 +0000)]
BUG: Fix name of project
Mathieu Malaterre [Thu, 8 Nov 2007 14:46:53 +0000 (14:46 +0000)]
ENH: remove hardcoded value. It is a user-configurable option, which default to the same...
Mathieu Malaterre [Thu, 8 Nov 2007 14:41:45 +0000 (14:41 +0000)]
ENH: do not set ffast-math for all configurations, please