]> source.dussan.org Git - tigervnc.git/commit
Converting to RGB might involve a precision increase
authorPierre Ossman <ossman@cendio.se>
Fri, 28 Feb 2014 10:54:34 +0000 (11:54 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 7 Jul 2014 11:21:35 +0000 (13:21 +0200)
commit6e5cd5db59b2ddd7dfa94248aa2631f63391d631
treecf7c0a7c7e5aababa5feccc218ab2c923c143179
parent6655d96dc475942f91af38a879627fd254a37c2e
Converting to RGB might involve a precision increase

Need to do more than a simple shift to get the appropriate
new value. This isn't quite as exact as a proper multiplication
and division, but the error is so small it's not worth the
extra cycles.
common/rfb/PixelFormat.cxx
common/rfb/PixelFormat.h
common/rfb/PixelFormat.inl