Commit Graph

557 Commits

Author SHA1 Message Date
Mathieu Malaterre f6cb0c86e2 [v2] remove ref to png.h file on win32 2012-03-16 16:47:44 +00:00
Mathieu Malaterre a937c91694 [v2] do not make freeimage compulsary when not needed. 2012-03-11 13:57:26 +00:00
Antonin Descampe c49becae30 fixed version number of openjpeg 2.0.0 in openjpeg.h 2011-07-03 17:58:59 +00:00
Antonin Descampe 9e0e3611c5 [V2] fixed dllexport definition (credit to vincent torri) 2011-04-13 11:01:12 +00:00
Antonin Descampe 9fba123a7a 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. 2011-04-12 23:36:01 +00:00
Antonin Descampe fef7d00dc8 Fixed internal function names conflict with Jasper (http://code.google.com/p/openjpeg/issues/detail?id=30) 2011-04-12 17:24:30 +00:00
Antonin Descampe a916dcd052 Fix leak in jp2_read_header_procedure() (from even.rouault, see issue 29 on googlecode) 2010-11-25 12:15:07 +00:00
Mathieu Malaterre cc01949777 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
2010-10-07 17:45:04 +00:00
Antonin Descampe 287be4e683 minor bugs fixed (see issue 31 on googlecode - Thanks to winfried) 2010-10-05 20:58:04 +00:00
Antonin Descampe dea5c48227 fixed problems with partial decodes (non-zero value for cp_reduce) that can cause corrupted images and crashes (issue 41) - thanks to Sheet Spotter 2010-10-05 20:25:01 +00:00
Antonin Descampe 68e1771ae5 fixed minor problems that prevented the solution file from building in Windows (issue 40) - thanks to Sheet Spotter 2010-10-05 20:22:17 +00:00
Luis Ibanez 6ab100903e The lrintf function should use "long" instead of "int"
for the type of its internal variable.
2010-08-22 18:58:28 +00:00
Luis Ibanez 3e5715a994 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.
2010-08-22 00:30:23 +00:00
Luis Ibanez 9f446c88e8 Fix contributed by Bill Lorensen, to make it build in MinGW. 2010-08-22 00:29:14 +00:00
Luis Ibanez 2f9e80da9c 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.
2010-08-20 21:33:43 +00:00
Mathieu Malaterre 871cd3968f For backward compatibility 2010-08-11 09:45:39 +00:00
Mathieu Malaterre e5bfc65137 Fix case 2010-08-11 08:47:58 +00:00
Mathieu Malaterre 315179c719 fix compilation with freeimage 2010-07-01 17:41:44 +00:00
Mathieu Malaterre cab60a170d Prevent segfault later down in the pipeline 2010-07-01 17:40:57 +00:00
Mathieu Malaterre 889aa9227b backport from trunk 2010-07-01 17:35:20 +00:00
Mathieu Malaterre 8dcd3318c2 Attempt to fix win32 compilation 2010-06-23 13:22:03 +00:00
Mathieu Malaterre f71e6e7879 Finish fixing up bugs with png i/o 2010-06-22 19:27:35 +00:00
Mathieu Malaterre 3a44c91ea3 add more test. prevent segfault 2010-06-22 19:06:01 +00:00
Mathieu Malaterre 786dee8782 Import j2k_dump from trunk (much faster) 2010-06-22 18:26:15 +00:00
Mathieu Malaterre 5badc82fa9 Start merging change from svn trunk 2010-06-22 17:29:21 +00:00
Mathieu Malaterre ecd70f033c Start using cmake API for easy packaging 2010-06-21 13:54:49 +00:00
Mathieu Malaterre 0c69d6e1a8 Fix installation 2010-06-21 13:41:12 +00:00
Mathieu Malaterre 306e58761a minor change 2010-06-21 12:52:56 +00:00
Mathieu Malaterre eb1baa78fc test all codecs. Adding forgotten file to search for freeimage 2010-06-21 12:48:43 +00:00
Mathieu Malaterre 414b680e53 increase coverage by testing all codecs 2010-06-21 12:30:28 +00:00
Mathieu Malaterre b1342da5c5 make j2k_to_image return errors 2010-06-21 12:26:06 +00:00
Mathieu Malaterre 27850206b5 add some more documentation 2010-06-21 12:15:51 +00:00
Mathieu Malaterre 5bffbfc638 add some documentation on how to use it 2010-06-21 12:13:35 +00:00
Mathieu Malaterre 49f47e2b00 adding a template ctest file 2010-06-21 12:10:49 +00:00
Mathieu Malaterre 1f348833dd Minor tweaks to cmake files 2010-06-21 11:50:46 +00:00
Luis Ibanez f509865242 Addression Windows warnings about mismatch between signed and unsigned. 2010-06-12 22:51:15 +00:00
Luis Ibanez 173ad641aa ENH: Fixing compilation warnings on gcc 4.4. 2010-06-02 04:16:09 +00:00
Luis Ibanez 3b28bfcb3c ENH: Disable the set of CMAKE_C_FLAGS. It precluded the use of flags for performing code coverage. 2010-06-02 04:15:27 +00:00
Luis Ibanez 04c131a315 ENH: Added custom configuration for CTest. This allows to filter out
files for Code Coverage, and to filter out acceptable warnings
     messages.
2010-05-26 23:40:46 +00:00
Luis Ibanez 40c092bbc3 ENH: Enabling the lines that configure testing for the Dashboard. 2010-05-26 23:16:15 +00:00
Luis Ibanez 576f380eba ENH: Adding configuration for submitting builds to the CDash Dasboard 2010-05-26 23:10:49 +00:00
Francois-Olivier Devaux 8a634d0fe3 [v2.0] Fixed problem with Borland C++ Builder (Borland C do not have lrintf). Thanks Marek Mauder for this fix. 2010-04-08 20:20:34 +00:00
Francois-Olivier Devaux f9e6b81176 [v2.0] Fixed pi.c bug (issue 15 on google code). Thanks to Anton Lionel for catching this. 2010-04-08 18:43:29 +00:00
Francois-Olivier Devaux a346da0599 [v2.0] Fixed MJ2 codec bugs (issues 23-24 on google code). Thanks to Winfried for these patches. 2010-04-08 18:01:45 +00:00
Francois-Olivier Devaux b2d22d6bc0 Added support for "jpc" codestreams which are equivalent to "j2c" codestreams [v2.0]. Thanks to Winfried for this patch 2010-03-26 16:09:46 +00:00
Francois-Olivier Devaux 73b4d32638 Code improvements using 'g++-4.4.0' to trace the code (v2.0). Thanks to Winfried for this patch. 2010-03-24 11:21:19 +00:00
Francois-Olivier Devaux 67b5ab3c04 Fixed small compatibility issues with win32 in codec (moved include <strings.h>) 2010-03-07 21:10:47 +00:00
Francois-Olivier Devaux 935baae8fc Updated makefiles for v1.4 and v2.0 2010-03-05 21:28:38 +00:00
Francois-Olivier Devaux 324c949cfd * [FOD] Fixed libopenjpeg Makefile 2010-02-16 11:08:55 +00:00
Francois-Olivier Devaux dc9459029f [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. 2010-01-20 15:44:59 +00:00