summaryrefslogtreecommitdiff
path: root/libopenjpeg/t2.c
AgeCommit message (Collapse)Author
2007-12-21Bug fixed by David Bruken. Fixed memory allocation issue in opj_malloc.h.Francois-Olivier Devaux
Possible errors in pi_create_encode handled
2007-12-19In pi.c, removed the Recursive function pi_check_next_level() and modified ↵Parvatha Elangovan
the code.
2007-11-14Patch by Callum Lerwick. The opj_tcd_cblk array is one of the largest ↵Francois-Olivier Devaux
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.
2007-11-14Patch by Callum Lerwick. This patch rearranges the largest memory ↵Francois-Olivier Devaux
allocations so they're allocated as late as possible, and freed as soon as possible. This cuts memory usage by about half on two large test images.
2007-10-12Changed the way the image structure is allocated when the decoding ↵Francois-Olivier Devaux
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-09-19Fixed issues with generation of SOP marker.Parvatha Elangovan
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-17Fixed issues with cstr_info when codestream has components with different ↵Francois-Olivier Devaux
number of resolutions.
2007-09-07Indexes can now be generated when decoding J2K codestreams.Francois-Olivier Devaux
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-21Memory leaks fixedFrancois-Olivier Devaux
2007-08-08Fixed the DCinema filesize allocation. It now includes the SOT marker sizeFrancois-Olivier Devaux
2007-06-15Fixed the generation of index files. Now works with cinema formats. Francois-Olivier Devaux
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.
2007-03-27Following to Hervé's suggestions, all the exit() calls, added by JPWL ↵Giuseppe Baruffa
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-20Added feature for generation of tile parts. Modifications in image_to_j2k.c, ↵Parvatha Elangovan
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-01-15Copyright updateFrancois-Olivier Devaux
2006-12-04First integration of JPWL codeFrancois-Olivier Devaux
2006-02-18COMP: Fix declaration hides parameter lenMathieu Malaterre
2006-02-18COMP: Fix declaration hides parameter lenMathieu Malaterre
2006-01-31fixed various minor warnings occuring under icc9 and bcc32, added MSVC ↵Freeimage
project and compiler directives to build a 'standard' WIN32 DLL
2005-12-08fixed a bug when specifying a rate '-r' => no distortion info was available ↵Antonin Descampe
in the index
2005-12-08OpenJPEG version 1.1Antonin Descampe
2005-12-02openjpeg version 1.0 (previous version still available with tag opj0-97)Antonin Descampe
2005-11-01Changes proposed by Mathieu Malaterre from the GDCM project... Thanks a lot ↵Antonin Descampe
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-01-26Added layer option '-l' to the command line. This option allows user toAntonin Descampe
specify a maximum number of quality layers to be decoded.
2004-11-15fprintf correctly redirected to stderr or stdoutFrancois-Olivier Devaux
2004-07-16Minor changes for RESET modeAntonin Descampe
2004-07-14* PPM markers handling modified (comment keyword : ppmbug1)Antonin Descampe
* empty resolution level or subband handling (comment keyword : sizebug1) * index_on field forwarded to j2k_cp_t structure
2004-04-29 Reformatage : indent -kr -i2 -ci2 $(find . -name '*.c') $(find . -name '*.h')Sebastien Lugan
2004-04-29 Reformatage : indent -kr $(find . -name '*.c') $(find . -name '*.h')Sebastien Lugan
2004-04-19remove obsolete part of code in t2_encode_packetYannick Verschueren
2004-03-05Update to version 0.9 : option -reduce added on decoderYannick Verschueren
2004-02-13 Update for version 0.8Yannick Verschueren
2003-11-27Initial revisionSebastien Lugan