Patch by Callum Lerwick. This patch rearranges the largest memory allocations so...
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Wed, 14 Nov 2007 08:45:00 +0000 (08:45 +0000)
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Wed, 14 Nov 2007 08:45:00 +0000 (08:45 +0000)
commit24e189e4d8a231e7273d788b2bd77e2484cec761
tree48f57b8a816afa4b9bf6c6167a45eecfca91a778
parent61a15672bb980744297909e6dfe97b23c2430aea
Patch by Callum Lerwick. This patch rearranges the largest memory allocations so they're allocated as late as possible, and freed as soon as possible. This cuts memory usage by about half on two large test images.
ChangeLog
libopenjpeg/t1.c
libopenjpeg/t2.c
libopenjpeg/tcd.c