diff options
author | John Brooks <john.brooks@dereferenced.net> | 2012-04-10 22:52:49 -0600 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-12 15:12:20 +0200 |
commit | 56ff31f0c17ff7c038028c1af6afb6eab5216bd6 (patch) | |
tree | 3cd4b5a4326b792f317241065fe839a9adfa19b3 /src/concurrent | |
parent | 011b88a7b37680288944bde2c4769fd203ee8218 (diff) |
Support more scaling factors for JPEG decompression
Since libjpeg 7, decompression scaling factors of [1,16]/8 have
been supported. Upscaling is slower, but using the entire range
of downscaling factors is significantly faster for sizes between
the power-of-two factors.
Time to decompress a 5184x3456 image and scale to 1900x1200,
slightly less than 3/8ths, changes from 251ms to 203ms.
libjpeg versions prior to 7 will round up to the next largest
factor they support, and continue to work as before.
Change-Id: I00a0655df2ef057e739927a643bfe0b0cabd5602
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: aavit <qt_aavit@ovi.com>
Diffstat (limited to 'src/concurrent')
0 files changed, 0 insertions, 0 deletions