1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Cosmetics

This commit is contained in:
Martin Tůma 2024-08-21 08:38:13 +02:00
parent 92bd37c481
commit 0d44663570

View File

@ -25,7 +25,7 @@ JLS::JLS(quint16 maxval, quint16 near)
_near = near;
_range = ((_maxval + _near * 2) / (_near * 2 + 1)) + 1;
_qbpp = ceil(log2(_range));
_qbpp = qCeil(log2(_range));
quint8 bpp = qMax(2, qCeil(log2(_maxval + 1)));
quint8 LIMIT = 2 * (bpp + qMax(8u, bpp));
_limit = LIMIT - _qbpp - 1;