summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-01-09 15:57:06 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-01-10 15:46:04 +0100
commitb840e169b486850867f71faf0cdd30e329170f30 (patch)
tree30a4a0a38887cf39e0eeadc85a2dc8898fcf3276 /include
parent11c1803cddd6dee2f0b0c6e06b7a23fd4f8260e8 (diff)
downloadmupdf-b840e169b486850867f71faf0cdd30e329170f30.tar.xz
Refactor and fix hash lookups when decoding image subarea tiles.
The subarea rect used for lookups could mismatch the subarea returned by the get_pixmap function due to adjusting to whole bytes. Refactor and use a common subarea adjustment function. Many image formats which do not support subarea tiles will decode and cache the full image, so if a subarea tile cannot be found, look for the full image tile as well.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions