summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/sparse_array.h
AgeCommit message (Collapse)Author
2017-09-21Add missing newline at end of fileStefan Weil
This fixes warnings from the clang compiler: /openjpeg/src/lib/openjp2/sparse_array.h:141:32: warning: no newline at end of file [-Wnewline-eof] Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-09-01Optimize reading/write into sparse arrayEven Rouault
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.