summaryrefslogtreecommitdiff
path: root/libopenjpeg/t1.c
AgeCommit message (Collapse)Author
2012-09-28[trunk] Start FolderReorgProposal taskMathieu Malaterre
Update issue 177
2012-09-27[trunk] update some local function of t1 with opj_prefix and new opj typeMickael Savinaud
2012-09-27 rename opj_t1_enc_clnpass and opj_t1_enc_clnpass_step with opj_ prefix and ↵Mickael Savinaud
update types used in theses functions
2012-09-27[trunk]rename t1_enc_refpass_step and t1_enc_repass with opj_ prefix and ↵Mickael Savinaud
update types used in theses functions
2012-09-27{trunk] remove old v1 style function t1_encode_cblkMickael Savinaud
rename t1_encode_cblk_v2 to opj_t1_encode_cblk
2012-09-27[trunk] remove old v1 function t1_encode_blocksMickael Savinaud
2012-09-27[trunk] remove old v1 style t1_decode_cblk function and rename ↵Mickael Savinaud
t1_decode_cblk_v2 to opj_t1_decode_cblk rename t1_dec_sigpass t1_dec_sigpass_step, t1_updateflags, t1_dec_refpass, t1_dec_refpass_step with opj_prefix and v2 type delete unused functions in new V2 t1 framework: t1_dec_refpass_raw, t1_dec_refpass_mqc, t1_dec_refpass_mqc_vsc, t1_dec_refpass_step_raw, t1_dec_refpass_step_mqc, t1_dec_refpass_step_mqc_vsc, t1_dec_sigpass_raw, t1_dec_sigpass_mqc, t1_dec_sigpass_mqc_vsc, t1_dec_sigpass_step_raw, t1_dec_sigpass_step_mqc, t1_dec_sigpass_step_mqc_vsc
2012-09-10[trunk] Fix all C90 issues using gcc -pedantic -Wno-long-long to track themMathieu Malaterre
As a side effect, fix all comment style to remove extra gcc output Fixes issue 173
2012-08-23[trunk] realloc is misused and may leak memory (Issue#168) (complements: ↵Luc Hermitte
compilation errors)
2012-08-22[trunk] realloc is misused and may leak memory (Issue#168)Luc Hermitte
2012-08-17rename t1_enc_sigpass_step and t1_enc_sigpass with opj_ prefix and update typeMickael Savinaud
2012-08-17remove deprecated v1 style function t1_destroy; rename t1_destroy_v2 to ↵Mickael Savinaud
opj_t1_destroy remove deprecated v1 style function t1_decode_cblks; rename t1_decode_cblks_v2 to opj_t1_decode_cblks remove deprecated v1 style function t1_encode_cblks; rename t1_encode_cblks_v2 to opj_t1_encode_cblks remove deprecated v1 style function t1_create; rename t1_create_v2 to opj_t1_create
2012-08-17remove deprecated v1 style function dwt_encode; rename dwt_encode_v2 to ↵Mickael Savinaud
opj_dwt_encode remove deprecated v1 style function dwt_decode; rename dwt_decode_v2 to opj_dwt_decode remove deprecated v1 style function dwt_getgain; rename dwt_getgain_v2 to opj_dwt_getgain add opj_dwt_getnorm, opj_dwt_getnorm_real functions remove deprecated v1 style function dwt_encode_real; rename dwt_encode_real_v2 to opj_dwt_encode_real remove deprecated v1 style function dwt_getgain_real; rename dwt_getgain_real_v2 to opj_dwt_getgain_real rename dwt_calc_explicit_stepsizes to opj_dwt_calc_explicit_stepsizes
2012-03-15[trunk] modify image_to_j2k and the lib to support functionalities given by ↵Mickael Savinaud
the v2 alpha branch
2012-03-02[trunk] merge r1229 from branch 1.5 over to trunkMathieu Malaterre
2011-09-27[trunk] WIP: fix some warnings about a static function and j2k_read_unk_v2Mickael Savinaud
2011-09-19WIP: update t1, t2, tcd to use same strut as in V2Mickael Savinaud
2011-09-19Work In Progress: insert elements from V2 framework into the trunkMickael Savinaud
2011-08-10removed unused parameters warnings with the solution proposed by myself and ↵Mickael Savinaud
Bob Friesenhahn
2011-07-10improved encoding speed in t1_encode_cblks (credit to Giuseppe Baruffa)Antonin Descampe
2011-05-18defined new type "opj_bool", and new constants OPJ_FALSE and OPJ_TRUE, to ↵Antonin Descampe
avoid having to deal with "stdbool.h" (patch from Winfried)
2010-10-24Fixed doxygen data inside source code (from winfried)Antonin Descampe
2010-04-08Significant optimizations of MCT, DWT, MQ and T1 modules by Peter Wimmer ↵Francois-Olivier Devaux
(thanks Peter)
2009-11-06fixed MCT check bug in t1_getwmsedec. See ↵Antonin Descampe
http://groups.google.com/group/openjpeg/browse_thread/thread/d9d96dd4ec3e7443 for info
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-11-13Patch by Dzonatas and Callum Lerwick. Fp/vectorization patch which ↵Francois-Olivier Devaux
basically converts most of the irreversible decode codepath to floating point, eliminating a few rounds of int/fp conversion, resulting in a vast performance improvement, and an increase in accuracy.
2007-11-08In t1.c, small change to avoid calling twice t1_getwmsedec()Francois-Olivier Devaux
Patch from Callum Lewick. Basic gcc optimization flags in cmake and makefile match.
2007-10-18Patch from Callum Lewick. Memset patch. See ChangeLog for more details. ↵Francois-Olivier Devaux
Thanks Callum !
2007-09-07Indexes can now be generated when decoding J2K codestreams.Francois-Olivier Devaux
2007-08-21Use <xmmintrin.h> for WIN32, else use <mm_malloc.h> Francois-Olivier Devaux
2007-08-21Moved the orient flipping into the ctxno_zc table.Francois-Olivier Devaux
Thanks to Callum Lerwick who provided all these great patches !
2007-08-21Replaced the large ctxno_mag lookup table with a small bit of inline-able ↵Francois-Olivier Devaux
branchless code
2007-08-21Consolidated some calls to mqc_setcurctx. Cleaned up t1_generate_luts to ↵Francois-Olivier Devaux
output the proper types.
2007-08-21Reworks of t1_updateflags to get rid of the shift operation. mqc_setcurctx ↵Francois-Olivier Devaux
moved to the header to allow it to be inlined into the t1.
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-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-22Patch suggested by Callum Lerwick <seg@haxxed.com>: "This makes the t1 data ↵Francois-Olivier Devaux
arrays dynamic, which greatly reduces cache thrashing. Also, some minor cleanup to prevent unnecessary casts"
2007-05-21Patch suggested by Callum Lerwick <seg@haxxed.com>: "Some formatting ↵Francois-Olivier Devaux
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-21Patch suggested by Callum Lerwick <seg@haxxed.com>: "This changes the flag ↵Francois-Olivier Devaux
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-21Patch suggested by Callum Lerwick <seg@haxxed.com>: "This patch makes the t1 ↵Francois-Olivier Devaux
LUTs static. I actually intend this as a prelude to possibly eliminating some or all of the LUTs entirely."
2007-04-05fix.h, dwt.c and t1.c optimized. Thanks a lot to Dzonatas <dzonatas at ↵Francois-Olivier Devaux
dzonux.net> and Callum Lerwick <seg at haxxed.com> for these great patches !
2007-03-28Fixed an historical bug in t1.c that leaded to the inclusion of useless 0xFF ↵Francois-Olivier Devaux
in the codestream. Thanks to Sylvain, Pascal and Parvatha !
2007-03-21Fixed j2k_prog_order_list[]. Modifications in j2k.c.Parvatha Elangovan
Fixed t1_decode_cblks. Modifications in t1.c.
2007-02-21Algorithmic optimizations in t1.c, thanks to Guido J. !Francois-Olivier Devaux
2007-01-15Copyright updateFrancois-Olivier Devaux
2006-03-19fixed a bug in t1.c that prevented in some cases a true lossless compression ↵Antonin Descampe
(thanks to Don Mimlitch for reporting this bug)
2006-01-27fixed two initialization problems in t1.c and tcd.cAntonin Descampe
2005-12-08fixed a bug in t1_getwmsedec (stepsize was divided by 8192)Antonin Descampe
2005-12-08OpenJPEG version 1.1Antonin Descampe