]> source.dussan.org Git - tigervnc.git/commit
The Tight encoder uses the pixel buffer as a scratch pad, which doesn't
authorPierre Ossman <ossman@cendio.se>
Mon, 30 Jan 2012 13:58:44 +0000 (13:58 +0000)
committerPierre Ossman <ossman@cendio.se>
Mon, 30 Jan 2012 13:58:44 +0000 (13:58 +0000)
commit311a2b47cb39567953dad8170b63f3bb4eb7639e
tree1abe5ee007ec2791fda7d7fd400e82b3c5d41310
parent654e3f906c7e1467f4ec7af06382aa1f4662964a
The Tight encoder uses the pixel buffer as a scratch pad, which doesn't
work so well with the new optimisation to feed it the raw frame buffer.
Reorganise and clean up the code to handle this, and make the raw frame
buffer pointer const so that we might avoid such bugs in the future.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4841 3789f03b-4d11-0410-bbf8-ca57d06f2519
common/rfb/TightEncoder.cxx
common/rfb/TightEncoder.h
common/rfb/TransImageGetter.cxx
common/rfb/TransImageGetter.h
common/rfb/tightEncode.h