Antonin Descampe [Tue, 1 Nov 2005 10:15:34 +0000 (10:15 +0000)]
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
Antonin Descampe [Thu, 27 Oct 2005 07:51:11 +0000 (07:51 +0000)]
changed one of the 9-7 coefficients (value closer to the one in the std)
Antonin Descampe [Thu, 27 Oct 2005 07:49:29 +0000 (07:49 +0000)]
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.
Francois-Olivier Devaux [Thu, 20 Oct 2005 07:43:55 +0000 (07:43 +0000)]
Modifications to decoding of JP2H box in order to be compatible with JP2 conformance files
Antonin Descampe [Wed, 21 Sep 2005 13:00:51 +0000 (13:00 +0000)]
major change in the dwt-module, thanks to Ive (aka Reiner Wahler): thanks a lot ! See note in dwt.c for more details.
Antonin Descampe [Wed, 21 Sep 2005 08:11:27 +0000 (08:11 +0000)]
bug fixed when asking for an index with more than (layer*resolutions*100) packets per tile (2nd correction)
Antonin Descampe [Tue, 20 Sep 2005 15:40:13 +0000 (15:40 +0000)]
bug fixed when asking for an index with more than (layer*resolutions*100) packets per tile
Antonin Descampe [Tue, 13 Sep 2005 14:17:09 +0000 (14:17 +0000)]
bug fixed when freeing the memory allocated if ppm-marker or ppt-marker is used
Antonin Descampe [Tue, 13 Sep 2005 14:11:41 +0000 (14:11 +0000)]
bug fixed when freeing the memory allocated if ppm-marker or ppt-marker is used
Francois-Olivier Devaux [Mon, 1 Aug 2005 15:10:04 +0000 (15:10 +0000)]
Modifications proposed by Rob Komar. Thanks for your contribution !
Antonin Descampe [Mon, 18 Jul 2005 15:21:56 +0000 (15:21 +0000)]
Several bugs fixed when dealing with pgx-files with more than 8 bpp and the fixed_quality feature.
Francois-Olivier Devaux [Thu, 2 Jun 2005 15:28:37 +0000 (15:28 +0000)]
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 !
Francois-Olivier Devaux [Thu, 2 Jun 2005 15:25:25 +0000 (15:25 +0000)]
Conversions from int to unsigned int to ensure correct execution of int_min and int_max at lines 800 to 830
Francois-Olivier Devaux [Thu, 2 Jun 2005 15:14:33 +0000 (15:14 +0000)]
Conversions from int to unsigned int to ensure correct execution of int_min at line 626 to 628
Antonin Descampe [Thu, 26 May 2005 15:18:56 +0000 (15:18 +0000)]
argv[2] replaced by outfile when writing to output file (thanks to O.Smeesters and V.Mesaros)
Antonin Descampe [Thu, 26 May 2005 15:13:08 +0000 (15:13 +0000)]
CRLF -> LF
Francois-Olivier Devaux [Thu, 26 May 2005 14:25:54 +0000 (14:25 +0000)]
CVS test
Sebastien Lugan [Thu, 26 May 2005 14:20:00 +0000 (14:20 +0000)]
correction CRLF -> LF
Antonin Descampe [Thu, 26 May 2005 12:22:00 +0000 (12:22 +0000)]
test
Francois-Olivier Devaux [Thu, 26 May 2005 12:07:46 +0000 (12:07 +0000)]
cio_read_to_buf(...) and cio_write_from_buf(...) functions syntax modification
Francois-Olivier Devaux [Tue, 24 May 2005 12:15:52 +0000 (12:15 +0000)]
Code optimization: t1_flags and t1_data set to zero with memset
Francois-Olivier Devaux [Mon, 23 May 2005 15:26:29 +0000 (15:26 +0000)]
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
Francois-Olivier Devaux [Mon, 23 May 2005 15:25:48 +0000 (15:25 +0000)]
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)
Francois-Olivier Devaux [Mon, 23 May 2005 09:48:44 +0000 (09:48 +0000)]
Variables in Movie and Track structure initialized to avoid problems when freeing memory.
These initializations are made in mj2_read_smhd and mj2_read_hmhd.
Francois-Olivier Devaux [Mon, 23 May 2005 09:46:37 +0000 (09:46 +0000)]
Useless call of mj2_init_stdmovie function deleted
Francois-Olivier Devaux [Fri, 20 May 2005 07:59:01 +0000 (07:59 +0000)]
Modified mj2_init_stdmovie. Check for division by zero at line 212: tk->sample[j].sample_delta = tk->timescale / tk->sample_rate;
Thanks to Valentin Mesaros !
Francois-Olivier Devaux [Wed, 27 Apr 2005 11:01:28 +0000 (11:01 +0000)]
Release configuration modified
Francois-Olivier Devaux [Wed, 27 Apr 2005 10:51:01 +0000 (10:51 +0000)]
Light modifications
Francois-Olivier Devaux [Wed, 27 Apr 2005 10:42:31 +0000 (10:42 +0000)]
First upload of the DTD file
Francois-Olivier Devaux [Wed, 27 Apr 2005 10:42:16 +0000 (10:42 +0000)]
Light modifications
Francois-Olivier Devaux [Tue, 19 Apr 2005 10:10:54 +0000 (10:10 +0000)]
Update
Francois-Olivier Devaux [Tue, 19 Apr 2005 09:18:51 +0000 (09:18 +0000)]
bug while freeing memory (mj2_free) fixed
Francois-Olivier Devaux [Tue, 19 Apr 2005 09:17:55 +0000 (09:17 +0000)]
Bug while writing huge MOOV boxes fixed. Thanks to Valentin Mesaros !
Francois-Olivier Devaux [Tue, 19 Apr 2005 09:17:03 +0000 (09:17 +0000)]
Standard movie initialisation slightely modified
Francois-Olivier Devaux [Tue, 19 Apr 2005 09:16:22 +0000 (09:16 +0000)]
Makefile update
Francois-Olivier Devaux [Fri, 15 Apr 2005 08:02:18 +0000 (08:02 +0000)]
Project update
Francois-Olivier Devaux [Wed, 6 Apr 2005 08:53:59 +0000 (08:53 +0000)]
Project settings update
Francois-Olivier Devaux [Wed, 6 Apr 2005 08:44:32 +0000 (08:44 +0000)]
Project settings update
Francois-Olivier Devaux [Wed, 6 Apr 2005 08:36:32 +0000 (08:36 +0000)]
Project settings update
Francois-Olivier Devaux [Wed, 6 Apr 2005 08:21:31 +0000 (08:21 +0000)]
Relative path modifications
Francois-Olivier Devaux [Fri, 1 Apr 2005 14:17:42 +0000 (14:17 +0000)]
Visual .NET project
Francois-Olivier Devaux [Fri, 1 Apr 2005 14:16:03 +0000 (14:16 +0000)]
New version by Glenn Pearson
Francois-Olivier Devaux [Fri, 25 Mar 2005 15:49:29 +0000 (15:49 +0000)]
Line 114: Simple warning message when NO_PACKETS_DECODING is not defined
Francois-Olivier Devaux [Fri, 25 Mar 2005 15:48:50 +0000 (15:48 +0000)]
Line 944:Memory release of img.comps[i].data when NO_PACKETS_DECODING is not defined
Francois-Olivier Devaux [Fri, 25 Mar 2005 13:58:00 +0000 (13:58 +0000)]
Removed unused parameter in fprintf at line 618
Francois-Olivier Devaux [Fri, 25 Mar 2005 13:53:54 +0000 (13:53 +0000)]
Unused "dest" pointer removed from main()
Francois-Olivier Devaux [Fri, 25 Mar 2005 13:52:55 +0000 (13:52 +0000)]
#endif;
replaced by
#endif
Francois-Olivier Devaux [Fri, 25 Mar 2005 13:47:47 +0000 (13:47 +0000)]
Makefile for frames_to_mj2, mj2_to_frames, wrap_j2k_in_mj2
and extract_j2k_from_mj2
Thanks to Valentin Mesaros from Octalis !
Francois-Olivier Devaux [Fri, 25 Mar 2005 13:46:38 +0000 (13:46 +0000)]
Newline at end of file added
Francois-Olivier Devaux [Fri, 25 Mar 2005 13:44:54 +0000 (13:44 +0000)]
Replaced bad message error when unknown box is found
Francois-Olivier Devaux [Fri, 25 Mar 2005 13:44:16 +0000 (13:44 +0000)]
Replaced unlink() with remove()
Francois-Olivier Devaux [Fri, 25 Mar 2005 09:44:32 +0000 (09:44 +0000)]
New OpenJPEG MJ2 module: mj2_to_metadata created by Glenn Pearson. The OpenJPEG team would like to thank him for his contributions !
Francois-Olivier Devaux [Fri, 25 Mar 2005 09:30:30 +0000 (09:30 +0000)]
Newline at end of file
Francois-Olivier Devaux [Mon, 21 Mar 2005 15:14:16 +0000 (15:14 +0000)]
Initialisation of movie->cl changed in mj2_init_stdmovie
Francois-Olivier Devaux [Wed, 16 Mar 2005 12:11:40 +0000 (12:11 +0000)]
Modifications made to enable the decoding of a J2K file headers without decoding all packets using #NO_PACKETS_DECODING
Used with MJ2_to_metadata
Francois-Olivier Devaux [Thu, 10 Feb 2005 16:22:01 +0000 (16:22 +0000)]
Input file format bug fixed (2)
Francois-Olivier Devaux [Thu, 10 Feb 2005 16:16:18 +0000 (16:16 +0000)]
Input file format bug fixed
Francois-Olivier Devaux [Wed, 9 Feb 2005 10:26:22 +0000 (10:26 +0000)]
Minor bugs in error messages fixed
Francois-Olivier Devaux [Wed, 9 Feb 2005 10:08:48 +0000 (10:08 +0000)]
Added tk->visual_w and tk->visual_h variables, specifying the track's visual presentation size as fixed-point 16.16 values.
Francois-Olivier Devaux [Wed, 9 Feb 2005 09:56:32 +0000 (09:56 +0000)]
Precision added to tk->balance, tk->volume, movie->volume and movie->rate
Francois-Olivier Devaux [Wed, 9 Feb 2005 09:55:13 +0000 (09:55 +0000)]
YUV_DFMT added
Francois-Olivier Devaux [Tue, 1 Feb 2005 16:30:06 +0000 (16:30 +0000)]
Bug with number of layers to decode fixed
Antonin Descampe [Wed, 26 Jan 2005 09:59:31 +0000 (09:59 +0000)]
Added layer option '-l' to the command line. This option allows user to
specify a maximum number of quality layers to be decoded.
Antonin Descampe [Wed, 26 Jan 2005 08:59:49 +0000 (08:59 +0000)]
* 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
Francois-Olivier Devaux [Fri, 14 Jan 2005 08:14:01 +0000 (08:14 +0000)]
Bug with mj2_read_struct fixed (problem when reading MJ2 files starting with the MOOV box fixed)
Antonin Descampe [Mon, 3 Jan 2005 17:39:30 +0000 (17:39 +0000)]
Luke Lee optimization for fix_mul... Thanks to him
Francois-Olivier Devaux [Wed, 8 Dec 2004 12:12:23 +0000 (12:12 +0000)]
This tool wraps J2K codestreams into a MJ2 file (designed to
work with other codecs than OpenJPEG)
Francois-Olivier Devaux [Wed, 8 Dec 2004 12:12:00 +0000 (12:12 +0000)]
This tool extracts J2K codestreams from a MJ2 file (designed to
work with other codecs than OpenJPEG)
Francois-Olivier Devaux [Wed, 8 Dec 2004 12:09:25 +0000 (12:09 +0000)]
Converting to Dos
Francois-Olivier Devaux [Wed, 8 Dec 2004 12:07:25 +0000 (12:07 +0000)]
Converting to Unix
Francois-Olivier Devaux [Wed, 8 Dec 2004 11:24:10 +0000 (11:24 +0000)]
This tool wraps J2K codestreams into a MJ2 file (designed to
work with other codecs than OpenJPEG)
Francois-Olivier Devaux [Wed, 8 Dec 2004 11:23:37 +0000 (11:23 +0000)]
This tool extracts J2K codestreams from a MJ2 file (designed to
work with other codecs than OpenJPEG)
Francois-Olivier Devaux [Wed, 8 Dec 2004 11:22:18 +0000 (11:22 +0000)]
New modular version of the MJ2 library.
The goal of this new version is to make the library more independent from OpenJPEG
Francois-Olivier Devaux [Wed, 8 Dec 2004 09:08:13 +0000 (09:08 +0000)]
Modifications in handling of JP2 files to increase modularity of JP2.c
Memory leak fixed with jp2 files
Francois-Olivier Devaux [Wed, 8 Dec 2004 09:06:04 +0000 (09:06 +0000)]
Modularity increase in jp2_init_stdjp2 function and jp2c box functions to enable new version of MJ2 module
Antonin Descampe [Mon, 29 Nov 2004 14:48:20 +0000 (14:48 +0000)]
Index structure adpated for other progression orders than LRCP
(thanks to Stefano Pensa)
Francois-Olivier Devaux [Fri, 26 Nov 2004 16:33:18 +0000 (16:33 +0000)]
Modifications to increase modularity of jp2 coding/decoding
Francois-Olivier Devaux [Mon, 15 Nov 2004 12:41:35 +0000 (12:41 +0000)]
fprintf correctly redirected to stderr or stdout
Francois-Olivier Devaux [Fri, 5 Nov 2004 10:08:06 +0000 (10:08 +0000)]
Help message updated
Francois-Olivier Devaux [Fri, 5 Nov 2004 10:07:02 +0000 (10:07 +0000)]
Usage message updated
Francois-Olivier Devaux [Fri, 5 Nov 2004 09:58:42 +0000 (09:58 +0000)]
Help message updated
Francois-Olivier Devaux [Fri, 5 Nov 2004 09:51:30 +0000 (09:51 +0000)]
Help message updated
Francois-Olivier Devaux [Fri, 5 Nov 2004 08:59:58 +0000 (08:59 +0000)]
Stack corruption error corrected with "tmp" variable
Francois-Olivier Devaux [Fri, 8 Oct 2004 07:08:25 +0000 (07:08 +0000)]
Bug with -F argument fixed
Francois-Olivier Devaux [Wed, 6 Oct 2004 08:58:27 +0000 (08:58 +0000)]
Memory leak bug fixed in the read_mdat() function
Francois-Olivier Devaux [Wed, 6 Oct 2004 07:12:36 +0000 (07:12 +0000)]
Small bug corrected: unsigned int to int conversion at line 417
Francois-Olivier Devaux [Thu, 9 Sep 2004 13:34:20 +0000 (13:34 +0000)]
Bug with tk->imagefile pointer fixed
Francois-Olivier Devaux [Wed, 8 Sep 2004 15:12:21 +0000 (15:12 +0000)]
Modification of stsc_decompact function
Francois-Olivier Devaux [Mon, 6 Sep 2004 15:53:36 +0000 (15:53 +0000)]
Bug with sound and hint tracks fixed
Francois-Olivier Devaux [Mon, 6 Sep 2004 15:47:09 +0000 (15:47 +0000)]
One component input image handled
Francois-Olivier Devaux [Tue, 31 Aug 2004 09:17:06 +0000 (09:17 +0000)]
Order of data written to jp2_struct->cl inversed in jp2_read_ftyp function
Francois-Olivier Devaux [Fri, 27 Aug 2004 14:22:33 +0000 (14:22 +0000)]
Pointer values initialized to zero
Francois-Olivier Devaux [Tue, 24 Aug 2004 13:36:45 +0000 (13:36 +0000)]
Fixed bugs. Thanks to Dereck !
Antonin Descampe [Fri, 6 Aug 2004 14:13:51 +0000 (14:13 +0000)]
* Inserted tool for memory leaks fixing in debug mode
* Fixed some memory leaks in the decoder (some are still present when multiple tiles!)
Antonin Descampe [Wed, 4 Aug 2004 10:06:50 +0000 (10:06 +0000)]
Help updated
Francois-Olivier Devaux [Tue, 3 Aug 2004 14:20:04 +0000 (14:20 +0000)]
Bug fixed in lossless mode
Antonin Descampe [Tue, 3 Aug 2004 14:14:44 +0000 (14:14 +0000)]
Better indentation
Antonin Descampe [Tue, 3 Aug 2004 14:06:10 +0000 (14:06 +0000)]
Bug fixed in lossless mode
Francois-Olivier Devaux [Mon, 2 Aug 2004 15:23:22 +0000 (15:23 +0000)]
Deleted system("pause") at the end of main function
Antonin Descampe [Fri, 30 Jul 2004 09:22:22 +0000 (09:22 +0000)]
Bug fixed in pgx-file reading