aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Encoder.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Use stdint typesPierre Ossman2023-02-011-12/+12
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Be consistent in including config.hPierre Ossman2021-12-301-0/+4
| | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* Allow perceptually lossless refreshPierre Ossman2018-09-211-2/+4
| | | | | | | | | | | Loosen the definition of "lossless" a bit so that we can use high quality JPEG to refresh damaged parts of the screen. Although this isn't bit perfect, it is close enough that most users will not be able to tell the difference. Level 9 is used rather than level 8 because some monitors have exaggerated contrast that allows the artefacts from level 8 to be noticeable.
* Change fillRect() to take a buffer instead of a pixelPierre Ossman2015-06-051-3/+1
| | | | | | | | There has been some confusion if fillRect() should accept a buffer or a pixel. This can cause misrendering if your data is not in the native endian order. A buffer makes more sense here though, and is what most of the callers are already assuming, so change the API to follow that.
* Reorder class initialiser list to match what actually happensPierre Ossman2015-03-031-2/+2
|
* Move image encoding logic into a central EncodeManager classPierre Ossman2014-07-141-34/+47
| | | | | | | | This allows us to apply a lot more server logic independently of which encoder is in use. Most of this class are things moved over from the Tight encoder.
* Encoders/decoders should track the connection objectPierre Ossman2014-07-071-8/+8
| | | | | | The connection object is a much more appropriate object for the decoders and encoders to keep track of. Besides the streams, it also contains state like connection parameters.
* Avoid reader/writer duplication in every encoder/decoderPierre Ossman2014-07-071-0/+5
|
* Get rid of the register mechanism for encoders and decodersPierre Ossman2014-07-071-38/+26
| | | | We have no use for it, so let's keep things simple.
* [Bugfix] Extend encoding range checks to handle negative encodings well.Adam Tkac2010-07-211-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4113 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate GCC signed/unsigned warnings related to encodings: ThePeter Åstrand2010-02-101-4/+4
| | | | | | | | | | | | encoding in the RFB protocol has always been signed, and signed values are also used in the specification (ie DesktopName = -307 etc). In the code, however, unsigned types were used in a number of places, but not all, which causes warnings. This patch fixes the problem by switching to signed values everywhere. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3968 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+77
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519