diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-09 18:35:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-09 18:35:36 +0000 |
commit | 575ceba24463a2211e8669f8d919d3c91385d72b (patch) | |
tree | de61b2c00c95f97b9e31ff38aae113702137a9b4 /tools | |
parent | 27924e6c9d43f0eba57d14004853d5a8ba47de26 (diff) | |
download | pdfium-575ceba24463a2211e8669f8d919d3c91385d72b.tar.xz |
Make memory usage in CJBig2_HTRDProc::DecodeImage() O(1).
Instead of allocating an N-pixel array to store some temporary values,
just use a single integer.
BUG=chromium:840728
Change-Id: I7a0ff83d814eff127033f25020a7c398db3c2062
Reviewed-on: https://pdfium-review.googlesource.com/32290
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions