summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/sparse_array.c
AgeCommit message (Collapse)Author
2022-01-18Fix potential overflow related issues spotted by LGTM code analysis (#1402)Eric Harvey
2017-09-19Workaroudn cppcheck (correct) warning about same code in then and else branchesEven Rouault
2017-09-19Replace C++ style comments by C onesEven Rouault
2017-09-19Replace C++ style comments by C onesEven Rouault
2017-09-19Fix warnings and errors when compiling with a c++ compiler (#1021)Even Rouault
2017-09-04Replace uses of size_t by OPJ_SIZE_TEven Rouault
2017-09-01sparse_array: optimizations for lossy caseEven Rouault
2017-09-01Sub-tile decoding: speed up vertical pass in IDWT5x3 by processing 4 cols at ↵Even Rouault
a time
2017-09-01Optimize reading/write into sparse arrayEven Rouault
2017-09-01Various changes to allow tile buffers of more than 4giga pixelsEven Rouault
Untested though, since that means a tile buffer of at least 16 GB. So there might be places where uint32 overflow on multiplication still occur...
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.