summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/opj_includes.h
AgeCommit message (Collapse)Author
2023-09-24Require `stdint.h` & `inttypes.h`mayeut
With #1450 which goes with 480cc9d49775d018c19ce0e01f6be27858d63d39 "Remove support for non-C99 compilers (like VS2010) that don't support snprintf()", support for MSVC versions prior to vs2015 is dropped: https://stackoverflow.com/questions/2915672/snprintf-and-visual-studio-2010 This means that all supported MSVC versions do have `stdint.h` & `inttypes.h` now. For non windows platforms, those headers were already mandatory. Make them mandatory for all builds.
2017-09-01Sub-tile decoding: only allocate tile component buffer of the needed dimensionEven Rouault
Instead of being the full tile size. * Use a sparse array mechanism to store code-blocks and intermediate stages of IDWT. * IDWT, DC level shift and MCT stages are done just on that smaller array. * Improve copy of tile component array to final image, by saving an intermediate buffer. * For full-tile decoding at reduced resolution, only allocate the tile buffer to the reduced size, instead of the full-resolution size.
2017-06-20Enable __SSE__ / __SSE2__ with Visual StudioEven Rouault
2017-06-02MQC/RAW decoder: use an artificial 0xFF 0xFF terminating marker.Even Rouault
This saves comparing the current pointer with the end of buffer pointer. This results at least in tiny speed improvement for raw decoding, and smaller code size for MQC as well. This kills the remains of the raw.h/.c files that were only used for decoding. Encoding using the mqc structure already.
2017-05-15Reformat: apply reformattin on .h files (#128)Even Rouault
2016-09-14Fix some warnings (#838)Matthieu Darbois
Fix warnings introduced by uclouvain/openjpeg#786
2016-09-13Merge branch 'bit-fields-type' of https://github.com/smuehlst/openjpeg into ↵Antonin Descampe
smuehlst-bit-fields-type
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-07Moved type OPJ_BITFIELD from openjpeg.h to opj_includes.hStephan Mühlstrasser
OPJ_BITFIELD is used only in internal headers and must not appear in the public openjpeg.h header.
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-25Use thread-pool for T1 decodingEven Rouault
2016-05-25Add threading and thread pool APIEven Rouault
2016-04-28Fix unsigned int overflow reported by UBSan (#761)Matthieu Darbois
* Fix unsigned int overflow reported by UBSan Please add -DOPJ_UBSAN_BUILD to CFLAGS when building with -fsanitize=undefined,unsigned-integer-overflow It seems clang/gcc do not allow to disable checking for block of code other than function or file.
2016-04-23Do not define __attribute__ in opj_includes.h (#751)Matthieu Darbois
Fix #727
2015-07-30Remove printf/fprintf to stdout/stderr throughout openjp2 libmayeut
Update uclouvain/openjpeg#246
2015-07-27Use __emul under msvc x86 for fast 64 = 32 * 32mayeut
Update uclouvain/openjpeg#220
2015-07-26Fix ARM build with Visual Studiomayeut
2015-07-26Remove some warnings when buildingmayeut
Update #442
2015-07-24Remove some warnings when buildingmayeut
Update #442
2015-07-03fixed a few bugsAaron Boxer
2015-07-03visual studio lrintf is very slow - do not useAaron Boxer
2014-12-09[trunk] Fixed compilation error under Visual Studio 2003 (fixes issue 351)Matthieu Darbois
2014-04-03[trunk] updated copyright and added copyright notice required by ISO, in ↵Antonin Descampe
each file; updated AUTHORS, NEWS
2014-03-14[trunk] Move INLINE definition within openjpeg.h header since application ↵Mathieu Malaterre
may use it
2014-03-11[trunk] Rework fseek ifdefs blockers, it breaks the 64bits behavior for fseekoMathieu Malaterre
2014-03-07[trunk] Update memory management mecanismMathieu Malaterre
Fixes issue 253
2014-03-03[trunk] Avoid conflicting declarion for fseek in openjp2 vs fseek in openjpipMathieu Malaterre
2014-02-25[trunk] Import commit 87b08a096bb8ad61f9dbe4811e208d9c9d7fe63b from ghostpdlMathieu Malaterre
don't define lrintf for MSVC 2013 (fix compilation breakage) Update issue 225
2013-03-25[trunk] separate the opj_config file between public and private part to ↵Mickael Savinaud
avoid expose unused variables into the public API.
2013-03-13[trunk] use the opj_ prefix for the HAVE_FSEEKO variableMickael Savinaud
2012-11-15[trunk]update the copyright, the authors and thanks to respect the licenseMickael Savinaud
2012-10-25[trunk] rename opj_tcd_truct_v2 to opj_tcd_structMickael Savinaud
2012-10-25[trunk] remove jpt.c/.h which used functions not used by v2. The code is ↵Mickael Savinaud
always available in branch 1.5
2012-10-24[trunk] add the support of complex mct encoding when we setup the j2k encoderMickael Savinaud
2012-10-15[trunk]rename j2k_lib to opj_clock Mickael Savinaud
2012-10-05[trunk] First step in moving JPIP code out of openjp2Mathieu Malaterre
2012-10-05[trunk] rename int.h to opj_intmath.h and rename all its functions with opj_ ↵Mickael Savinaud
prefix
2012-10-05[trunk] move fix_mul inside int.h and remove fix.h from the projectMickael Savinaud
2012-09-28[trunk] Start FolderReorgProposal taskMathieu Malaterre
Update issue 177