summaryrefslogtreecommitdiff
path: root/libopenjpeg/tcd.c
AgeCommit message (Collapse)Author
2007-08-30Changed the OpenJPEG library interface to enable users to access information ↵Francois-Olivier Devaux
regarding the codestream (also called index).
2007-08-21Aligned malloc using Intel's _mm_malloc(), cleanup on the t1 memory ↵Francois-Olivier Devaux
allocation, getting rid of some leftover debug code
2007-08-21Corrected allocation to take into account the EOC markerFrancois-Olivier Devaux
2007-08-08Fixed the DCinema filesize allocation. It now includes the SOT marker sizeFrancois-Olivier Devaux
2007-07-13(no commit message)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-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-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-03-07Added option for Digital cinema profile compliant codestream. This can be ↵Parvatha Elangovan
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-01-15Copyright updateFrancois-Olivier Devaux
2006-10-31fixed a cast problem in the maxlen variableAntonin Descampe
2006-10-31removed a debug test in the version just committedAntonin Descampe
2006-10-31added the ability to specify the rate as "float" (before : integer)Antonin Descampe
2006-02-19COMP: Fix warning about C++ commentMathieu Malaterre
2006-02-18STYLE: Remove C++ commentsMathieu Malaterre
2006-02-12removed unneeded working variables in opj_tcd_tFreeimage
2006-01-31fixed various minor warnings occuring under icc9 and bcc32, added MSVC ↵Freeimage
project and compiler directives to build a 'standard' WIN32 DLL
2006-01-27fixed two initialization problems in t1.c and tcd.cAntonin Descampe
2006-01-18changed the name of j2k_realloc to opj_reallocFreeimage
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-09minor change for readabilityAntonin 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-10-271) quantization stepsizes stored as float instead of shifted integers -> ↵Antonin Descampe
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-09-21major change in the dwt-module, thanks to Ive (aka Reiner Wahler): thanks a ↵Antonin Descampe
lot ! See note in dwt.c for more details.
2005-09-21bug fixed when asking for an index with more than (layer*resolutions*100) ↵Antonin Descampe
packets per tile (2nd correction)
2005-09-20bug fixed when asking for an index with more than (layer*resolutions*100) ↵Antonin Descampe
packets per tile
2005-07-18Several bugs fixed when dealing with pgx-files with more than 8 bpp and the ↵Antonin Descampe
fixed_quality feature.
2005-06-02Conversions from int to unsigned int to ensure correct execution of int_min ↵Francois-Olivier Devaux
and int_max at lines 800 to 830
2005-01-26* function getopt added to the decoder (to efficiently manage argumentsAntonin Descampe
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
2004-11-15fprintf correctly redirected to stderr or stdoutFrancois-Olivier Devaux
2004-08-06* Inserted tool for memory leaks fixing in debug modeAntonin Descampe
* Fixed some memory leaks in the decoder (some are still present when multiple tiles!)
2004-08-03Better indentationAntonin Descampe
2004-08-03Bug fixed in lossless modeAntonin Descampe
2004-07-20* Bug fixed in jpt decodingAntonin Descampe
* Bug fixed in pcrl progression order (profile-1 compliance) * Change in tcd_dump
2004-07-16Memory leaks fixed (line 1592: frees data of all components of current tile)Francois-Olivier Devaux
2004-07-14(Sampling + Offset) incompatibility bug fixedAntonin 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-07-13* Quantization bug fixed when using 9x7 DWT (comment keyword : quantizbug1)Antonin Descampe
* Multiplication bug fixed when dividing by 8192 (comment keyword : multbug1)
2004-05-07* Fixed_quality option added : specifying -q psnr1,psnr2,psnr3,... at the ↵Antonin Descampe
command line when encoding an image generates layers with the corresponding psnr. You have to specify values in the increase order. This option is incompatible with "-r" or "-f" options. * Old -q option is now available with -f * The INDEX-file structure has been modified and is now like this : ------------------------------ image_width image_height progression order tile_width tile_height nb_tiles_width nb_tiles_height nb_components nb_layers nb_decompositions foreach resolution_level {[precinct_width,precinct_height]} main_header_end codestream_size foreach tile { tileno start_pos end_header end_pos squarred_error_total nb_pixels mean_squarred_error } foreach tile { foreach packet { packetno tileno layerno resno compno precinctno start_pos end_pos SE_reduction } } SE max SE total -----------------------------
2004-04-30Various corrections to avoid "signed/unsigned mismatch" warnings during ↵Antonin Descampe
compilation
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-19Potential error in tcd_init around L543 with p and qYannick 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