summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qiodevice_p.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-07-06 17:11:59 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-07-23 07:43:01 +0000
commitb91f86a2128093ad7c65fa30b63ef87a9e55a4e0 (patch)
tree6c470a9871aa0d0d458c5cfab98bc41287bdae5c /src/corelib/io/qiodevice_p.h
parent529b1c9e2a7706cefb3763628b29ca500202026d (diff)
Improve accuracy in fast path bilinear sampling
Adds rounding before using the optimized low accuracy interpolation, this reduces the magnitude of error in the scaled result from ~4 bits to just 2 bits. Change-Id: Ie4e618bf5b1f4a74367aa419ebbd534cc6a846b3 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/corelib/io/qiodevice_p.h')
0 files changed, 0 insertions, 0 deletions