openjpeg.git
13 years agoENH: Including the new header file openjpegConfigure.h
Luis Ibanez [Tue, 7 Sep 2010 22:05:17 +0000 (22:05 +0000)]
ENH: Including the new header file openjpegConfigure.h
     in order to carry the definition of OPJ_STATIC
     when building static libraries.

13 years agoCOMP: adding trunk/codec/compat to the list of directories
Luis Ibanez [Sun, 5 Sep 2010 22:52:44 +0000 (22:52 +0000)]
COMP: adding trunk/codec/compat to the list of directories
      that must be searched for header files.

13 years agoENH: Removed redundant copies of getopt.c and getopt.h.
Luis Ibanez [Sun, 5 Sep 2010 21:59:25 +0000 (21:59 +0000)]
ENH: Removed redundant copies of getopt.c and getopt.h.
Now reusing the ones in codec/compat.

13 years agoENH: The logic for defining OPJ_STATIC has now been moved to the
Luis Ibanez [Sun, 5 Sep 2010 21:37:14 +0000 (21:37 +0000)]
ENH: The logic for defining OPJ_STATIC has now been moved to the
     openjpegConfigure.h file.

13 years agoENH: Adding symbols from traditional checks.
Luis Ibanez [Sun, 5 Sep 2010 21:34:07 +0000 (21:34 +0000)]
ENH: Adding symbols from traditional checks.
     NOTE: the LCMS may still require CMake code for detecting the
     prescence of the library, of the use of CMake options for letting
     the user choose based on her preference.

13 years agoENH: Adding a configured header file at the image of config.h.
Luis Ibanez [Sun, 5 Sep 2010 21:14:47 +0000 (21:14 +0000)]
ENH: Adding a configured header file at the image of config.h.

13 years agoCOMP: PNG_LIBRARIES were missing for the TARGET_LINK_LIBRARIES command
Luis Ibanez [Sun, 5 Sep 2010 20:54:55 +0000 (20:54 +0000)]
COMP: PNG_LIBRARIES were missing for the TARGET_LINK_LIBRARIES command
      of the executable targets.

13 years agoENH: jpwl subdirectory is now build also on Unix systems.
Luis Ibanez [Sun, 5 Sep 2010 20:50:17 +0000 (20:50 +0000)]
ENH: jpwl subdirectory is now build also on Unix systems.
     As pointed out by Winfried and Antonin, there is no reason
     to exclude jpwl in Unix systems.

13 years agoENH: Grouping the logic that detects getopt.c into a single .cmake file.
Luis Ibanez [Sun, 5 Sep 2010 20:15:05 +0000 (20:15 +0000)]
ENH: Grouping the logic that detects getopt.c into a single .cmake file.

Multiple directories were repeating this configuration independently.
The directory jp3d is expected to be self-suficient so it still does
the configuration directly.

13 years agoCOMP: Fixing configuration for static builds. Fixing dependencies that several
Luis Ibanez [Wed, 1 Sep 2010 00:52:26 +0000 (00:52 +0000)]
COMP: Fixing configuration for static builds. Fixing dependencies that several
executables have on getopt.c, convert.c and index.c.

Some refactoring is going to be required in order to have a cleaner
configuration process and make it easier to maintain.

13 years agoENH: Silencing warnings from Visual Studio regardgin security of string functions...
Luis Ibanez [Tue, 31 Aug 2010 23:44:21 +0000 (23:44 +0000)]
ENH: Silencing warnings from Visual Studio regardgin security of string functions, that can't be resolved in a multi-platform manner anywasys.

13 years agoSTYLE: This file had inconsistent ends of line (mixture of DOS and UNIX).
Luis Ibanez [Tue, 31 Aug 2010 23:38:44 +0000 (23:38 +0000)]
STYLE: This file had inconsistent ends of line (mixture of DOS and UNIX).

13 years agoCOMP: Moving to the parent directory the set INCLUDE_DIRECTORIES command.
Luis Ibanez [Tue, 31 Aug 2010 23:37:21 +0000 (23:37 +0000)]
COMP: Moving to the parent directory the set INCLUDE_DIRECTORIES command.
Given that files in "codec" look for files in "libjp3dvm", and files in
"libjp3dvm" look for header files in "codec".

13 years agoCOMP: Remove requirement that png and tiff headers must be in a specific directory...
Luis Ibanez [Tue, 31 Aug 2010 23:35:03 +0000 (23:35 +0000)]
COMP: Remove requirement that png and tiff headers must be in a specific directory relative to this one.

13 years agoBUG: The directory compat doesn't exist. The file getopt.c is actually at this level.
Luis Ibanez [Tue, 31 Aug 2010 23:27:19 +0000 (23:27 +0000)]
BUG: The directory compat doesn't exist. The file getopt.c is actually at this level.

13 years agoUpdate the XCode project file with JPWL targets
Antonin Descampe [Mon, 30 Aug 2010 10:15:32 +0000 (10:15 +0000)]
Update the XCode project file with JPWL targets

13 years agoUpdate the README.cmake file : an instruction was missing to run the tests correctly.
Antonin Descampe [Mon, 30 Aug 2010 10:14:34 +0000 (10:14 +0000)]
Update the README.cmake file : an instruction was missing to run the tests correctly.

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

13 years agoUpdate README and Makefiles to promote cmake. Fix the README.cmake file.
Antonin Descampe [Wed, 7 Jul 2010 13:00:39 +0000 (13:00 +0000)]
Update README and Makefiles to promote cmake. Fix the README.cmake file.

13 years agoChange CMakeLists.txt to build examples by default (image_to_j2k and j2k_to_image).
Antonin Descampe [Fri, 2 Jul 2010 12:44:22 +0000 (12:44 +0000)]
Change CMakeLists.txt to build examples by default (image_to_j2k and j2k_to_image).

13 years agoNeed to include png/tiff include path
Mathieu Malaterre [Thu, 1 Jul 2010 17:33:51 +0000 (17:33 +0000)]
Need to include png/tiff include path

13 years agoSynchronize branch and trunk cmakelists files
Mathieu Malaterre [Tue, 29 Jun 2010 19:09:10 +0000 (19:09 +0000)]
Synchronize branch and trunk cmakelists files

13 years agoSynchronize branch and trunk cmakelists files
Mathieu Malaterre [Tue, 29 Jun 2010 19:08:58 +0000 (19:08 +0000)]
Synchronize branch and trunk cmakelists files

13 years agoreturn error code upon errors
Mathieu Malaterre [Tue, 29 Jun 2010 19:08:45 +0000 (19:08 +0000)]
return error code upon errors

13 years agoSync with v2 branch
Mathieu Malaterre [Tue, 22 Jun 2010 19:06:29 +0000 (19:06 +0000)]
Sync with v2 branch

13 years agoMerge with v2 branch
Mathieu Malaterre [Tue, 22 Jun 2010 17:32:19 +0000 (17:32 +0000)]
Merge with v2 branch

13 years agoAlso dump the image info as well as cp info.
Mathieu Malaterre [Tue, 22 Jun 2010 14:03:52 +0000 (14:03 +0000)]
Also dump the image info as well as cp info.

13 years agoApply patch from w. szukalski (sent to list). Mon, Jun 21, 2010 at 5:49 PM
Mathieu Malaterre [Tue, 22 Jun 2010 11:55:36 +0000 (11:55 +0000)]
Apply patch from w. szukalski (sent to list). Mon, Jun 21, 2010 at 5:49 PM

13 years agoadding j2k_dump executable
Mathieu Malaterre [Mon, 21 Jun 2010 13:21:11 +0000 (13:21 +0000)]
adding j2k_dump executable

14 years agoENH: Added custom configuration for CTest. This allows to fine tune
Luis Ibanez [Wed, 26 May 2010 23:44:07 +0000 (23:44 +0000)]
ENH: Added custom configuration for CTest. This allows to fine tune
     the selection of files for code coverage computation, and also
     allows to filter out acceptable compiler warnings.

14 years agoENH: Cleaning up the file comments. Setting the build time to 3am UTC.
Luis Ibanez [Wed, 26 May 2010 23:07:59 +0000 (23:07 +0000)]
ENH: Cleaning up the file comments. Setting the build time to 3am UTC.

14 years agoRemove automatic setting of BUILDNAME for now
Mathieu Malaterre [Wed, 26 May 2010 09:53:05 +0000 (09:53 +0000)]
Remove automatic setting of BUILDNAME for now

14 years agoReactivate ctest
Mathieu Malaterre [Wed, 26 May 2010 09:45:12 +0000 (09:45 +0000)]
Reactivate ctest

14 years agoMove to cmake 2.6. Add policy CMP0003
Mathieu Malaterre [Wed, 26 May 2010 09:34:01 +0000 (09:34 +0000)]
Move to cmake 2.6. Add policy CMP0003

14 years agoAdded CTestConfig.cmake to the root directory to incorporate the testing dashboard.
Antonin Descampe [Wed, 26 May 2010 09:00:06 +0000 (09:00 +0000)]
Added CTestConfig.cmake to the root directory to incorporate the testing dashboard.

14 years agoMACOSX : Added a "build all" target to the XCode project file.
Antonin Descampe [Wed, 26 May 2010 08:25:06 +0000 (08:25 +0000)]
MACOSX : Added a "build all" target to the XCode project file.

14 years agoMACOSX : Fixed the XCode project file to link with the PNG library. Library and heade...
Antonin Descampe [Fri, 16 Apr 2010 17:14:29 +0000 (17:14 +0000)]
MACOSX : Fixed the XCode project file to link with the PNG library. Library and header should be located in /usr/local/lib/ and /usr/local/include/, respectively. Check ethan.tira-thompson.org/Mac_OS_X_Ports.html if it is not the case on your mac.

14 years ago[v1.4]Fixed issue 6 on google code. Variable "pi" not freed or pointed-to in function...
Francois-Olivier Devaux [Thu, 8 Apr 2010 20:19:54 +0000 (20:19 +0000)]
[v1.4]Fixed issue 6 on google code. Variable "pi" not freed or pointed-to in function "pi_create_encode". Thanks to Kent Mein for reporting this.
[v1.4]Fixed problem with Borland C++ Builder (Borland C do not have lrintf). Thanks Marek Mauder for this fix.

14 years ago[v1.4] Fixed pi.c bug (issue 15 on google code). Thanks to Anton Lionel for catching...
Francois-Olivier Devaux [Thu, 8 Apr 2010 18:43:03 +0000 (18:43 +0000)]
[v1.4] Fixed pi.c bug (issue 15 on google code). Thanks to Anton Lionel for catching this.

14 years agoFixed MJ2 codec bugs (issues 23-24 on google code). Thanks to Winfried for these...
Francois-Olivier Devaux [Thu, 8 Apr 2010 17:50:05 +0000 (17:50 +0000)]
Fixed MJ2 codec bugs (issues 23-24 on google code). Thanks to Winfried for these patches.

14 years agoFixed JP3D codec file format analyzer. Thanks to Kristóf Ralovich for this patch.
Francois-Olivier Devaux [Thu, 8 Apr 2010 17:34:40 +0000 (17:34 +0000)]
Fixed JP3D codec file format analyzer. Thanks to Kristóf Ralovich for this patch.

14 years agoSignificant optimizations of MCT, DWT, MQ and T1 modules by Peter Wimmer (thanks...
Francois-Olivier Devaux [Thu, 8 Apr 2010 17:22:58 +0000 (17:22 +0000)]
Significant optimizations of MCT, DWT, MQ and T1 modules by Peter Wimmer (thanks Peter)

14 years agoAdded support for "jpc" codestreams which are equivalent to "j2c" codestreams [v1...
Francois-Olivier Devaux [Fri, 26 Mar 2010 16:07:08 +0000 (16:07 +0000)]
Added support for "jpc" codestreams which are equivalent to "j2c" codestreams [v1.4]. Thanks to Winfried for this patch

14 years agoAdded support for PNG image format [Not yet functional under WIN32]. Thanks to Winfri...
Francois-Olivier Devaux [Fri, 26 Mar 2010 15:46:17 +0000 (15:46 +0000)]
Added support for PNG image format [Not yet functional under WIN32]. Thanks to Winfried for this patch. See details here code.google.com/p/openjpeg/issues/detail?id=16

14 years agoCode improvements using 'g++-4.4.0' to trace the code (v1.4). Thanks to Winfried...
Francois-Olivier Devaux [Wed, 24 Mar 2010 11:20:45 +0000 (11:20 +0000)]
Code improvements using 'g++-4.4.0' to trace the code (v1.4). 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:27:37 +0000 (21:27 +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:20 +0000 (21:28 +0000)]
Updated makefiles for v1.4 and v2.0

14 years agoFirst import of OPJ_Validate tool
Francois-Olivier Devaux [Fri, 5 Mar 2010 21:17:11 +0000 (21:17 +0000)]
First import of OPJ_Validate tool

14 years agoApplied changes to jp3d_to_volume.c that didn't pass in previous revision (rev545)
Francois-Olivier Devaux [Fri, 19 Feb 2010 13:37:27 +0000 (13:37 +0000)]
Applied changes to jp3d_to_volume.c that didn't pass in previous revision (rev545)

14 years agoJP3D Module. Fixed issue when computing the number of elements in an array that leads...
Francois-Olivier Devaux [Thu, 18 Feb 2010 16:36:21 +0000 (16:36 +0000)]
JP3D Module. Fixed issue when computing the number of elements in an array that leads to crash (thanks Kristof). Updated JP3D makefiles.

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:13 +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 agofixed MCT check bug in t1_getwmsedec. See http://groups.google.com/group/openjpeg...
Antonin Descampe [Fri, 6 Nov 2009 12:52:54 +0000 (12:52 +0000)]
fixed MCT check bug in t1_getwmsedec. See groups.google.com/group/openjpeg/browse_thread/thread/d9d96dd4ec3e7443 for info

14 years agofixed "tiffio" header inclusion to use user version on Win32 system only (otherwise...
Antonin Descampe [Thu, 5 Nov 2009 16:39:02 +0000 (16:39 +0000)]
fixed "tiffio" header inclusion to use user version on Win32 system only (otherwise assume its existence in system headers).

14 years agofixed minor bugs which were triggering warnings at compilation (different signedness...
Antonin Descampe [Thu, 10 Sep 2009 12:29:51 +0000 (12:29 +0000)]
fixed minor bugs which were triggering warnings at compilation (different signedness, wrong pointer type, etc)

14 years agoopenjpeg.c : fixed initialization of parameters->cp_disto_alloc/fixed_quality/fixed_a...
Antonin Descampe [Tue, 8 Sep 2009 18:25:51 +0000 (18:25 +0000)]
openjpeg.c : fixed initialization of parameters->cp_disto_alloc/fixed_quality/fixed_alloc/tcp_numlayers because they were preventing to use the -q and -f options.

14 years agoJavaOpenJpegDecoder.c : fixed a signed/unsigned behaviour when returning form C to...
Antonin Descampe [Mon, 31 Aug 2009 13:18:20 +0000 (13:18 +0000)]
JavaOpenJpegDecoder.c : fixed a signed/unsigned behaviour when returning form C to JAVA

15 years agoENH: fix svn properties
Mathieu Malaterre [Wed, 1 Oct 2008 16:01:23 +0000 (16:01 +0000)]
ENH: fix svn properties

15 years agoCOMP: minor compilation warning
Mathieu Malaterre [Wed, 1 Oct 2008 16:00:42 +0000 (16:00 +0000)]
COMP: minor compilation warning

15 years agofound a bug in tcd.c that was preventing to find the correct threshold in tcd_rateall...
Antonin Descampe [Fri, 22 Aug 2008 16:18:17 +0000 (16:18 +0000)]
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.

15 years agofixed a bug in image_to_j2k.c that was preventing the 'r' option to work properly...
Antonin Descampe [Thu, 21 Aug 2008 16:00:44 +0000 (16:00 +0000)]
fixed a bug in image_to_j2k.c that was preventing the 'r' option to work properly (everything was compressed lossless regardless of the specified rate).

15 years agoModified the way raw images with more that 8bpp are read and written
Francois-Olivier Devaux [Fri, 8 Aug 2008 13:15:36 +0000 (13:15 +0000)]
Modified the way raw images with more that 8bpp are read and written

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.

16 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.

16 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

16 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

16 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.