openjpeg.git
12 years ago[v2] remove ref to png.h file on win32 v2
Mathieu Malaterre [Fri, 16 Mar 2012 16:47:44 +0000 (16:47 +0000)]
[v2] remove ref to png.h file on win32

12 years ago[v2] do not make freeimage compulsary when not needed.
Mathieu Malaterre [Sun, 11 Mar 2012 13:57:26 +0000 (13:57 +0000)]
[v2] do not make freeimage compulsary when not needed.

12 years agofixed version number of openjpeg 2.0.0 in openjpeg.h
Antonin Descampe [Sun, 3 Jul 2011 17:58:59 +0000 (17:58 +0000)]
fixed version number of openjpeg 2.0.0 in openjpeg.h

13 years ago[V2] fixed dllexport definition (credit to vincent torri)
Antonin Descampe [Wed, 13 Apr 2011 11:01:12 +0000 (11:01 +0000)]
[V2] fixed dllexport definition (credit to vincent torri)

13 years agoRemoved folders mj2, JavaOpenJpeg, jpwl, OPJViewer (not compliant with v2). Removed...
Antonin Descampe [Tue, 12 Apr 2011 23:36:01 +0000 (23:36 +0000)]
Removed folders mj2, JavaOpenJpeg, jpwl, OPJViewer (not compliant with v2). Removed obsolete windows project files. Removed obsolete Makefiles (only build method currently supported with v2 branch: cmake). Renamed ChangeLog to CHANGES. Renamed License.txt to LICENSE. Removed obsolete README files.

13 years agoFixed internal function names conflict with Jasper (http://code.google.com/p/openjpeg...
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)

13 years agoFix leak in jp2_read_header_procedure() (from even.rouault, see issue 29 on googlecode)
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)

13 years agoThe original v1.3 branch had:
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

13 years agominor bugs fixed (see issue 31 on googlecode - Thanks to winfried)
Antonin Descampe [Tue, 5 Oct 2010 20:58:04 +0000 (20:58 +0000)]
minor bugs fixed (see issue 31 on googlecode - Thanks to winfried)

13 years agofixed problems with partial decodes (non-zero value for cp_reduce) that can cause...
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

13 years agofixed minor problems that prevented the solution file from building in Windows (issue...
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

13 years agoThe lrintf function should use "long" instead of "int"
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.

13 years agoBUG: The _asm directive is not available in Visual Studio 9, 64bits.
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.

13 years agoFix contributed by Bill Lorensen, to make it build in MinGW.
Luis Ibanez [Sun, 22 Aug 2010 00:29:14 +0000 (00:29 +0000)]
Fix contributed by Bill Lorensen, to make it build in MinGW.

13 years agoBUG: Fixing case in which the pointer the data buffers doesn't
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.

13 years agoFor backward compatibility
Mathieu Malaterre [Wed, 11 Aug 2010 09:45:39 +0000 (09:45 +0000)]
For backward compatibility

13 years agoFix case
Mathieu Malaterre [Wed, 11 Aug 2010 08:47:58 +0000 (08:47 +0000)]
Fix case

13 years agofix compilation with freeimage
Mathieu Malaterre [Thu, 1 Jul 2010 17:41:44 +0000 (17:41 +0000)]
fix compilation with freeimage

13 years agoPrevent segfault later down in the pipeline
Mathieu Malaterre [Thu, 1 Jul 2010 17:40:57 +0000 (17:40 +0000)]
Prevent segfault later down in the pipeline

13 years agobackport from trunk
Mathieu Malaterre [Thu, 1 Jul 2010 17:35:20 +0000 (17:35 +0000)]
backport from trunk

13 years agoAttempt to fix win32 compilation
Mathieu Malaterre [Wed, 23 Jun 2010 13:22:03 +0000 (13:22 +0000)]
Attempt to fix win32 compilation

13 years agoFinish fixing up bugs with png i/o
Mathieu Malaterre [Tue, 22 Jun 2010 19:27:35 +0000 (19:27 +0000)]
Finish fixing up bugs with png i/o

13 years agoadd more test. prevent segfault
Mathieu Malaterre [Tue, 22 Jun 2010 19:06:01 +0000 (19:06 +0000)]
add more test. prevent segfault

13 years ago Import j2k_dump from trunk (much faster)
Mathieu Malaterre [Tue, 22 Jun 2010 18:26:15 +0000 (18:26 +0000)]
 Import j2k_dump from trunk (much faster)

13 years agoStart merging change from svn trunk
Mathieu Malaterre [Tue, 22 Jun 2010 17:29:21 +0000 (17:29 +0000)]
Start merging change from svn trunk

13 years agoStart using cmake API for easy packaging
Mathieu Malaterre [Mon, 21 Jun 2010 13:54:49 +0000 (13:54 +0000)]
Start using cmake API for easy packaging

13 years agoFix installation
Mathieu Malaterre [Mon, 21 Jun 2010 13:41:12 +0000 (13:41 +0000)]
Fix installation

13 years agominor change
Mathieu Malaterre [Mon, 21 Jun 2010 12:52:56 +0000 (12:52 +0000)]
minor change

13 years agotest all codecs. Adding forgotten file to search for freeimage
Mathieu Malaterre [Mon, 21 Jun 2010 12:48:43 +0000 (12:48 +0000)]
test all codecs. Adding forgotten file to search for freeimage

13 years agoincrease coverage by testing all codecs
Mathieu Malaterre [Mon, 21 Jun 2010 12:30:28 +0000 (12:30 +0000)]
increase coverage by testing all codecs

13 years agomake j2k_to_image return errors
Mathieu Malaterre [Mon, 21 Jun 2010 12:26:06 +0000 (12:26 +0000)]
make j2k_to_image return errors

13 years agoadd some more documentation
Mathieu Malaterre [Mon, 21 Jun 2010 12:15:51 +0000 (12:15 +0000)]
add some more documentation

13 years agoadd some documentation on how to use it
Mathieu Malaterre [Mon, 21 Jun 2010 12:13:35 +0000 (12:13 +0000)]
add some documentation on how to use it

13 years agoadding a template ctest file
Mathieu Malaterre [Mon, 21 Jun 2010 12:10:49 +0000 (12:10 +0000)]
adding a template ctest file

13 years agoMinor tweaks to cmake files
Mathieu Malaterre [Mon, 21 Jun 2010 11:50:46 +0000 (11:50 +0000)]
Minor tweaks to cmake files

13 years agoAddression Windows warnings about mismatch between signed and unsigned.
Luis Ibanez [Sat, 12 Jun 2010 22:51:15 +0000 (22:51 +0000)]
Addression Windows warnings about mismatch between signed and unsigned.

13 years agoENH: Fixing compilation warnings on gcc 4.4.
Luis Ibanez [Wed, 2 Jun 2010 04:16:09 +0000 (04:16 +0000)]
ENH: Fixing compilation warnings on gcc 4.4.

13 years agoENH: Disable the set of CMAKE_C_FLAGS. It precluded the use of flags for performing...
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.

13 years agoENH: Added custom configuration for CTest. This allows to filter out
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.

13 years agoENH: Enabling the lines that configure testing for the Dashboard.
Luis Ibanez [Wed, 26 May 2010 23:16:15 +0000 (23:16 +0000)]
ENH: Enabling the lines that configure testing for the Dashboard.

13 years agoENH: Adding configuration for submitting builds to the CDash Dasboard
Luis Ibanez [Wed, 26 May 2010 23:10:49 +0000 (23:10 +0000)]
ENH: Adding configuration for submitting builds to the CDash Dasboard

14 years ago[v2.0] Fixed problem with Borland C++ Builder (Borland C do not have lrintf). Thanks...
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.

14 years ago[v2.0] Fixed pi.c bug (issue 15 on google code). Thanks to Anton Lionel for catching...
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.

14 years ago[v2.0] Fixed MJ2 codec bugs (issues 23-24 on google code). Thanks to Winfried for...
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.

14 years agoAdded support for "jpc" codestreams which are equivalent to "j2c" codestreams [v2...
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

14 years agoCode improvements using 'g++-4.4.0' to trace the code (v2.0). Thanks to Winfried...
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.

14 years agoFixed small compatibility issues with win32 in codec (moved include <strings.h>)
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>)

14 years agoUpdated makefiles for v1.4 and v2.0
Francois-Olivier Devaux [Fri, 5 Mar 2010 21:28:38 +0000 (21:28 +0000)]
Updated makefiles for v1.4 and v2.0

14 years ago* [FOD] Fixed libopenjpeg Makefile
Francois-Olivier Devaux [Tue, 16 Feb 2010 11:08:55 +0000 (11:08 +0000)]
* [FOD] Fixed libopenjpeg Makefile

14 years ago[FOD] Created a new constant in openjpeg.h to differentiate the case when the colorsp...
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.

14 years agoV2 branch : modified the xcode project name for V2
Antonin Descampe [Thu, 10 Sep 2009 15:02:51 +0000 (15:02 +0000)]
V2 branch : modified the xcode project name for V2

14 years agoV2 branch : removed t1_generate_luts.c from xcode project file
Antonin Descampe [Thu, 10 Sep 2009 13:35:04 +0000 (13:35 +0000)]
V2 branch : removed t1_generate_luts.c from xcode project file

14 years agoV2 branch :
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

14 years agofixed minor bugs which were triggering warnings at compilation (different signedness...
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)

15 years agoENH: attempt to recommit license with proper eol (match svn info)
Mathieu Malaterre [Sat, 2 Aug 2008 16:49:04 +0000 (16:49 +0000)]
ENH: attempt to recommit license with proper eol (match svn info)

15 years agoENH: remove INLINE from forward decl. Fix CMakeLists.txt for UNIX platforms
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

15 years ago(no commit message)
Antonin Descampe [Fri, 1 Aug 2008 15:01:24 +0000 (15:01 +0000)]

15 years agoremoved t1_generate_luts.c, useless in version 2 ; updated XCode project file for...
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.

15 years agoDeleting obsolete files and directories, adding v2-specific files and directories...
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

15 years agoCreating a branch of openjpeg trunk to host v2
Antonin Descampe [Thu, 31 Jul 2008 11:24:31 +0000 (11:24 +0000)]
Creating a branch of openjpeg trunk to host v2

15 years agoDeleting v2 directory... Will be re-created as a branch
Antonin Descampe [Thu, 31 Jul 2008 11:22:44 +0000 (11:22 +0000)]
Deleting v2 directory... Will be re-created as a branch

15 years agoAdded the default lossless parameter to opj_set_default_encoder_parameters in openjpeg.c
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

15 years agoInitial commit of openjpeg version 2. Temprarily added as a separate directory in...
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).

15 years agofixed a bug in dirent.h that prevented codec on Linux Alpha Systems to compile correc...
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.

15 years agofixed a bug in j2k.c (j2k_write_sod) that allowed to get negative rates, thanks zhong...
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.

15 years agoadditional test to avoid crash due to invalid image size, patch by Christopher Layne
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

15 years agomemory leak fixed in openjpeg.c (opj_destroy_cstr_info()), patch by Carsten Juttner
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

15 years agoupdated XCode project file
Antonin Descampe [Tue, 20 May 2008 16:46:14 +0000 (16:46 +0000)]
updated XCode project file

16 years agoAdded help line for the -F option in j2k_to_image
Giuseppe Baruffa [Wed, 12 Mar 2008 10:40:42 +0000 (10:40 +0000)]
Added help line for the -F option in j2k_to_image

16 years agoChanged Java files copyright in JavaOpenJPEG module
Francois-Olivier Devaux [Tue, 4 Mar 2008 10:56:03 +0000 (10:56 +0000)]
Changed Java files copyright in JavaOpenJPEG module

16 years agoCorrected the wrong syntax of calloc()...
Francois-Olivier Devaux [Fri, 29 Feb 2008 09:36:12 +0000 (09:36 +0000)]
Corrected the wrong syntax of calloc()...

16 years agoFixed openjpeg.c for proper initialization of codec context structures (dinfo in...
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.

16 years agoRemoved the J2KViewer module, which has been replaced by OPJViewer and fixed the...
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

16 years agoMinor style modifications to comply with c99 compiler flag; removed Microsoft-specifi...
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

16 years agoIn convert.c, corrected imagetobmp() conversion for grayscale. In tcd.c, corrected...
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().

16 years agoIn opjviewer, unification of JPEG 2000 family handlers (*.jp2, *.mj2, *.j2k) in a...
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

16 years agoIn image.c, changed the opj_image_create0() memory allocation from malloc() to calloc...
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.

16 years agoupdate of openjpeg XCode project file (2)
Antonin Descampe [Fri, 18 Jan 2008 10:30:24 +0000 (10:30 +0000)]
update of openjpeg XCode project file (2)

16 years agoupdate of openjpeg XCode project file
Antonin Descampe [Fri, 18 Jan 2008 10:29:16 +0000 (10:29 +0000)]
update of openjpeg XCode project file

16 years agoSVN server problem. Added again MJ2 project files to try to solve issue.
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.

16 years agoSVN server problem. Removed 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.

16 years agoInitial commit of Xcode project directory (XCode 2.5 for macosx). Available targets...
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

16 years agofixed opj_malloc.h for macosx (bugfix provided by janpeder, thanks)
Antonin Descampe [Wed, 16 Jan 2008 19:01:13 +0000 (19:01 +0000)]
fixed opj_malloc.h for macosx (bugfix provided by janpeder, thanks)

16 years agoremove obsolete directory "CVSROOT"
Antonin Descampe [Wed, 16 Jan 2008 17:54:47 +0000 (17:54 +0000)]
remove obsolete directory "CVSROOT"

16 years agoupdate makefile.osx and readme.osx to comply with version 1.3
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

16 years agoAdded missing files to JavaOpenJPEG project (files from Patrick Piscaglia)
Francois-Olivier Devaux [Fri, 11 Jan 2008 09:33:45 +0000 (09:33 +0000)]
Added missing files to JavaOpenJPEG project (files from Patrick Piscaglia)

16 years agoPatch by Callum Lerwick. Fixed error during encoding using tile option in tcd.c
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

16 years agoVERSION 1.3.0 RELEASE
Francois-Olivier Devaux [Fri, 21 Dec 2007 10:39:41 +0000 (10:39 +0000)]
VERSION 1.3.0 RELEASE

16 years agoBug fixed by David Bruken. Fixed memory allocation issue in opj_malloc.h.
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

16 years agochanged variables names alpha, beta, gamma, delta in dwt.c to avoid re-declarations...
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

16 years agoFixed allocation problem in pi.c
Francois-Olivier Devaux [Wed, 19 Dec 2007 13:57:57 +0000 (13:57 +0000)]
Fixed allocation problem in pi.c

16 years agoIn pi.c, removed the Recursive function pi_check_next_level() and modified the code.
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.

16 years agoIn mqc.h, changed MQC_NUMCTXS from 32 to 19 as JPEG 2000 only allows 19 possible...
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

16 years agoFirst import of JAVAOpenJPEG, a Java wrapper of OpenJPEG, developed by Patrick Piscag...
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 !

16 years agoAdded index.h and index.c in VC6 projects; wrapped index.h in the C++ preprocessor...
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.

16 years agoFixed the maximum number of resolutions a user can discard while decoding.
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)

16 years agoCreated the file index.c in the codec directory. This file handles the creation of...
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)

16 years agoAvoided ABI breakage
Francois-Olivier Devaux [Wed, 14 Nov 2007 11:34:48 +0000 (11:34 +0000)]
Avoided ABI breakage

16 years agoPatch by Callum Lerwick. The opj_tcd_cblk array is one of the largest allocations...
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.

16 years agoPatch by Callum Lerwick. This patch rearranges the largest memory allocations so...
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.