aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CopyRectDecoder.h
Commit message (Collapse)AuthorAgeFilesLines
* Change streams to be asynchronousPierre Ossman2020-05-211-1/+1
| | | | | | | | | | Major restructuring of how streams work. Neither input nor output streams are now blocking. This avoids stalling the rest of the client or server when a peer is slow or unresponsive. Note that this puts an extra burden on users of streams to make sure they are allowed to do their work once the underlying transports are ready (e.g. monitoring fds).
* Split out ServerParams from ConnParamsPierre Ossman2018-11-011-3/+3
| | | | | | We need to track different things in the server and client, so separate things to two independent structures to keep things more clear.
* Decode overlapping rectangles in orderPierre Ossman2015-11-271-0/+3
|
* Split decoders into a read and decode stepPierre Ossman2015-11-271-1/+4
| | | | | | | | We need to split these steps up in preparation for multi-core support. Reading needs to be done in a serial manner, whilst decoding can be done in parallel. This also involved a rather large cleanup of the Tight decoder.
* Decouple decoders from CConnectionPierre Ossman2015-11-271-2/+3
|
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-1/+1
| | | | | | | This avoid a lot of unnecessary middle men. This also pushes the responsibility for pixel format conversion into the encoders and decoders. The new bufferFromBuffer() is used for direct conversion, rather than PixelTransformer/TransImageGetter.
* Encoders/decoders should track the connection objectPierre Ossman2014-07-071-1/+1
| | | | | | 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.
* Handle CopyRect like any other encodingPierre Ossman2014-07-071-0/+32
Avoids having to special case things. Keeps the code simpler.