summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/test_sparse_array.c
AgeCommit message (Collapse)Author
2017-09-01Optimize reading/write into sparse arrayEven Rouault
2017-09-01Fix compiler warning in release modeEven 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.