diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2019-09-20 11:20:00 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2019-10-09 22:30:15 +0200 |
commit | ab09c9dd9a93932feedbc99e9e965be5bc852c02 (patch) | |
tree | 9246caaec801aefadaefa7d968712016de963882 /src/3rdparty/libtiff/libtiff/tif_read.c | |
parent | cd646ff7e1990ddcd5438767fa7093131734c171 (diff) |
Tiff handler: Improve writing performance for some cases
For 1 byte deep formats, the writing routine went through the
copy-and-convert-in-chunks loop for no reason: no conversion was done
or needed.
For huge images of some formats, the chunk size computation could fail
because of int overflow, resulting in suboptimal chunk sizes.
Change-Id: I966351d9a8728987c9e885f4949d98ba94d4ac19
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/3rdparty/libtiff/libtiff/tif_read.c')
0 files changed, 0 insertions, 0 deletions