summaryrefslogtreecommitdiff
path: root/codec/image_to_j2k.c
AgeCommit message (Collapse)Author
2011-04-13re-organization of openjpeg directories hierarchy : step 1Antonin Descampe
2011-04-12convert.c: ENDIAN condition removed, tiftoimage and imagetotif updated ↵Antonin Descampe
(ALPHA added for RGB and GRAY, correct handling of 12-bit precision), small bugfixes (credit to Winfried)
2010-12-08 (thanks to Winfried for his help)Antonin Descampe
* [antonin] changed remaining "WIN32" to "_WIN32" ! [antonin] libopenjpeg has no more dependency on LCMS lib. Everything concerning color (icc profile, conversion to rgb, etc) has been put outside libopenjpeg and is used in j2k_to_image.c and mj2_to_frames.c. - [antonin] removed "opj_convert{.c,.h}" + [antonin] added a directory "common/" that contains "getopt{.c,.h}" (previously in "codec/compat"). + [antonin] added files "color{.c,.h}" in "common/" that define the code for icc profile management and sycc_to_rgb conversion + [antonin] added "common/format_defs.h" that contains common definitions used in image_to_j2k, j2k_to_image, j2k_dump.
2010-11-22reverted 'include "../opj_config.h"' to 'include "opj_config.h"'Antonin Descampe
2010-11-15minor changes in header inclusionsAntonin Descampe
2010-10-21fixed help display (patch from winfried)Antonin Descampe
2010-10-19fixed options and help display (patch from winfried)Antonin Descampe
2010-10-05Added files to let people build openjpeg with configure tools ; Added ↵Antonin Descampe
makefiles to let people manually build openjpeg on *nix platforms ; Removed obsolete Makefiles ; Renamed dirent.h to windirent.h ; Made optional the PNG, TIFF, and LCMS support in CMake files ; Added opj_config* files to configure openjpeg before building it (opj_config.h generated by configure, cmake, or manually by the user) ; Renamed this file from ChangeLog to CHANGES ; Renamed License.txt to LICENSE ; Updated README files ; Added INSTALL and LICENSE files ; Added man pages
2010-09-08Reverting the use of #include "openjpegConfigure.h" until we find a compatibleLuis Ibanez
way of doing this with autoconf, and with the default VS project files.
2010-09-07ENH: Including the new header file openjpegConfigure.hLuis Ibanez
in order to carry the definition of OPJ_STATIC when building static libraries.
2010-06-22Merge with v2 branchMathieu Malaterre
2010-06-21adding j2k_dump executableMathieu Malaterre
2010-03-26Added support for "jpc" codestreams which are equivalent to "j2c" ↵Francois-Olivier Devaux
codestreams [v1.4]. Thanks to Winfried for this patch
2010-03-26Added support for PNG image format [Not yet functional under WIN32]. Thanks ↵Francois-Olivier Devaux
to Winfried for this patch. See details here http://code.google.com/p/openjpeg/issues/detail?id=16
2010-03-24Code improvements using 'g++-4.4.0' to trace the code (v1.4). Thanks to ↵Francois-Olivier Devaux
Winfried for this patch.
2010-03-07Fixed small compatibility issues with win32 in codec (moved include <strings.h>)Francois-Olivier Devaux
2008-10-01COMP: minor compilation warningMathieu Malaterre
2008-08-21fixed a bug in image_to_j2k.c that was preventing the 'r' option to work ↵Antonin Descampe
properly (everything was compressed lossless regardless of the specified rate).
2008-03-12Added help line for the -F option in j2k_to_imageGiuseppe Baruffa
2008-02-11Minor style modifications to comply with c99 compiler flag; removed ↵Giuseppe Baruffa
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
2007-12-10First import of JAVAOpenJPEG, a Java wrapper of OpenJPEG, developed by ↵Francois-Olivier Devaux
Patrick Piscaglia of Telemis (www.telemis.com). Thank you Patrick for this new module !
2007-11-27Created the file index.c in the codec directory. This file handles the ↵Francois-Olivier Devaux
creation of index files, at encoding and decoding. Fixed bugs during the creation of the index (PCRL progression order)
2007-11-05Fixed a bug which prevented JPWL from working on multi-tiled images; added ↵Giuseppe Baruffa
some more fields in the interface info structures (keep a list of markers, save start packet number for each tile)
2007-10-18Changed the ROI parameter in the image_to_j2k codec to make it correspond to ↵Francois-Olivier Devaux
the documentation (i.e. -ROI c=0,U=25)
2007-09-18Fixed issues with Reading and Writing TIF images in convert.c to avoid ↵Parvatha Elangovan
segmentation fault. Fixed issues relating to using user specified rates for CINEMA option for multiple images.
2007-09-17OpenJPEG library interface modified to retain compatibility with version ↵Francois-Olivier Devaux
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-17Fixed issues with cstr_info when codestream has components with different ↵Francois-Olivier Devaux
number of resolutions.
2007-09-11JPWL encoding is finalized correctly into the JP2 file format; added an ↵Giuseppe Baruffa
additional structure in opj_codestream_info, to keep a record of the written markers
2007-09-07Adapted the JPWL and OPJViewer code to new interface; fixed a samll bug in ↵Giuseppe Baruffa
JPWL which created large EPBs even when null protection was specified
2007-09-07Indexes can now be generated when decoding J2K codestreams.Francois-Olivier Devaux
2007-09-07ENH: Upon failure, properly return error code (!=0)Mathieu Malaterre
2007-09-06ENH: Fix unitialized read in img_fol (we may need a smarter initialize than ↵Mathieu Malaterre
memset)
2007-09-06One more field in the codestream_info struct for recording the number of ↵Giuseppe Baruffa
packets per tile part; JPWL now distributes the EPBs in all the tile part headers
2007-09-04Added some fields in the codestream_info structure: they are used to record ↵Giuseppe Baruffa
the position of single tile parts. Changed also the write_index function in the codec, to reflect the presence of this new information.
2007-08-30Added information regarding the end of packet position in the index Francois-Olivier Devaux
2007-08-30Changed the OpenJPEG library interface to enable users to access information ↵Francois-Olivier Devaux
regarding the codestream (also called index).
2007-08-21Solved problems with codec reading from image file directory when filename ↵Francois-Olivier Devaux
had more than one "." in name
2007-08-20Fixed _strnicmp bugFrancois-Olivier Devaux
2007-08-20Added support for the TGA file format in the codecFrancois-Olivier Devaux
2007-07-18Fixed raw option to encode raw images with more than three components.Francois-Olivier Devaux
2007-07-17Added support for RAW images. This module has been developped by the ↵Francois-Olivier Devaux
University of Perugia team. Thanks to them !
2007-07-13(no commit message)Francois-Olivier Devaux
2007-06-15Fixed the generation of index files. Now works with cinema formats. Francois-Olivier Devaux
2007-06-04Tipo corrected...Francois-Olivier Devaux
2007-06-04Bugs corrected in decoding of command line (getopt.c), in the handling of 16 ↵Francois-Olivier Devaux
bit files (t1.c and tcd.c) and the calculation of elapsed time for multiple tiles parts (tcd.c and tdc.h).
2007-05-31Fixed the handling of 16bit TIFF files for cinema compression. Modified ↵Francois-Olivier Devaux
"convert.c". Fixed the parameters used for cinema compression (9-7 transform used instead of 5-3). Modified "image_to_j2k.c"
2007-05-10Possibility to choose to apply MCT (multiple component transform) enabled, ↵Francois-Olivier Devaux
and new decoding_limit: DECODE_ALL_BUT_PACKETS
2007-04-10Accepting "j2c" as format for Encoding and Decoding. Modification in ↵Parvatha Elangovan
image_to_j2k.c. Modified imagetotif() to read images with signed data. Modification in convert.c.
2007-04-04Digital cinema compliance for 4K chosen by "-cinema4K" option. Modification ↵Parvatha Elangovan
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-03-29Enable accepting file names with `-´ symbol .Modification getopt.cParvatha Elangovan
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.