Francois-Olivier Devaux
9e114bcaa4
Patch from Callum Lewick. Memset patch. See ChangeLog for more details. Thanks Callum !
2007-10-18 12:26:11 +00:00
Francois-Olivier Devaux
1f11a4fe90
Changed 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 !
2007-10-12 15:04:34 +00:00
Francois-Olivier Devaux
ab0473aa42
*Patch from Callum Lewick. Clean up of j2klib.h for the aligned malloc stuff.
...
*convert.c: Changed some error comments for TIFF images
2007-10-10 06:17:28 +00:00
Francois-Olivier Devaux
4b60f17bba
Patch from Callum Lewick. Fixed dwt.c where an alignment in buffer was problematic under x86_64.
2007-09-27 12:20:12 +00:00
Mathieu Malaterre
6265dcfb11
BUG: 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)
2007-09-25 14:54:49 +00:00
Parvatha Elangovan
7e40a9475a
Fixed issues with generation of SOP marker.
2007-09-19 14:56:19 +00:00
Parvatha Elangovan
a6ba04cdf4
Fixed 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.
2007-09-18 13:07:29 +00:00
Francois-Olivier Devaux
55c4c14352
OpenJPEG 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....
2007-09-17 15:11:20 +00:00
Francois-Olivier Devaux
569bbb0077
Fixed issues with cstr_info when codestream has components with different number of resolutions.
2007-09-17 14:00:43 +00:00
Francois-Olivier Devaux
abfba20b99
Patch 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.
2007-09-12 09:04:03 +00:00
Giuseppe Baruffa
1e705438e4
JPWL 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
2007-09-11 15:21:12 +00:00
Francois-Olivier Devaux
3816e0edf4
Indexes can now be generated when decoding J2K codestreams.
2007-09-07 15:01:55 +00:00
Giuseppe Baruffa
dfcacb8247
One 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
2007-09-06 15:59:39 +00:00
Giuseppe Baruffa
d3d2a36fbc
Added 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.
2007-09-04 14:19:55 +00:00
Giuseppe Baruffa
564e16d5ce
Added 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
2007-09-03 13:30:59 +00:00
Francois-Olivier Devaux
7a2d96efe1
Added information regarding the end of packet position in the index
2007-08-30 15:32:51 +00:00
Francois-Olivier Devaux
acfe0ad645
Changed the OpenJPEG library interface to enable users to access information regarding the codestream (also called index).
2007-08-30 09:51:20 +00:00
Francois-Olivier Devaux
d07fa5d9d0
Fixed wrong destructors called in openjpeg.c
...
Fixed bug in j2k_decode_jpt_stream
2007-08-28 10:13:58 +00:00
Parvatha Elangovan
c101f8049c
The end of main header is calculated after TLM and POC marker for Dcinema.
2007-08-24 15:11:01 +00:00
Francois-Olivier Devaux
bd0b6ec2fd
Fixed problem with _mm_malloc under OSX. Thanks to Callum Lerwick for solving that issue.
2007-08-24 13:46:44 +00:00
Francois-Olivier Devaux
1d02a8b595
Use <xmmintrin.h> for WIN32, else use <mm_malloc.h>
2007-08-21 12:57:39 +00:00
Francois-Olivier Devaux
07be749bf2
Moved the orient flipping into the ctxno_zc table.
...
Thanks to Callum Lerwick who provided all these great patches !
2007-08-21 12:51:57 +00:00
Francois-Olivier Devaux
2952874cb8
Replaced the large ctxno_mag lookup table with a small bit of inline-able branchless code
2007-08-21 12:42:55 +00:00
Francois-Olivier Devaux
1cfbdcc9ce
Consolidated some calls to mqc_setcurctx. Cleaned up t1_generate_luts to output the proper types.
2007-08-21 12:36:05 +00:00
Francois-Olivier Devaux
d4d23c7eb5
Reworks 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.
2007-08-21 12:30:08 +00:00
Francois-Olivier Devaux
adca52578d
Memory leaks fixed
2007-08-21 12:21:35 +00:00
Francois-Olivier Devaux
3810e943b1
Aligned malloc using Intel's _mm_malloc(), cleanup on the t1 memory allocation, getting rid of some leftover debug code
2007-08-21 12:13:54 +00:00
Francois-Olivier Devaux
ca2a0114a2
Minor cleanup patch, that gets rid of a bunch of "old style declaration" warnings from Intel's compiler
2007-08-21 12:02:23 +00:00
Francois-Olivier Devaux
00e440ebdb
Corrected allocation to take into account the EOC marker
2007-08-21 09:06:13 +00:00
Francois-Olivier Devaux
7dcb817e6a
Fixed the DCinema filesize allocation. It now includes the SOT marker size
2007-08-08 09:41:16 +00:00
Francois-Olivier Devaux
5dec8bbbe9
2007-07-13 13:07:07 +00:00
Giuseppe Baruffa
4a50efe542
Fixed 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)
2007-07-12 08:31:01 +00:00
Antonin Descampe
bdb18ab19c
fixed the size of the memory allocation in cio.c (confusion between bits and bytes)
2007-07-08 16:38:51 +00:00
Francois-Olivier Devaux
c924975434
Output image color space set when decoding a JP2 file
2007-06-21 08:26:03 +00:00
Francois-Olivier Devaux
3d626da232
Fixed the generation of index files. Now works with cinema formats.
2007-06-15 13:27:43 +00:00
Francois-Olivier Devaux
21f2cab710
Release of version 1.2.0
2007-06-04 13:27:25 +00:00
Francois-Olivier Devaux
ea9335ff48
Bugs 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).
2007-06-04 13:23:26 +00:00
Francois-Olivier Devaux
1f55aaf4a6
Bug 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.
2007-05-23 16:04:50 +00:00
Francois-Olivier Devaux
8be8111008
Patch 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"
2007-05-22 13:14:13 +00:00
Francois-Olivier Devaux
1bec8fe082
Patch 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."
2007-05-21 13:08:10 +00:00
Francois-Olivier Devaux
7d06d7fb5d
Patch 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."
2007-05-21 12:50:03 +00:00
Francois-Olivier Devaux
e0ee9becb4
Patch 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."
2007-05-21 09:44:10 +00:00
Francois-Olivier Devaux
1200dd871a
MJ2 codec updated from LibOpenJPEG version 0.97 to LibOpenJPEG version 1. Hence, the MJ2 codec will now take advantage of all the improvements and optimizations done on the LibOpenJPEG library.
2007-05-10 14:21:09 +00:00
Francois-Olivier Devaux
f3170bf64e
Possibility to choose to apply MCT (multiple component transform) enabled, and new decoding_limit: DECODE_ALL_BUT_PACKETS
2007-05-10 14:13:30 +00:00
Francois-Olivier Devaux
2bd0f7b8c4
Modification of the openjpeg.h file to avoid and ABI break with v1.1, removed the dangerous #IFDEF JPWL and added tcp_mct in cparameters.
2007-04-25 17:04:21 +00:00
Parvatha Elangovan
dbd132dca8
Accepting "j2c" as format for Encoding and Decoding. Modification in image_to_j2k.c.
...
Modified imagetotif() to read images with signed data. Modification in convert.c.
2007-04-10 16:23:48 +00:00
Francois-Olivier Devaux
0930d9886b
fix.h, dwt.c and t1.c optimized. Thanks a lot to Dzonatas <dzonatas at dzonux.net> and Callum Lerwick <seg at haxxed.com> for these great patches !
2007-04-05 14:24:19 +00:00
Parvatha Elangovan
dd18811600
Digital cinema compliance for 4K chosen by "-cinema4K" option. Modification in image_to_j2k.c.
...
Bit rate limitation for each color component. Modification in image_to_j2k.c, t2.c.
Modified and tested Progression order change "-POC" option. Modification in image_to_j2k.c, j2k.c, pi.c.
Function j2k_check_poc_val() to check for possible loss of packets in case of wrong POC declaration. Modification in j2k.c.
Structure T2_MODE. This tells if the t2_encode_packets() is called during Threshold calculation or in Final pass. Modification in j2k.h, tcd.c
2007-04-04 13:40:32 +00:00
Parvatha Elangovan
9ba672366e
Enable accepting file names with `-´ symbol .Modification getopt.c
...
Rsiz profile name generation to be STD_RSIZ for profiles which are not DCI compliant.Modification in image_to_j2k.c
Renamed convert_progression_order to j2k_convert_progression_order. Modification j2k.c
Calculation of number of tile part in each tile in j2k_calculate_tp. Modification j2k.c
j2k_setup_encoder to set bit rate limitation for digital cinema compliance with quality option. Modification in j2k.c
Equation to check multiple tile precincts. Modification pi.c
array size generation of pi->include in pi_initialise_encode().Modification in pi.c
Modification in pi_create_encode for tile part generation.Modification in pi.c
In tcd_rateallocate a variable stable_threshold which holds the valid threshold value. This is used to avoid error in case of a wrong threshold value in the last iteration. Modification in tcd.c.
2007-03-29 14:15:14 +00:00
Francois-Olivier Devaux
5a3c1ffe7d
Fixed an historical bug in t1.c that leaded to the inclusion of useless 0xFF in the codestream. Thanks to Sylvain, Pascal and Parvatha !
2007-03-28 08:44:21 +00:00
Giuseppe Baruffa
144e1ff4e6
Following to Hervé's suggestions, all the exit() calls, added by JPWL strict checking in t2.c and j2k.c, have been substituted with (object free'ing + opj_evt_message(EVT_ERROR) + return); added linking to TIFF library in the JPWL VC6 workspaces
2007-03-27 17:18:56 +00:00
Parvatha Elangovan
6045158ce6
Fixed j2k_prog_order_list[]. Modifications in j2k.c.
...
Fixed t1_decode_cblks. Modifications in t1.c.
2007-03-21 13:01:15 +00:00
Parvatha Elangovan
694a173adb
Added feature for generation of tile parts. Modifications in image_to_j2k.c, openjpeg.c, j2k.c, pi.c
...
Added function j2k_write_tlm(),to generate TLM marker for a Digital cinema compliant codestream. Modifications in j2k.c.
2007-03-20 17:15:18 +00:00
Parvatha Elangovan
78003a016a
Added option for Digital cinema profile compliant codestream. This can be chosen by "-cinema2K" or "-cinema4K" for a 2K and 4K compliance respectively. The feature for tileparts has not been implemented in this version. Modification in image_to_j2k.c
...
Added the Digital Cinema profiles (CINEMA2K and CINEMA4K) to the list of profiles recognized in the codestream SIZ marker segment. Modification in openjpeg.h,j2k.c
Added feature for constant quality within bitrate defined in Digital cinema standards. Modification in tcd.c
Modified the method of generation of buffer length. Modification in cio.c
2007-03-07 16:04:33 +00:00
Parvatha Elangovan
192e46c32f
Enabled compression of TIF image format to j2k by tifftoimage() and decompression of codestream to TIF image format using imagetotif(). Modifications in image_to_j2k.c, j2k_to_image.c, convert.c, convert.h
2007-02-28 15:31:56 +00:00
Antonin Descampe
e5c5d1064e
fixed a bug in context numerotation that prevented the RESET switch to work correctly : mqc_reset_enc in mqc.c
2007-02-28 14:27:20 +00:00
Francois-Olivier Devaux
d268ea7d6a
Changed version number from 1.1.0 to 1.1.1 in openjpeg.h
2007-02-23 10:48:11 +00:00
Giuseppe Baruffa
8a75823eea
Fixed a copy-and-paste type assignment error (bool instead of int) in the JPWL section of decoder parameters structure in openjpeg.h; minor type-casting in jpwl_lib.c. As a result, now OPJViewer should run correctly when built against the most current SVN trunk of LibOpenJPEG.lib
2007-02-23 01:23:05 +00:00
Francois-Olivier Devaux
7cb2194c8e
Algorithmic optimizations in t1.c, thanks to Guido J. !
2007-02-21 07:57:27 +00:00
Francois-Olivier Devaux
eac141b69a
Added OPJ_LIMIT_DECODING enabling us to limit the decoding to main header
2007-02-19 09:59:29 +00:00
Francois-Olivier Devaux
3f5e8eb92b
Extra tokens at the end of #endif directive corrected in openjpeg.c, j2k.c and image_to_j2k.c -> no more warnings in linux compilation
2007-01-31 15:19:54 +00:00
Francois-Olivier Devaux
a6d7377213
Use of OPJ_PATH_LEN (defined as 4096) to be the maximum allowed size for filenames instead of MAX_PATH which is not always defined. This caused some programs using OpenJPEG to crash. Modifications in openjpeg.h j2k_to_image.c and image_to_j2k.c
2007-01-30 10:51:29 +00:00
Francois-Olivier Devaux
521b9bef33
Modification of the context numbers, to reflect what has been specified in standard.
2007-01-23 11:41:16 +00:00
Francois-Olivier Devaux
ed3aec55fd
Copyright update
2007-01-15 09:55:40 +00:00
Francois-Olivier Devaux
ef560f19a3
JP2 module: Tests during encoding if the number of components respects the JPEG 2000 standard.
2007-01-03 15:41:50 +00:00
Francois-Olivier Devaux
2c03b73dff
First integration of JPWL code
2006-12-04 14:59:33 +00:00
Francois-Olivier Devaux
6cc148e226
Code optimization usinq vsprintf() command
2006-12-04 14:57:09 +00:00
Antonin Descampe
15949d43d1
fixed a cast problem in the maxlen variable
2006-10-31 18:10:03 +00:00
Antonin Descampe
696cd710df
removed a debug test in the version just committed
2006-10-31 17:37:01 +00:00
Antonin Descampe
2d416a8017
fixed a bug in the computation of the mantissa (mu)
2006-10-31 17:11:15 +00:00
Antonin Descampe
b565431251
added the ability to specify the rate as "float" (before : integer)
2006-10-31 17:10:14 +00:00
Antonin Descampe
b5aee428ba
remove some needless cvs files
2006-10-27 17:51:08 +00:00
Antonin Descampe
97a3327f99
testsvn
2006-10-26 19:54:44 +00:00
Antonin Descampe
7860407cb5
fixed a bug in pi.c, line 473, that appeared when more than 100 precincts were generated in a resolution level
2006-08-04 10:12:14 +00:00
Mathieu Malaterre
9aa9170110
ENH: Update CMake to do proper installation. Still using the 2.2 installation approach for now.
2006-07-22 03:47:02 +00:00
Antonin Descampe
817681fb98
fixed a bug in t1.c that prevented in some cases a true lossless compression (thanks to Don Mimlitch for reporting this bug)
2006-03-19 18:51:32 +00:00
Mathieu Malaterre
0108506433
COMP: Fix warning about C++ comment
2006-02-19 21:12:20 +00:00
Mathieu Malaterre
b883da435b
COMP: Fix declaration hides parameter len
2006-02-18 12:52:52 +00:00
Mathieu Malaterre
6a4572a56f
COMP: Fix declaration hides parameter len
2006-02-18 12:51:35 +00:00
Mathieu Malaterre
fba75d93c4
STYLE: Remove C++ comments
2006-02-18 12:48:49 +00:00
Freeimage
c2b399b363
removed unneeded working variables in opj_tcd_t
2006-02-12 16:53:23 +00:00
Mathieu Malaterre
23eeec8769
ENH: Do the proper thing for static/shared
2006-02-05 21:39:19 +00:00
Freeimage
48311061c1
added the 'static' keyword to inline functions to keep gcc happy
2006-02-03 23:08:52 +00:00
Freeimage
8d7b0c9c05
changed function definitions of INT and FIX modules to 'inline'
2006-02-01 21:25:11 +00:00
Mathieu Malaterre
33b5757921
ENH: Update CMake to match the new shared lib system (no more def file)
2006-01-31 22:35:51 +00:00
Freeimage
355b88c15d
fixed various minor warnings occuring under icc9 and bcc32, added MSVC project and compiler directives to build a 'standard' WIN32 DLL
2006-01-31 21:26:11 +00:00
Mathieu Malaterre
74c1b3637e
COMP: Fix compilation on MINGW
2006-01-31 19:45:17 +00:00
Mathieu Malaterre
1460d23294
STYLE: Remove completely reference to OPJ_EXPORT
2006-01-31 14:51:39 +00:00
Mathieu Malaterre
75cf4f0906
STYLE: More verbose comments
2006-01-31 14:41:40 +00:00
Mathieu Malaterre
85c327861a
STYLE: Add more comment, also use more feature from CMake to introduce the VERSION number of openjpeg
2006-01-31 14:32:40 +00:00
Mathieu Malaterre
c5c3ca370e
ENH: Move to a def solution to avoid polluting header file with declspec
2006-01-31 14:20:06 +00:00
Antonin Descampe
72de930d08
fixed two initialization problems in t1.c and tcd.c
2006-01-27 16:29:41 +00:00
Freeimage
8a662fa4b1
fixed various minor warnings occuring under gcc, added corrections proposed in the forum
2006-01-26 20:02:04 +00:00
Mathieu Malaterre
55fb4d0b67
ENH: Sync with ITK repository
2006-01-25 18:18:09 +00:00
Mathieu Malaterre
61e353d652
STYLE: Add a lot of comments for the CMake build system
2006-01-25 16:32:48 +00:00
Mathieu Malaterre
ec2b3b3b3f
COMP: Fix compilation on mingw (already had itoa) and borland (need __int64)
2006-01-25 15:21:28 +00:00
Antonin Descampe
e6aae96217
added cmake files to the project
2006-01-25 09:23:17 +00:00
Antonin Descampe
a1ec600b42
fix.c : replaced "WIN32" by "_MSC_VER" for int64
2006-01-25 09:04:36 +00:00
Antonin Descampe
5432a70c79
added "OPJ_EXPORT" in openjpeg.h to generate shared lib with win32
2006-01-25 08:50:18 +00:00
Antonin Descampe
cc3e813786
event.c : replaced "WIN32" by "_MSC_VER" for i2a (line 33) + replaced win32 line breaks
2006-01-24 21:02:13 +00:00
Antonin Descampe
6a52f1a9df
fixed various minor warnings with gdcm patches
2006-01-20 16:53:05 +00:00
Freeimage
197b0505cb
fixed a bug in jp2_read_ihdr (need to allocate jp2->comps)
2006-01-19 20:25:44 +00:00
Freeimage
d5ecae07ad
fixed a bug in opj_cio_open when saving 48-bit images (wrong buffer size calculation)
2006-01-18 20:10:58 +00:00
Freeimage
8f9f70f922
changed the name of j2k_realloc to opj_realloc
2006-01-18 20:10:23 +00:00
Antonin Descampe
34c8a555fa
fixed a bug when specifying a rate '-r' => no distortion info was available in the index
2005-12-08 14:47:40 +00:00
Antonin Descampe
fe33ebe83c
fixed a bug in t1_getwmsedec (stepsize was divided by 8192)
2005-12-08 11:01:59 +00:00
Antonin Descampe
95bc884365
OpenJPEG version 1.1
2005-12-08 09:38:47 +00:00
Antonin Descampe
884c8429fc
Makefile moved to ROOT directory
2005-12-04 17:10:57 +00:00
Antonin Descampe
5cf0326dcb
LibOpenJPEG project files moved to root directory
2005-12-04 17:07:44 +00:00
Antonin Descampe
08f7bfbb5f
add an include <sys/time.h> before <sys/resource.h>
2005-12-02 13:48:10 +00:00
Antonin Descampe
f61cda9b7d
openjpeg version 1.0 (previous version still available with tag opj0-97)
2005-12-02 13:34:15 +00:00
Antonin Descampe
4458ef921c
minor change for readability
2005-11-09 10:20:28 +00:00
Antonin Descampe
c9ac67cd05
minor change to avoid warnings about signedness
2005-11-09 10:17:51 +00:00
Antonin Descampe
e398154212
small changes to remove warnings related to signedness
2005-11-08 16:15:40 +00:00
Antonin Descampe
0ea26e7ba6
small change to avoid signed/unsigned warning during compilation
2005-11-04 11:10:38 +00:00
Antonin Descampe
8f3bd54c3d
Changes proposed by Mathieu Malaterre from the GDCM project... Thanks a lot Mathieu
...
- '//' replaced by '/* */'
- inclusion of int.h in int.c
- inclusion of j2k.h in int.h in order to export symbols
- adding (void) var when a variable is declared but not used
- some explicit cast
- CLOCKS_PER_SEC is declared as float in bcc55, so there is a need to cast it to int for the modulo operation
- some variables changed from float -> double
2005-11-01 10:15:34 +00:00
Antonin Descampe
18a9bcb882
changed one of the 9-7 coefficients (value closer to the one in the std)
2005-10-27 07:51:11 +00:00
Antonin Descampe
7ee36c3a4c
1) quantization stepsizes stored as float instead of shifted integers -> fixes a pb of precision when using very small stepsizes. 2) bug fixed when decoding until bitplane 0 -> r-value (1/2) added to the coefficient.
2005-10-27 07:49:29 +00:00
Francois-Olivier Devaux
7f8f47566f
Modifications to decoding of JP2H box in order to be compatible with JP2 conformance files
2005-10-20 07:43:55 +00:00
Antonin Descampe
d6a523e091
major change in the dwt-module, thanks to Ive (aka Reiner Wahler): thanks a lot ! See note in dwt.c for more details.
2005-09-21 13:00:51 +00:00
Antonin Descampe
ac634b1639
bug fixed when asking for an index with more than (layer*resolutions*100) packets per tile (2nd correction)
2005-09-21 08:11:27 +00:00
Antonin Descampe
a0513798bb
bug fixed when asking for an index with more than (layer*resolutions*100) packets per tile
2005-09-20 15:40:13 +00:00
Antonin Descampe
8f4d6bbeba
bug fixed when freeing the memory allocated if ppm-marker or ppt-marker is used
2005-09-13 14:17:09 +00:00
Antonin Descampe
cd98a4f740
bug fixed when freeing the memory allocated if ppm-marker or ppt-marker is used
2005-09-13 14:11:41 +00:00
Francois-Olivier Devaux
e25e7e767e
Modifications proposed by Rob Komar. Thanks for your contribution !
2005-08-01 15:10:04 +00:00
Antonin Descampe
de75303c38
Several bugs fixed when dealing with pgx-files with more than 8 bpp and the fixed_quality feature.
2005-07-18 15:21:56 +00:00
Francois-Olivier Devaux
32ba9920db
At lines 577, 692 and 699, zeroing of effective region of code-block rather than the 1024*1024 allocated integers of code-block. This optimization has been proposed by Dmitry Kolyadin. Thanks for your help !
2005-06-02 15:28:37 +00:00
Francois-Olivier Devaux
7ae6a670fa
Conversions from int to unsigned int to ensure correct execution of int_min and int_max at lines 800 to 830
2005-06-02 15:25:25 +00:00
Francois-Olivier Devaux
cf4f8be5f0
Conversions from int to unsigned int to ensure correct execution of int_min at line 626 to 628
2005-06-02 15:14:33 +00:00
Francois-Olivier Devaux
789f6f8e7a
CVS test
2005-05-26 14:25:54 +00:00
Antonin Descampe
384068ce8c
test
2005-05-26 12:22:00 +00:00
Francois-Olivier Devaux
7e518596e0
cio_read_to_buf(...) and cio_write_from_buf(...) functions syntax modification
2005-05-26 12:07:46 +00:00
Francois-Olivier Devaux
f9eb8f93c2
Code optimization: t1_flags and t1_data set to zero with memset
2005-05-24 12:15:52 +00:00
Francois-Olivier Devaux
d54925f777
2 functions were added, to fasten buffer transfers:
...
void cio_read_to_buf(unsigned char* buf, int n)
void cio_write_from_buf(unsigned char* buf, int n)
Code written by Glenn Pearson
2005-05-23 15:26:29 +00:00
Francois-Olivier Devaux
eae26f958e
2 functions were added, to fasten buffer transfers:
...
void cio_read_to_buf(unsigned char* buf, int n)
void cio_write_from_buf(unsigned char* buf, int n)
2005-05-23 15:25:48 +00:00
Francois-Olivier Devaux
1de9535b8c
#endif;
...
replaced by
#endif
2005-03-25 13:52:55 +00:00
Francois-Olivier Devaux
1f96f0e92a
Modifications made to enable the decoding of a J2K file headers without decoding all packets using #NO_PACKETS_DECODING
...
Used with MJ2_to_metadata
2005-03-16 12:11:40 +00:00
Francois-Olivier Devaux
ed0a46eff5
YUV_DFMT added
2005-02-09 09:55:13 +00:00
Antonin Descampe
c83ae7397d
Added layer option '-l' to the command line. This option allows user to
...
specify a maximum number of quality layers to be decoded.
2005-01-26 09:59:31 +00:00
Antonin Descampe
3b1bee0eec
* function getopt added to the decoder (to efficiently manage arguments
...
in command line)
* reduce_on, reduce_value grouped in a single variable reduce
* up-to-date usage display
* image_type renamed --> decod_format
* JPEG2000_format renamed --> cod_format
2005-01-26 08:59:49 +00:00
Antonin Descampe
bfb2f9f58b
Luke Lee optimization for fix_mul... Thanks to him
2005-01-03 17:39:30 +00:00
Francois-Olivier Devaux
9225f53d62
Modularity increase in jp2_init_stdjp2 function and jp2c box functions to enable new version of MJ2 module
2004-12-08 09:06:04 +00:00
Antonin Descampe
eb1b017ec7
Index structure adpated for other progression orders than LRCP
...
(thanks to Stefano Pensa)
2004-11-29 14:48:20 +00:00
Francois-Olivier Devaux
0ddef9b2db
Modifications to increase modularity of jp2 coding/decoding
2004-11-26 16:33:18 +00:00
Francois-Olivier Devaux
1bdb07cefe
fprintf correctly redirected to stderr or stdout
2004-11-15 12:41:35 +00:00
Francois-Olivier Devaux
e1278bc691
Small bug corrected: unsigned int to int conversion at line 417
2004-10-06 07:12:36 +00:00
Francois-Olivier Devaux
3c730a804b
Order of data written to jp2_struct->cl inversed in jp2_read_ftyp function
2004-08-31 09:17:06 +00:00
Antonin Descampe
bc5c5115cb
* Inserted tool for memory leaks fixing in debug mode
...
* Fixed some memory leaks in the decoder (some are still present when multiple tiles!)
2004-08-06 14:13:51 +00:00
Antonin Descampe
d116ca5d10
Better indentation
2004-08-03 14:14:44 +00:00
Antonin Descampe
26a630dad2
Bug fixed in lossless mode
2004-08-03 14:06:10 +00:00