aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CopyRectDecoder.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use uint8_t for data buffersPierre Ossman2023-03-181-2/+2
| | | | | These will always be byte streams at heart, so let's try to keep them with a proper type. Should make it clearer how they will be used.
* Explicitly mark unused parametersPierre Ossman2023-01-041-3/+6
| | | | | This allows us to separate accidentally unused, from explicitly unused parameters, which allows us to turn on such checks in the compiler.
* Be consistent in including config.hPierre Ossman2021-12-301-0/+5
| | | | | | 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.
* Change streams to be asynchronousPierre Ossman2020-05-211-1/+4
| | | | | | | | | | 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-4/+4
| | | | | | 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/+18
|
* Add flags member to decodersPierre Ossman2015-11-271-1/+1
| | | | | Allows us to add attributes later that affect of the decoder manager deals with the decoders.
* Split decoders into a read and decode stepPierre Ossman2015-11-271-5/+13
| | | | | | | | 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-5/+6
|
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-3/+2
| | | | | | | 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-4/+4
| | | | | | 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/+39
Avoids having to special case things. Keeps the code simpler.