Pierre Ossman
b14a6bc1aa
Split out ServerParams from ConnParams
We need to track different things in the server and client, so
separate things to two independent structures to keep things more
clear.
5 years ago
Pierre Ossman
1bbe02ba8b
Properly handle depth > 24 in ZRLE decoder
7 years ago
Pierre Ossman
1349e42e39
Fix temporary decoder buffer sizes
Some of these were excessively large because of redundant factors
in the size calculation.
7 years ago
Pierre Ossman
a862add9b5
Decode rectangles in order if needed
Some encodings must be handled in the order they are received.
Make sure we respect this in the decode manager.
8 years ago
Pierre Ossman
570cd5c478
Add flags member to decoders
Allows us to add attributes later that affect of the decoder
manager deals with the decoders.
8 years ago
Pierre Ossman
80b4209b54
Split decoders into a read and decode step
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.
8 years ago
Pierre Ossman
8635062c07
Decouple decoders from CConnection
8 years ago
Pierre Ossman
0c9bd4b0ba
Use PixelBuffer objects as the interface for encoders and decoders
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.
9 years ago
Pierre Ossman
668468b3d4
Encoders/decoders should track the connection object
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.
10 years ago
Pierre Ossman
bcc295e5a6
Get rid of unnecessary macros as they are only ever set to a single thing
10 years ago
Pierre Ossman
7b5c069d2e
Push encoding specific formats into the encoders and decoders
Keep the generic stream classes clean and general.
10 years ago
Pierre Ossman
4aba19e287
Avoid reader/writer duplication in every encoder/decoder
10 years ago
Pierre Ossman
316a32498b
Get rid of the register mechanism for encoders and decoders
We have no use for it, so let's keep things simple.
10 years ago
Pierre Ossman
67b2b2fa7f
Consolidate pixel conversion into the PixelFormat class and optimise the
common cases.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3636 3789f03b-4d11-0410-bbf8-ca57d06f2519
15 years ago
Constantin Kaplinsky
a2adc8d4cf
Migrating to new directory structure adopted from the RealVNC's source tree. More changes will follow.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519
18 years ago
Constantin Kaplinsky
de179d4ed7
The "rfb" library merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@522 3789f03b-4d11-0410-bbf8-ca57d06f2519
18 years ago
Constantin Kaplinsky
47ed8d321c
Initial revision
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2 3789f03b-4d11-0410-bbf8-ca57d06f2519
19 years ago