summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/t1.c
AgeCommit message (Collapse)Author
2017-06-02T1: Transpose coder optimizations to decoder, and cleanup codeEven Rouault
2017-05-23Fix compiler warningsEven Rouault
2017-05-23Factor index computation for lut_enc_ctxno_sc and lut_enc_spbEven Rouault
2017-05-23Optimize a bit opj_t1_enc_clnpass()Even Rouault
2017-05-23T1: remove unused code in decoderEven Rouault
2017-05-23T1: fix VSC mode in encoderEven Rouault
2017-05-23T1: use more compact flags to optimize cache usage in encoder passes. (#172)Even Rouault
Ported from Carl Hetherington work (actually through Matthieu Darbois's port on top of OpenJPEG 2.1.0) Can reduce total encoding time by 10-15% WARNING: VSC mode is not implemented, and so is a temporary regression that must be fixed.
2017-05-23t1.c: fix compiler warningsEven Rouault
2017-05-09Reformat whole codebase with astyle.options (#128)Even Rouault
2016-09-15Add overflow checks for opj_aligned_malloc (#841)Matthieu Darbois
See https://pdfium.googlesource.com/pdfium/+/b20ab6c7acb3be1393461eb650ca8fa4660c937e/third_party/libopenjpeg20/0020-opj_aligned_malloc.patch
2016-09-14Flags in T1 shall be unsigned (#840)Matthieu Darbois
This will remove some conversion warnings
2016-09-14Fix some warnings (#838)Matthieu Darbois
Fix warnings introduced by uclouvain/openjpeg#786
2016-09-08Merge branch 'master' of https://github.com/uclouvain/openjpeg into ↵Even Rouault
tier1_optimizations_multithreading_2 Conflicts: src/lib/openjp2/t1.c
2016-09-06Change 'restrict' define to 'OPJ_RESTRICT' (#816)Matthieu Darbois
Visual Studio 2015 does not pass regression tests with `__restrict` so kept disabled for MSVC. Need to check proper usage of OPJ_RESTRICT (if correct then there’s probably a bug in vc14) Closes #661
2016-05-26Be robust to failed allocations of job structuresEven Rouault
2016-05-25Use thread-pool for T1 decodingEven Rouault
2016-05-23Fix MSVC210 build issue (use of C99 declaration after statement) introduced ↵Even Rouault
in ba1edf6cd41415594729bc90ad3b0008af48251e
2016-05-23Improve perf of opj_t1_dec_sigpass_mqc_vsc() and ↵Even Rouault
opj_t1_dec_refpass_mqc_vsc() with loop unrolling
2016-05-23Better inlining of opj_t1_updateflagscolflags() w.r.t. flags_strideEven Rouault
2016-05-23opj_t1_dec_clnpass(): remove useless test in the runlen decoding path (of ↵Even Rouault
the non VSC case)
2016-05-23opj_t1_decode_cblks(): tiny perf increase when loop unrollingEven Rouault
2016-05-23Tier 1 decoding: add a colflags arrayEven Rouault
Addition flag array such that colflags[1+0] is for state of col=0,row=0..3, colflags[1+1] for col=1, row=0..3, colflags[1+flags_stride] for col=0,row=4..7, ... This array avoids too much cache trashing when processing by 4 vertical samples as done in the various decoding steps.
2016-05-22Reduce number of occurrences of orient function argumentEven Rouault
This is essentially used to shift inside the lut_ctxno_zc, which we can precompute at the beginning of opj_t1_decode_cblk() / opj_t1_encode_cblk()
2016-05-21Specialize decoding passes for 64x64 code blocksEven Rouault
2016-05-21Improve code generation in opj_t1_dec_clnpass()Even Rouault
Add a opj_t1_dec_clnpass_step_only_if_flag_not_sig_visit() method that does the job of opj_t1_dec_clnpass_step_only() assuming the conditions are met. And use it in opj_t1_dec_clnpass(). The compiler generates more efficient code.
2016-05-21opj_t1_updateflags(): tiny optimizationEven Rouault
We can avoid using a loop-up table with some shift arithmetics.
2016-05-02Fix UBSan gcc warning for first arg to memset non nullJulien Malik
2016-04-30Merge pull request #706 from mayeut/issue135Antonin Descampe
Fix issue 135 The fix is legal regarding the standard but I did not manage to find out if it covers a bug in opj_t2_read_packet_data or if the file is corrupted
2016-04-29cppcheck fix for openjp2 (#740)julienmalik
2016-04-27Fix issue 135mayeut
dwt_interleave_h.gsr105.jp2 now has the same output as kakadu issue399 is corrupted. Only the corrupted part changes. Update known failures for x86 MD5 NR-DEC-kodak_2layers_lrcp.j2c-31-decode-md5 NR-DEC-kodak_2layers_lrcp.j2c-32-decode-md5 NR-DEC-issue135.j2k-68-decode-md5
2016-04-27Fix negative shift left reported by UBSan (#758)Matthieu Darbois
Follow-up of #757 This shall have no performance impact on 2’s complement machine where the compiler replaces the multiplication by power of two (constant) by a left shift. Verified at least on MacOS Xcode 7.3, same assembly generated after fix.
2016-04-26Fix negative shift left reported by UBSan (#757)Matthieu Darbois
This shall have no performance impact on 2’s complement machine where the compiler replaces the multiplication by power of two (constant) by a left shift. Verified at least on MacOS Xcode 7.3, same assembly generated after fix.
2015-07-18Add some missing staticmayeut
Still needs to check j2k.c & jp2.c Update uclouvain/openjpeg#243
2015-07-03various small T1 optimizationsAaron Boxer
2014-12-20[trunk] fixed a possible overflow in opj_t1_encode_cblks call to ↵Matthieu Darbois
opj_int_fix_mul (fixes issue 141)
2014-12-09[trunk] check number of components when getting mct norm (fixes issue 436)Antonin Descampe
2014-11-03[trunk] significantly reduces memory for single tile RGB encoding (fixesAntonin Descampe
issue 375)
2014-09-19added memory allocation checks (fixes issue 355)Antonin Descampe
2014-09-16[trunk] improve memory management (fixes issue 359)Antonin Descampe
2014-04-03[trunk] updated copyright and added copyright notice required by ISO, in ↵Antonin Descampe
each file; updated AUTHORS, NEWS
2014-03-10[trunk] Another round of fixes for sign conversion warnings.Mathieu Malaterre
Update issue 256
2014-03-07[trunk] Another round of fixes for sign conversion warnings.Mathieu Malaterre
Update issue 256
2014-03-03[trunk] Remove a simple warning about int -> float conversionMathieu Malaterre
2014-03-03[trunk] Remove deprecated functions.Mathieu Malaterre
Update issue 268
2012-11-16[trunk] add opj_ prefix to some internal define and use the new opj type ↵Mickael Savinaud
instead of int and float in some files
2012-11-15[trunk] use OPJ_INT32 instead of int in t2.cMickael Savinaud
2012-11-15[trunk] move opj_bool to OPJ_BOOL to follow the other typeMickael Savinaud
2012-11-13[trunk] remove warnings raised by flags -Wall -Wextra -pedantic and vs9 analyzerMickael Savinaud
2012-10-26[trunk] remove some warnings from -Wall -Wextra -pedanticMickael Savinaud
2012-10-26[trunk]remove some warnings raised by WallMickael Savinaud